RTC Toolkit
2.0.0
|
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. More... | |
virtual | ~CommandRequestor ()=default |
std::string | SendCommandSync (std::string const &id, std::string const &args) |
Send synchronous command to a component. More... | |
elt::mal::future< std::string > | SendCommandAsync (std::string const &id, std::string const &args) |
Send asynchronous command to a component. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from rtctk::componentFramework::CommandRequestor | |
template<typename T > | |
std::unique_ptr< T > | MakeInterface (std::string const &name) |
Make a new MAL interface. More... | |
void | RegisterCommand (std::string const &id, std::function< elt::mal::future< std::string >(std::string const &)> fun) |
Register a new command. More... | |
|
inline |