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

Event Type used to signal that a computation has started. More...

#include <eventDefinitions.hpp>

Inheritance diagram for rtctk::componentFramework::ComputationStartedEvent:
rtctk::componentFramework::ComputationEvent rtctk::componentFramework::AbstractEvent

Public Member Functions

 ComputationStartedEvent (std::string const &origin, std::string const &item)
 
 ComputationStartedEvent (JsonPayload const &payload)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::ComputationEvent
 ComputationEvent (std::string const &origin, std::string const &item, std::string const &state)
 
 ComputationEvent (std::string const &origin, std::string const &item)
 
 ComputationEvent (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
 

Additional Inherited Members

- Public Attributes inherited from rtctk::componentFramework::ComputationEvent
std::string item
 
std::string state
 
- Public Attributes inherited from rtctk::componentFramework::AbstractEvent
std::string origin
 
uint64_t time
 
- Static Public Attributes inherited from rtctk::componentFramework::ComputationEvent
static const std::string TOPIC_NAME = "computation_topic"
 

Detailed Description

Event Type used to signal that a computation has started.

Constructor & Destructor Documentation

◆ ComputationStartedEvent() [1/2]

rtctk::componentFramework::ComputationStartedEvent::ComputationStartedEvent ( std::string const &  origin,
std::string const &  item 
)
inline

◆ ComputationStartedEvent() [2/2]

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

Member Function Documentation

◆ ToJson()

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

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