Orocos Real-Time Toolkit  2.9.0
ServiceRequester.idl
Go to the documentation of this file.
1 #ifndef ORO_CORBA_SERVICE_REQUESTER_IDL
2 #define ORO_CORBA_SERVICE_REQUESTER_IDL
3 
4 #ifdef CORBA_IS_TAO
5 //resolves LNK2005
6 #include <tao/orb.idl>
7 #endif
8 #include "Service.idl"
9 
10 module RTT
11 {
12  module corba
13  {
14 
15  typedef sequence<string> CRequestNames;
16  typedef sequence<string> COperationCallerNames;
17 
18  interface CServiceRequester;
20  typedef sequence<CServiceRequester> CServiceRequesters;
21  typedef sequence<CServiceRequesterDescription> CServiceRequesterDescriptions;
22 
28  {
29  string name;
30  COperationCallerNames operationcallernames;
31 
32  CServiceRequesters children;
33  CServiceRequesterDescriptions children_descriptions;
34  };
35 
42  {
46  string getRequestName();
47 
52  CServiceRequesterDescription getCServiceRequesterDescription();
53 
57  CRequestNames getRequestNames( );
58 
62  COperationCallerNames getOperationCallerNames();
63 
67  CServiceRequester getRequest( in string name );
68 
72  boolean hasRequest( in string name );
73 
77  boolean connectTo( in CService svc);
78 
83  boolean connectCallerTo( in string name, in CService svc);
84 
89  boolean ready();
90 
95  boolean disconnectCaller( in string name );
96 
101  boolean callerReady( in string name );
102 
106  void disconnect();
107  };
108 
109  };
110 };
111 #endif
sequence< string > COperationCallerNames
sequence< CServiceRequester > CServiceRequesters
sequence< CServiceRequesterDescription > CServiceRequesterDescriptions
An Orocos Required Service.
An Orocos Service which hosts operations, attributes and properties.
Definition: Service.idl:44
CServiceRequesterDescriptions children_descriptions
Complete description of a ServiceRequester.
sequence< string > CRequestNames
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:52