RTC Toolkit 5.0.0
|
Public Member Functions | |
MyCommandRequestor (const elt::mal::Uri &uri, std::optional< std::chrono::milliseconds > timeout=std::nullopt) | |
![]() | |
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 | |
![]() | |
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. | |
|
inlineexplicit |