|
RTC Toolkit 5.1.0
|
Event Type used to signal that some entity changed its state. More...
#include <rtctk/componentFramework/eventDefinitions.hpp>
Public Member Functions | |
| StateChangedEvent ()=default | |
| StateChangedEvent (const std::string &origin, const std::string &entity, const std::string &state) | |
| StateChangedEvent (const std::string &origin, const std::string &state) | |
| StateChangedEvent (const JsonPayload &j) | |
| JsonPayload | ToJson () const |
Public Member Functions inherited from rtctk::componentFramework::CoordinationEvent | |
| CoordinationEvent ()=default | |
| CoordinationEvent (const std::string &origin) | |
| CoordinationEvent (const JsonPayload &j) | |
| JsonPayload | ToJson () const |
Public Member Functions inherited from rtctk::componentFramework::AbstractEvent | |
| AbstractEvent ()=default | |
| virtual | ~AbstractEvent ()=default |
| AbstractEvent (const std::string &origin) | |
| AbstractEvent (const std::string &origin, const TimeString &time) | |
| AbstractEvent (const JsonPayload &j) | |
| JsonPayload | ToJson () const |
Public Attributes | |
| std::string | entity |
| std::string | state |
Public Attributes inherited from rtctk::componentFramework::AbstractEvent | |
| std::string | origin |
| TimeString | time |
Additional Inherited Members | |
Static Public Attributes inherited from rtctk::componentFramework::CoordinationEvent | |
| static const std::string | TOPIC_NAME = "coordination_topic" |
Event Type used to signal that some entity changed its state.
|
default |
| rtctk::componentFramework::StateChangedEvent::StateChangedEvent | ( | const std::string & | origin, |
| const std::string & | entity, | ||
| const std::string & | state ) |
| rtctk::componentFramework::StateChangedEvent::StateChangedEvent | ( | const std::string & | origin, |
| const std::string & | state ) |
|
explicit |
| JsonPayload rtctk::componentFramework::StateChangedEvent::ToJson | ( | ) | const |
| std::string rtctk::componentFramework::StateChangedEvent::entity |
| std::string rtctk::componentFramework::StateChangedEvent::state |