|
RTC Toolkit 5.1.0
|
Abstract Event Type that is used as a base for computation events. More...
#include <rtctk/componentFramework/eventDefinitions.hpp>
Public Member Functions | |
| ComputationEvent ()=default | |
| ComputationEvent (const std::string &origin, const std::string &item, const std::string &state) | |
| ComputationEvent (const std::string &origin, const std::string &item) | |
| ComputationEvent (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 | item |
| std::string | state |
Public Attributes inherited from rtctk::componentFramework::AbstractEvent | |
| std::string | origin |
| TimeString | time |
Static Public Attributes | |
| static const std::string | TOPIC_NAME = "computation_topic" |
Abstract Event Type that is used as a base for computation events.
|
default |
| rtctk::componentFramework::ComputationEvent::ComputationEvent | ( | const std::string & | origin, |
| const std::string & | item, | ||
| const std::string & | state ) |
| rtctk::componentFramework::ComputationEvent::ComputationEvent | ( | const std::string & | origin, |
| const std::string & | item ) |
|
explicit |
| JsonPayload rtctk::componentFramework::ComputationEvent::ToJson | ( | ) | const |
| std::string rtctk::componentFramework::ComputationEvent::item |
| std::string rtctk::componentFramework::ComputationEvent::state |
|
inlinestatic |