Public Member Functions | |
FooService (DDS::rpc::ServiceParams ¶ms) | |
virtual unsigned char | op1 (const int param)=0 |
virtual int | op2 ()=0 |
Public Member Functions inherited from DDS::rpc::example::Foo | |
Foo () | |
Public Member Functions inherited from DDS::rpc::ServiceEndpoint | |
ServiceEndpoint () | |
Default constructor. | |
template<class TReq > | |
dds_type_traits< TReq >::DataReader | get_request_datareader () const |
Access the DataReader that is used to accept incoming TReq requests. | |
template<class TRep > | |
dds_type_traits< TRep >::DataWriter | get_reply_datawriter () const |
Access the DataWriter that is used to send outgoing TRep replies. | |
void | pause () |
Pause the operation of the ServiceEndpoint. More... | |
void | resume () |
Resume the operation of the ServiceEndpoint. More... | |
ServiceStatus | status () const |
Access the current status of the ServiceEndpoint. | |
ServiceParams | get_service_params () const |
Access the ServiceParams defining the configuration of this ServiceEndpoint. | |
Public Member Functions inherited from DDS::rpc::RPCEntity | |
void | close () |
Release the underlying resources including any DDS entities. More... | |
bool | is_null () const |
Indicates if the entity has been 'closed'. More... | |
Data type generated to provide a Client interface to the Foo service.
The FooService instantiates the underlying %DDS entities and makes the service discoverable. Every Service inherits from ServiceEndpoint and the service specific class, in this case, Foo. A Service may belong to only one Server.
Associated IDL:
@service
interface Foo {
boolean op1( long param );
long op2( );
};
DDS::rpc::example::FooService::FooService | ( | DDS::rpc::ServiceParams & | params | ) |
Construct with ServiceParams configuration
|
pure virtual |
Foo::op1() the application must derive from this class and provide an implementation of this method.
Implements DDS::rpc::example::Foo.
|
pure virtual |
Foo::op1() the application must derive from this class and provide an implementation of this method.
Implements DDS::rpc::example::Foo.