Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::concepts::ModuleLifecycleEvent Concept Referenceexport

An event type representing module lifecycle changes. More...

#include <event.h>

Concept definition

template<typename T>
An event type representing module lifecycle changes.
Definition event.h:198
An event type that includes a module or source name.
Definition event.h:134
An event type that includes a timestamp.
Definition event.h:113

Detailed Description

An event type representing module lifecycle changes.

These events include module name and timestamp, used for tracking module startup and shutdown.

Example usage:

template<ModuleLifecycleEvent E>
void track_lifecycle(const E& event) {
lifecycle_tracker.record(event.module_name, event.timestamp);
}

Definition at line 198 of file event.h.