RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rtctk::componentFramework::ComputationStartedEvent Struct Reference

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

#include <rtctk/componentFramework/eventDefinitions.hpp>

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

Public Member Functions

 ComputationStartedEvent ()=default
 
 ComputationStartedEvent (const std::string &origin, const std::string &item)
 
 ComputationStartedEvent (const JsonPayload &j)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::ComputationEvent
 ComputationEvent ()=default
 
 ComputationEvent (const std::string &origin, const std::string &item, const std::string &state)
 
 ComputationEvent (const std::string &origin, const std::string &item)
 
 ComputationEvent (const JsonPayload &j)
 
JsonPayload ToJson () const
 
- Public Member Functions inherited from rtctk::componentFramework::AbstractEvent
 AbstractEvent ()=default
 
virtual ~AbstractEvent ()=default
 
 AbstractEvent (const std::string &origin)
 
 AbstractEvent (const std::string &origin, const TimeString &time)
 
 AbstractEvent (const JsonPayload &j)
 
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
 
TimeString 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/3]

rtctk::componentFramework::ComputationStartedEvent::ComputationStartedEvent ( )
default

◆ ComputationStartedEvent() [2/3]

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

◆ ComputationStartedEvent() [3/3]

rtctk::componentFramework::ComputationStartedEvent::ComputationStartedEvent ( const JsonPayload & j)
explicit

Member Function Documentation

◆ ToJson()

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

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