RTC Toolkit
2.0.0
|
Class used to subscribe to state-changed-topic using MAL. More...
#include <stateSubscriber.hpp>
Public Types | |
using | Callback = std::function< void(double time, const std::string &name, const std::string &state)> |
Public Member Functions | |
StateSubscriber (const elt::mal::Uri &uri, Callback on_state_change) | |
StateSubscriber (const std::vector< elt::mal::Uri > &uri_list, Callback on_state_change) | |
StateSubscriber (const StateSubscriber &other)=delete | |
StateSubscriber & | operator= (const StateSubscriber &other)=delete |
StateSubscriber (StateSubscriber &&other)=default | |
StateSubscriber & | operator= (StateSubscriber &&other)=default |
virtual | ~StateSubscriber ()=default |
Class used to subscribe to state-changed-topic using MAL.
using rtctk::componentFramework::StateSubscriber::Callback = std::function<void(double time, const std::string& name, const std::string& state)> |
rtctk::componentFramework::StateSubscriber::StateSubscriber | ( | const elt::mal::Uri & | uri, |
Callback | on_state_change | ||
) |
rtctk::componentFramework::StateSubscriber::StateSubscriber | ( | const std::vector< elt::mal::Uri > & | uri_list, |
Callback | on_state_change | ||
) |
|
delete |
|
default |
|
virtualdefault |
|
delete |
|
default |