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

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

#include <eventDefinitions.hpp>

Inheritance diagram for rtctk::componentFramework::AbstractEvent:
rtctk::componentFramework::AlertStatusEvent rtctk::componentFramework::ComputationEvent rtctk::componentFramework::ConfigurationEvent rtctk::componentFramework::CoordinationEvent rtctk::componentFramework::ComputationFinishedEvent rtctk::componentFramework::ComputationStartedEvent rtctk::componentFramework::ConfigurationRetrievedEvent rtctk::componentFramework::ConfigurationUpdatedEvent rtctk::componentFramework::HrtcConfigurationAppliedEvent rtctk::componentFramework::HrtcConfigurationScheduledEvent rtctk::componentFramework::StateChangedEvent rtctk::componentFramework::HrtcStateChangedEvent

Public Member Functions

 AbstractEvent ()=delete
 
 AbstractEvent (JsonPayload const &payload)
 
 AbstractEvent (std::string const &origin)
 
JsonPayload ToJson () const
 

Public Attributes

std::string origin
 
uint64_t time
 

Detailed Description

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

Cannot be published or subscribed, only for code reuse

Constructor & Destructor Documentation

◆ AbstractEvent() [1/3]

rtctk::componentFramework::AbstractEvent::AbstractEvent ( )
delete

◆ AbstractEvent() [2/3]

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

◆ AbstractEvent() [3/3]

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

Member Function Documentation

◆ ToJson()

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

Member Data Documentation

◆ origin

std::string rtctk::componentFramework::AbstractEvent::origin

◆ time

uint64_t rtctk::componentFramework::AbstractEvent::time

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