RTC Toolkit  2.0.0
Public Member Functions | Static Public Attributes | List of all members
rtctk::componentFramework::CoordinationEvent Struct Reference

Abstract Event Type that is used as a base for coordination events. More...

#include <eventDefinitions.hpp>

Inheritance diagram for rtctk::componentFramework::CoordinationEvent:
rtctk::componentFramework::AbstractEvent rtctk::componentFramework::StateChangedEvent rtctk::componentFramework::HrtcStateChangedEvent

Public Member Functions

 CoordinationEvent (std::string const &origin)
 
 CoordinationEvent (JsonPayload const &payload)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::AbstractEvent
 AbstractEvent ()=delete
 
 AbstractEvent (JsonPayload const &payload)
 
 AbstractEvent (std::string const &origin)
 
JsonPayload ToJson () const
 

Static Public Attributes

static const std::string TOPIC_NAME = "coordination_topic"
 

Additional Inherited Members

- Public Attributes inherited from rtctk::componentFramework::AbstractEvent
std::string origin
 
uint64_t time
 

Detailed Description

Abstract Event Type that is used as a base for coordination events.

Constructor & Destructor Documentation

◆ CoordinationEvent() [1/2]

rtctk::componentFramework::CoordinationEvent::CoordinationEvent ( std::string const &  origin)
inline

◆ CoordinationEvent() [2/2]

rtctk::componentFramework::CoordinationEvent::CoordinationEvent ( JsonPayload const &  payload)
inline

Member Function Documentation

◆ ToJson()

JsonPayload rtctk::componentFramework::CoordinationEvent::ToJson ( ) const
inline

Member Data Documentation

◆ TOPIC_NAME

const std::string rtctk::componentFramework::CoordinationEvent::TOPIC_NAME = "coordination_topic"
inlinestatic

The documentation for this struct was generated from the following file: