CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::rpc::example::FooService Struct Referenceabstract
Inheritance diagram for DDS::rpc::example::FooService:
DDS::rpc::example::Foo DDS::rpc::ServiceEndpoint DDS::rpc::RPCEntity

Public Member Functions

 FooService (DDS::rpc::ServiceParams &params)
 
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...
 

Detailed Description

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(  );
       };

Constructor & Destructor Documentation

DDS::rpc::example::FooService::FooService ( DDS::rpc::ServiceParams params)

Construct with ServiceParams configuration

Member Function Documentation

virtual unsigned char DDS::rpc::example::FooService::op1 ( const int  param)
pure virtual

Foo::op1() the application must derive from this class and provide an implementation of this method.

Implements DDS::rpc::example::Foo.

virtual int DDS::rpc::example::FooService::op2 ( )
pure virtual

Foo::op1() the application must derive from this class and provide an implementation of this method.

Implements DDS::rpc::example::Foo.


© 2009-2017 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.