Public Member Functions | |
ClientEndpoint () | |
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... | |
A ClientEndpoint provides functions to obtain the underlying DDS entities at the client side. ClientEndpoint inherits from ServiceProxy. A ClientEndpoint shall not be instantiated directly; it can be obtained from a Client object.