Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
33671334
Commit
33671334
authored
Jul 29, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use UniSetTypes::getObjectType for fix getType function
parent
3eef75a2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
IOController.h
include/IOController.h
+1
-1
IONotifyController.h
include/IONotifyController.h
+1
-1
InfoServer.h
include/InfoServer.h
+1
-1
ObjectsActivator.h
include/ObjectsActivator.h
+1
-1
ObjectsManager.h
include/ObjectsManager.h
+1
-1
SystemGuard.h
include/SystemGuard.h
+1
-1
UniSetObject.h
include/UniSetObject.h
+1
-1
No files found.
include/IOController.h
View file @
33671334
...
...
@@ -47,7 +47,7 @@ class IOController:
IOController
(
UniSetTypes
::
ObjectId
id
);
~
IOController
();
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"IOController"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"IOController"
)
;
}
virtual
CORBA
::
Boolean
getState
(
const
IOController_i
::
SensorInfo
&
si
);
virtual
CORBA
::
Long
getValue
(
const
IOController_i
::
SensorInfo
&
si
);
...
...
include/IONotifyController.h
View file @
33671334
...
...
@@ -52,7 +52,7 @@ class IONotifyController:
virtual
~
IONotifyController
();
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"IONotifyController"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"IONotifyController"
)
;
}
virtual
void
askSensor
(
const
IOController_i
::
SensorInfo
&
si
,
const
UniSetTypes
::
ConsumerInfo
&
ci
,
UniversalIO
::
UIOCommand
cmd
);
virtual
void
askState
(
const
IOController_i
::
SensorInfo
&
si
,
const
UniSetTypes
::
ConsumerInfo
&
ci
,
UniversalIO
::
UIOCommand
cmd
);
...
...
include/InfoServer.h
View file @
33671334
...
...
@@ -85,7 +85,7 @@ class InfoServer:
InfoServer
(
UniSetTypes
::
ObjectId
id
=
UniSetTypes
::
DefaultObjectId
,
ISRestorer
*
d
=
0
);
virtual
~
InfoServer
();
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"InfoServer"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"InfoServer"
)
;
}
// IDL
...
...
include/ObjectsActivator.h
View file @
33671334
...
...
@@ -59,7 +59,7 @@ class ObjectsActivator:
inline
void
oakill
(
int
signo
){
raise
(
signo
);}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"ObjectsActivator"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"ObjectsActivator"
)
;
}
protected
:
...
...
include/ObjectsManager.h
View file @
33671334
...
...
@@ -65,7 +65,7 @@ class ObjectsManager:
virtual
~
ObjectsManager
();
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"ObjectsManager"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"ObjectsManager"
)
;
}
// ------ (IDL) ------
virtual
void
broadcast
(
const
UniSetTypes
::
TransportMessage
&
msg
);
...
...
include/SystemGuard.h
View file @
33671334
...
...
@@ -52,7 +52,7 @@ class SystemGuard:
virtual
void
oaDestroy
(
int
signo
=
0
);
virtual
UniSetTypes
::
SimpleInfo
*
getInfo
();
virtual
UniSetTypes
::
ObjectType
getType
(){
return
"SystemGuard"
;
}
virtual
UniSetTypes
::
ObjectType
getType
(){
return
UniSetTypes
::
getObjectType
(
"SystemGuard"
)
;
}
protected
:
...
...
include/UniSetObject.h
View file @
33671334
...
...
@@ -76,7 +76,7 @@ class UniSetObject:
virtual
CORBA
::
Boolean
exist
();
virtual
char
*
getName
(){
return
(
char
*
)
myname
.
c_str
();}
virtual
UniSetTypes
::
ObjectId
getId
(){
return
myid
;
}
virtual
UniSetTypes
::
ObjectType
getType
()
{
static
UniSetTypes
::
ObjectType
ot
(
"UniSetObject"
);
return
ot
;
}
virtual
UniSetTypes
::
ObjectType
getType
()
{
return
UniSetTypes
::
getObjectType
(
"UniSetObject"
)
;
}
virtual
UniSetTypes
::
SimpleInfo
*
getInfo
();
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
UniSetObject
&
obj
);
...
...
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