RTI Connext Modern C++ API  Version 6.1.0

<<reference-type>> Allows client applications to make remote function calls More...

#include <ClientEndpoint.hpp>

Inheritance diagram for rpc_example::RobotControlClient:
rpc_example::RobotControl rpc_example::RobotControlAsync dds::rpc::ClientEndpoint< Request, Reply > dds::core::Reference< detail::ClientEndpointImpl< Request, Reply > >

Additional Inherited Members

- Public Types inherited from dds::rpc::ClientEndpoint< Request, Reply >
using RequestType = Request
 The type used to make function calls. More...
 
using ReplyType = Reply
 The type used to receive the results of function calls. More...
 
- Public Member Functions inherited from rpc_example::RobotControl
virtual Coordinates walk_to (const Coordinates &destination, float speed)=0
 An IDL interface method defined in RobotControl. More...
 
virtual float get_speed ()=0
 An IDL interface method defined in RobotControl. More...
 
virtual ~RobotControl ()
 An empty virtual destructor. More...
 
- Public Member Functions inherited from rpc_example::RobotControlAsync
virtual std::future< Coordinates > walk_to_async (const Coordinates &destination, float speed)=0
 An IDL interface method defined in RobotControl. More...
 
virtual std::future< float > get_speed_async ()=0
 An IDL interface method defined in RobotControl. More...
 
virtual ~RobotControlAsync ()
 An empty virtual destructor. More...
 
- Public Member Functions inherited from dds::rpc::ClientEndpoint< Request, Reply >
 ClientEndpoint (const ClientParams &params)
 Creates a new ClientEndpoint. More...
 
void close ()
 Destroyes the underlying requester and other resources. More...
 
bool closed () const
 Whether this instance has been closed already. More...
 
void wait_for_service (const dds::core::Duration &maxWait)
 Waits for one or more services to be discovered. More...
 
void wait_for_service ()
 Waits for one or more services to be discovered for an unlimited period of time. More...
 
dds::pub::DataWriter< RequestTyperequest_datawriter () const
 Accesses the underlying DataWriter that sends the requests (function calls) More...
 
dds::sub::DataReader< ReplyTypereply_datareader () const
 Accesses the underlying DataReader that receives the replies (return values from the function calls) More...
 

Detailed Description

<<reference-type>> Allows client applications to make remote function calls

This class implements the RobotControl and RobotControlAsync interfaces to make remote function calls. It also inherits from RobotControlClientEndpoint, which manages the DDS entities required to make those function calls.