Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
adcb2872
Commit
adcb2872
authored
Jan 31, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test prints removed
parent
799eeecf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
wb/exp/wb/src/wb_provider.cpp
wb/exp/wb/src/wb_provider.cpp
+14
-14
No files found.
wb/exp/wb/src/wb_provider.cpp
View file @
adcb2872
/*
/*
* Proview $Id: wb_provider.cpp,v 1.
5 2005-11-02 15:42:38
claes Exp $
* Proview $Id: wb_provider.cpp,v 1.
6 2006-01-31 09:11:25
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -141,59 +141,59 @@ void wb_procom::dispatch( vext_sQMsg *qmsg)
...
@@ -141,59 +141,59 @@ void wb_procom::dispatch( vext_sQMsg *qmsg)
{
{
switch
(
qmsg
->
Any
.
Type
)
{
switch
(
qmsg
->
Any
.
Type
)
{
case
vext_eMsgType_Object
:
case
vext_eMsgType_Object
:
printf
(
"Object
\n
"
);
//
printf( "Object\n");
m_provider
->
object
(
this
);
m_provider
->
object
(
this
);
break
;
break
;
case
vext_eMsgType_ObjectOid
:
case
vext_eMsgType_ObjectOid
:
printf
(
"ObjectOid %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "ObjectOid %d\n", qmsg->Oid.Oix);
m_provider
->
objectOid
(
this
,
qmsg
->
Oid
.
Oix
);
m_provider
->
objectOid
(
this
,
qmsg
->
Oid
.
Oix
);
break
;
break
;
case
vext_eMsgType_ObjectBody
:
case
vext_eMsgType_ObjectBody
:
printf
(
"ObjectBody %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "ObjectBody %d\n", qmsg->Oid.Oix);
m_provider
->
objectBody
(
this
,
qmsg
->
Oid
.
Oix
);
m_provider
->
objectBody
(
this
,
qmsg
->
Oid
.
Oix
);
break
;
break
;
case
vext_eMsgType_ObjectName
:
case
vext_eMsgType_ObjectName
:
printf
(
"ObjectName %s
\n
"
,
qmsg
->
ObjectName
.
Name
);
//
printf( "ObjectName %s\n", qmsg->ObjectName.Name);
m_provider
->
objectName
(
this
,
qmsg
->
ObjectName
.
Name
);
m_provider
->
objectName
(
this
,
qmsg
->
ObjectName
.
Name
);
break
;
break
;
case
vext_eMsgType_CreateObject
:
case
vext_eMsgType_CreateObject
:
printf
(
"CreateObject %s
\n
"
,
qmsg
->
CreateObject
.
Name
);
//
printf( "CreateObject %s\n", qmsg->CreateObject.Name);
m_provider
->
createObject
(
this
,
qmsg
->
CreateObject
.
DestOix
,
qmsg
->
CreateObject
.
DestType
,
m_provider
->
createObject
(
this
,
qmsg
->
CreateObject
.
DestOix
,
qmsg
->
CreateObject
.
DestType
,
qmsg
->
CreateObject
.
Cid
,
qmsg
->
CreateObject
.
Name
);
qmsg
->
CreateObject
.
Cid
,
qmsg
->
CreateObject
.
Name
);
break
;
break
;
case
vext_eMsgType_MoveObject
:
case
vext_eMsgType_MoveObject
:
printf
(
"MoveObject %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "MoveObject %d\n", qmsg->Oid.Oix);
m_provider
->
moveObject
(
this
,
qmsg
->
MoveObject
.
Oix
,
qmsg
->
MoveObject
.
DestOix
,
m_provider
->
moveObject
(
this
,
qmsg
->
MoveObject
.
Oix
,
qmsg
->
MoveObject
.
DestOix
,
qmsg
->
MoveObject
.
DestType
);
qmsg
->
MoveObject
.
DestType
);
break
;
break
;
case
vext_eMsgType_CopyObject
:
case
vext_eMsgType_CopyObject
:
printf
(
"CopyObject %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "CopyObject %d\n", qmsg->Oid.Oix);
m_provider
->
copyObject
(
this
,
qmsg
->
CopyObject
.
Oix
,
qmsg
->
CopyObject
.
DestOix
,
m_provider
->
copyObject
(
this
,
qmsg
->
CopyObject
.
Oix
,
qmsg
->
CopyObject
.
DestOix
,
qmsg
->
CopyObject
.
DestType
,
qmsg
->
CopyObject
.
Name
);
qmsg
->
CopyObject
.
DestType
,
qmsg
->
CopyObject
.
Name
);
break
;
break
;
case
vext_eMsgType_DeleteObject
:
case
vext_eMsgType_DeleteObject
:
printf
(
"DeleteObject %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "DeleteObject %d\n", qmsg->Oid.Oix);
m_provider
->
deleteObject
(
this
,
qmsg
->
DeleteObject
.
Oix
);
m_provider
->
deleteObject
(
this
,
qmsg
->
DeleteObject
.
Oix
);
break
;
break
;
case
vext_eMsgType_DeleteFamily
:
case
vext_eMsgType_DeleteFamily
:
printf
(
"DeleteFamily %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "DeleteFamily %d\n", qmsg->Oid.Oix);
m_provider
->
deleteFamily
(
this
,
qmsg
->
DeleteFamily
.
Oix
);
m_provider
->
deleteFamily
(
this
,
qmsg
->
DeleteFamily
.
Oix
);
break
;
break
;
case
vext_eMsgType_RenameObject
:
case
vext_eMsgType_RenameObject
:
printf
(
"RenameObject %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "RenameObject %d\n", qmsg->Oid.Oix);
m_provider
->
renameObject
(
this
,
qmsg
->
RenameObject
.
Oix
,
qmsg
->
RenameObject
.
Name
);
m_provider
->
renameObject
(
this
,
qmsg
->
RenameObject
.
Oix
,
qmsg
->
RenameObject
.
Name
);
break
;
break
;
case
vext_eMsgType_WriteAttr
:
case
vext_eMsgType_WriteAttr
:
printf
(
"WriteAttr %d
\n
"
,
qmsg
->
Oid
.
Oix
);
//
printf( "WriteAttr %d\n", qmsg->Oid.Oix);
m_provider
->
writeAttribute
(
this
,
qmsg
->
WriteAttr
.
Oix
,
qmsg
->
WriteAttr
.
Offset
,
m_provider
->
writeAttribute
(
this
,
qmsg
->
WriteAttr
.
Oix
,
qmsg
->
WriteAttr
.
Offset
,
qmsg
->
WriteAttr
.
Size
,
qmsg
->
WriteAttr
.
Buffer
);
qmsg
->
WriteAttr
.
Size
,
qmsg
->
WriteAttr
.
Buffer
);
break
;
break
;
case
vext_eMsgType_Commit
:
case
vext_eMsgType_Commit
:
printf
(
"Commit
\n
"
);
//
printf( "Commit\n");
m_provider
->
commit
(
this
);
m_provider
->
commit
(
this
);
break
;
break
;
case
vext_eMsgType_Abort
:
case
vext_eMsgType_Abort
:
printf
(
"Abort
\n
"
);
//
printf( "Abort\n");
m_provider
->
abort
(
this
);
m_provider
->
abort
(
this
);
break
;
break
;
default:
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment