An event that triggers when the program starts executing. More...
#include <xronos/sdk/startup.hh>
Public Member Functions | |
Startup (std::string_view name, ReactorContext context) | |
Construct a new Startup object. | |
![]() | |
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. | |
![]() | |
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. | |
An event that triggers when the program starts executing.
xronos::sdk::Startup::Startup | ( | std::string_view | name, |
ReactorContext | context ) |
Construct a new Startup
object.
name | The name of the startup event. |
context | The current reactor's initialization context, which can be obtained using the Reactor::context method. |