xronos-sdk 0.2.0
Xronos C++ SDK
 
Loading...
Searching...
No Matches
xronos::sdk::Startup Class Referencefinal

An event that triggers when the program starts executing. More...

#include <xronos/sdk/startup.hh>

Inheritance diagram for xronos::sdk::Startup:
[legend]

Public Member Functions

 Startup (std::string_view name, ReactorContext context)
 Construct a new Startup object.
 
- Public Member Functions inherited from xronos::sdk::Element
auto name () const noexcept -> const std::string &
 The name of the current element.
 
auto fqn () const noexcept -> const std::string &
 The fully qualified name of the current element.
 
- Public Member Functions inherited from xronos::sdk::EventSource< void >
virtual ~EventSource ()=default
 Correct deletion of an instance of a derived class is permitted.
 
virtual ~EventSource ()=default
 Correct deletion of an instance of a derived class is permitted.
 

Detailed Description

An event that triggers when the program starts executing.

Constructor & Destructor Documentation

◆ Startup()

xronos::sdk::Startup::Startup ( std::string_view name,
ReactorContext context )

Construct a new Startup object.

Parameters
nameThe name of the startup event.
contextThe current reactor's initialization context, which can be obtained using the Reactor::context method.

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