![]() |
CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
Public Member Functions | |
| FooClient (DDS::rpc::ClientParams ¶ms) | |
| unsigned char | op1 (const int param) |
| int | op2 () |
Public Member Functions inherited from DDS::rpc::example::Foo | |
| Foo () | |
Public Member Functions inherited from DDS::rpc::ClientEndpoint | |
| ClientEndpoint (const DDS::Duration_t &tout) | |
| Default constructor. | |
| template<class TReq > | |
| dds_type_traits< TReq >::DataWriter | get_request_datawriter () const |
| Access the DataWriter used to send TReq requests. | |
| template<class TRep > | |
| dds_type_traits< TRep >::DataReader | get_reply_datareader () const |
| Access the DataReader used to receive TRep replies. | |
| DDS::rpc::ClientParams | get_client_params () |
| Access the ClientParams defining the configuration of this ClientEndpoint. | |
Public Member Functions inherited from DDS::rpc::ServiceProxy | |
| void | bind (const std::string &instance_name) |
| Bind the ServiceProxy to service(s) with the provided 'instance_name'. More... | |
| void | unbind () |
| Undo any previous 'bind()' operation. More... | |
| bool | is_bound () const |
| Indicates if the ServiceProxy is currently bound to a particular instance_name. | |
| std::string | get_bound_instance_name () const |
| Provides the instance_name to which the ServiceProxy is currently bound. | |
| std::vector< std::string > | get_discoverd_service_instances () const |
| Access a list of instance_names that have been discovered by the ServiceProxy. More... | |
| std::vector< std::string > | get_discovered_service_instances () const |
| Access a list of instance_names that have been discovered by the ServiceProxy. More... | |
| uint32_t | get_discovered_service_count () const |
| Access the number of service instances that have been discovered by the ServiceProxy. More... | |
| void | wait_for_service () |
| Block until any service is discovered. | |
| ReturnCode_t | wait_for_service (const DDS::Duration_t &maxWait) |
| Block up to 'maxWait' until any service is discovered. More... | |
| void | wait_for_service (std::string instanceName) |
| Wait for a service with matching 'instanceName' to be discovered. | |
| ReturnCode_t | wait_for_service (const DDS::Duration_t &maxWait, std::string instanceName) |
| Block up to 'maxWait' until a service matching 'instanceNmae' is discovered. More... | |
| void | wait_for_services (uint32_t count) |
| Block until at least 'count' services have been discovered. | |
| ReturnCode_t | wait_for_services (const DDS::Duration_t &maxWait, uint32_t count) |
| Block until at least 'count' services have been discovered or 'maxWait' time elapses. More... | |
| void | wait_for_services (const std::vector< std::string > &instanceNames) |
| Block until discovering a service for each of the listed 'instanceNames'. | |
| ReturnCode_t | wait_for_services (const DDS::Duration_t &maxWait, const std::vector< std::string > &instanceNames) |
| Block until discovering a service for each of the listed 'instanceNames', or 'maxWait' elapses. More... | |
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.
This object derives from Foo and ClientEndpoint.
Associated IDL:
@service
interface Foo {
boolean op1( long param );
long op2( );
};
| DDS::rpc::example::FooClient::FooClient | ( | DDS::rpc::ClientParams & | params | ) |
Construct with ClientParams configuration
|
virtual |
Foo::op1() implementation that will publish the appropriate Request and handle the Reply.
Implements DDS::rpc::example::Foo.
|
virtual |
Foo::op1() implementation that will publish the appropriate Request and handle the Reply.
Implements DDS::rpc::example::Foo.