RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
eventDefinitions.hpp File Reference

Framework-provided event definitions. More...

#include <rtctk/componentFramework/jsonPayload.hpp>
#include <rtctk/componentFramework/timeString.hpp>
#include <boost/core/demangle.hpp>
#include <chrono>
#include <set>

Go to the source code of this file.

Classes

struct  rtctk::componentFramework::AbstractEvent
 Abstract Event Type that is used as a base for all events. More...
 
struct  rtctk::componentFramework::ComputationEvent
 Abstract Event Type that is used as a base for computation events. More...
 
struct  rtctk::componentFramework::ComputationStartedEvent
 Event Type used to signal that a computation has started. More...
 
struct  rtctk::componentFramework::ComputationFinishedEvent
 Event Type used to signal that a computation has finished. More...
 
struct  rtctk::componentFramework::ConfigurationEvent
 Abstract Event Type that is used as a base for configuration events. More...
 
struct  rtctk::componentFramework::ConfigurationEvent::Item
 Represents a single configuration item. More...
 
struct  rtctk::componentFramework::ConfigurationUpdatedEvent
 Event Type used to signal that configuration data items were updated in RTR. More...
 
struct  rtctk::componentFramework::ConfigurationRetrievedEvent
 Event Type used to signal that configuration data items were retrieved from RTR. More...
 
struct  rtctk::componentFramework::HrtcConfigurationScheduledEvent
 Event Type used to signal that configuration data items were scheduled to be applied in HRTC. More...
 
struct  rtctk::componentFramework::HrtcConfigurationAppliedEvent
 Event Type used to signal that configuration data items were applied in HRTC. More...
 
struct  rtctk::componentFramework::CoordinationEvent
 Abstract Event Type that is used as a base for coordination events. More...
 
struct  rtctk::componentFramework::StateChangedEvent
 Event Type used to signal that some entity changed its state. More...
 
struct  rtctk::componentFramework::HrtcStateChangedEvent
 Event Type used to signal that some entity in HRTC changed its state. More...
 
struct  rtctk::componentFramework::AlertStatusEvent
 Event published when alert status is changed. More...
 
struct  rtctk::componentFramework::AlertStatusEvent::Alert
 Represents an active alert originating from a component instance. More...
 

Namespaces

namespace  rtctk
 
namespace  rtctk::componentFramework
 

Functions

template<typename T >
std::string rtctk::componentFramework::PrettyTypeName ()
 
template<typename EventType >
bool rtctk::componentFramework::ConvertibleTo (const JsonPayload &j)
 Helper to check if JsonPayload is convertible to a certain EventType.
 
template<typename EventType >
std::optional< EventTypertctk::componentFramework::ConvertTo (const JsonPayload &j)
 Helper to convert to certain EventType if possible.
 
void rtctk::componentFramework::to_json (JsonPayload &j, const AbstractEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, AbstractEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ComputationEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ComputationEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ComputationStartedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ComputationStartedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ComputationFinishedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ComputationFinishedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ConfigurationEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ConfigurationEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ConfigurationUpdatedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ConfigurationUpdatedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const ConfigurationRetrievedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, ConfigurationRetrievedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const HrtcConfigurationScheduledEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, HrtcConfigurationScheduledEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const HrtcConfigurationAppliedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, HrtcConfigurationAppliedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const CoordinationEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, CoordinationEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const StateChangedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, StateChangedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const HrtcStateChangedEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, HrtcStateChangedEvent &e)
 
void rtctk::componentFramework::to_json (JsonPayload &j, const AlertStatusEvent &e)
 
void rtctk::componentFramework::from_json (const JsonPayload &j, AlertStatusEvent &e)
 

Detailed Description

Framework-provided event definitions.