.. _pilot.event_t: pilot.event_t ============= .. cpp:namespace:: pilot::event_t Struct ------ `event_t` describes an event, without an attached timestamp. The fields ``module``, ``code_type`` and ``code`` uniquely define a specific event type that can occur. Fields ------ .. cpp:member:: event_type_e type Event type, see :ref:`pilot.event_type_e`. .. cpp:member:: string module Module name that generated the event. .. cpp:member:: string code_type Type name for the ``code`` field, usually the enum type name. For example: ``pilot.safety_code_e``. .. cpp:member:: string code Event code, usually an enum value. For example: ``EMERGENCY_STOP``.