inc/ecu/event.h Source File
|
ECU
|
event.h
Go to the documentation of this file.
116 };
size_t ecu_event_size(const struct ecu_event *me)
Returns the size (number of bytes) of the derived event.
int32_t ecu_event_id_t
Event ID type. Used so the library can implicitly typecast between this value, ecu_reserved_event_ids...
Definition: event.h:128
ecu_reserved_event_ids
Event IDs reserved for ECU library. This scheme allows the library and users to uniquely define their...
Definition: event.h:101
void ecu_event_ctor(struct ecu_event *me, ecu_event_id_t id, size_t size)
Constructs an ecu_event at run-time.
Base event class. Custom event data is stored by inheriting this class.
Definition: event.h:142
size_t size
Number of bytes of derived event. Allows for easier handling. I.e. reading and writing events to queu...
Definition: event.h:148
Generated by