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

Event Type used to signal that some entity in HRTC changed its state. More...

#include <eventDefinitions.hpp>

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

Public Member Functions

 HrtcStateChangedEvent (std::string const &origin, std::string const &entity, std::string const &state, uint64_t hrtc_timestamp, uint64_t hrtc_sample_id)
 
 HrtcStateChangedEvent (JsonPayload const &payload)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::StateChangedEvent
 StateChangedEvent (std::string const &origin, std::string const &entity, std::string const &state)
 
 StateChangedEvent (std::string const &origin, std::string const &state)
 
 StateChangedEvent (JsonPayload const &payload)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::CoordinationEvent
 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
 

Public Attributes

uint64_t hrtc_timestamp
 
uint64_t hrtc_sample_id
 
- Public Attributes inherited from rtctk::componentFramework::StateChangedEvent
std::string entity
 
std::string state
 
- Public Attributes inherited from rtctk::componentFramework::AbstractEvent
std::string origin
 
uint64_t time
 

Additional Inherited Members

- Static Public Attributes inherited from rtctk::componentFramework::CoordinationEvent
static const std::string TOPIC_NAME = "coordination_topic"
 

Detailed Description

Event Type used to signal that some entity in HRTC changed its state.

Constructor & Destructor Documentation

◆ HrtcStateChangedEvent() [1/2]

rtctk::componentFramework::HrtcStateChangedEvent::HrtcStateChangedEvent ( std::string const &  origin,
std::string const &  entity,
std::string const &  state,
uint64_t  hrtc_timestamp,
uint64_t  hrtc_sample_id 
)
inline

◆ HrtcStateChangedEvent() [2/2]

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

Member Function Documentation

◆ ToJson()

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

Member Data Documentation

◆ hrtc_sample_id

uint64_t rtctk::componentFramework::HrtcStateChangedEvent::hrtc_sample_id

◆ hrtc_timestamp

uint64_t rtctk::componentFramework::HrtcStateChangedEvent::hrtc_timestamp

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