Common System 0.2.0
Common interfaces and patterns for system integration
Loading...
Searching...
No Matches
kcenon::common::detail Namespace Reference

Classes

struct  event_type_id
 Generate unique type ID for each event type using std::type_index. More...
 

Functions

constexpr int get_event_bus_abi_version ()
 Get the ABI version of the event_bus implementation.
 

Variables

constexpr int event_bus_abi_version = 1
 

Function Documentation

◆ get_event_bus_abi_version()

int kcenon::common::detail::get_event_bus_abi_version ( )
inlineconstexpr

Get the ABI version of the event_bus implementation.

This function is used to detect ABI incompatibilities at link time. The ABI version ensures that all linked modules use the same event_bus implementation, preventing subtle runtime errors.

Returns
The ABI version number (currently 1 for standalone implementation)

Definition at line 469 of file event_bus.h.

469 {
471 }
constexpr int event_bus_abi_version
Definition event_bus.h:51

References event_bus_abi_version.

Referenced by kcenon::common::verify_event_bus_abi().

Here is the caller graph for this function:

Variable Documentation

◆ event_bus_abi_version

int kcenon::common::detail::event_bus_abi_version = 1
constexpr

Definition at line 51 of file event_bus.h.

Referenced by get_event_bus_abi_version().