RTC Toolkit 5.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MyCommandRequestor Class Reference
Inheritance diagram for MyCommandRequestor:
rtctk::componentFramework::CommandRequestor

Public Member Functions

 MyCommandRequestor (const elt::mal::Uri &uri, std::optional< std::chrono::milliseconds > timeout=std::nullopt)
 
- Public Member Functions inherited from rtctk::componentFramework::CommandRequestor
 CommandRequestor (const elt::mal::Uri &uri, std::optional< std::chrono::milliseconds > timeout=std::nullopt)
 Create a new CommandRequestor object.
 
virtual ~CommandRequestor ()=default
 
std::string SendCommandSync (const std::string &id, const std::string &args)
 Send synchronous command to a component.
 
elt::mal::future< std::string > SendCommandAsync (const std::string &id, const std::string &args)
 Send asynchronous command to a component.
 

Additional Inherited Members

- Protected Member Functions inherited from rtctk::componentFramework::CommandRequestor
template<typename T >
std::unique_ptr< T > MakeInterface (const std::string &name)
 Make a new MAL interface.
 
void RegisterCommand (const std::string &id, std::function< elt::mal::future< std::string >(const std::string &)> fun)
 Register a new command.
 

Constructor & Destructor Documentation

◆ MyCommandRequestor()

MyCommandRequestor::MyCommandRequestor ( const elt::mal::Uri & uri,
std::optional< std::chrono::milliseconds > timeout = std::nullopt )
inlineexplicit

The documentation for this class was generated from the following file: