Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::events::module_started_event Struct Reference

Event published when a module starts. More...

#include <event_bus.h>

Collaboration diagram for kcenon::common::events::module_started_event:
Collaboration graph

Public Member Functions

 module_started_event (const std::string &name)
 

Public Attributes

std::string module_name
 
std::chrono::steady_clock::time_point timestamp
 

Detailed Description

Event published when a module starts.

Definition at line 506 of file event_bus.h.

Constructor & Destructor Documentation

◆ module_started_event()

kcenon::common::events::module_started_event::module_started_event ( const std::string & name)
inline

Definition at line 510 of file event_bus.h.

511 : module_name(name),
512 timestamp(std::chrono::steady_clock::now()) {}
std::chrono::steady_clock::time_point timestamp
Definition event_bus.h:508

Member Data Documentation

◆ module_name

std::string kcenon::common::events::module_started_event::module_name

Definition at line 507 of file event_bus.h.

◆ timestamp

std::chrono::steady_clock::time_point kcenon::common::events::module_started_event::timestamp

Definition at line 508 of file event_bus.h.


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