RTI Connext Modern C++ API  Version 6.1.2
rpc_example::RobotControlAsync Class Referenceabstract

The asynchronous interface derived from the RobotControl service. More...

#include <ServiceEndpoint.hpp>

Inheritance diagram for rpc_example::RobotControlAsync:
rpc_example::RobotControlClient

Public Member Functions

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...
 

Detailed Description

The asynchronous interface derived from the RobotControl service.

RobotControlClient implements this interface to make asynchronous remote function calls.

This interface is not implemented on the server side.

Constructor & Destructor Documentation

◆ ~RobotControlAsync()

virtual rpc_example::RobotControlAsync::~RobotControlAsync ( )
inlinevirtual

An empty virtual destructor.

Member Function Documentation

◆ walk_to_async()

virtual std::future<Coordinates> rpc_example::RobotControlAsync::walk_to_async ( const Coordinates &  destination,
float  speed 
)
pure virtual

An IDL interface method defined in RobotControl.

Parameters
destinationAn input argument
speedAn input argument
Returns
The future return value

◆ get_speed_async()

virtual std::future<float> rpc_example::RobotControlAsync::get_speed_async ( )
pure virtual

An IDL interface method defined in RobotControl.