QP/C Framework component shall provide Event abstraction to QP/C Application
Description
The QP/C Framework component shall define a common Event abstraction, so that it can be instantiated, exchanged, and correctly interpreted by both the QP/C Application and QP/C Framework component.
Forward Traceability (truncated to 2 level(s))
Each event instance shall contain the event Signal.
Description
The event Signal carries the information about the occurrence that generated the given event instance. The Signal needs to be easily accessible to the QP/C Application to determine how to handle a given event.
Forward Traceability (truncated to 2 level(s))
QP/C Framework component shall allow up to 64K (65536) event signals.
Description
QP/C Framework component shall provide 64K signals (2 bytes of memory per event signal).
Forward Traceability (truncated to 2 level(s))
QP/C Framework component may reserve some signals for its internal use
Description
QP/C Framework component may need some reserved signals to implement features inside hierarchical state machines. The reserved signals shall have the lowest numerical values.
Forward Traceability (truncated to 2 level(s))
QP/C Framework component shall provide the lowest numerical value of signals allowed in the Application
Description
To avoid conflicts around any reserved event signals, QP/C Framework component shall provide the lowest numerical limit for Application-level signals. In other words, the reserved signals will have numerical values 0 .. (SIGNAL_OFFSET - 1), and the Application-level signals will have values SIGNAL_OFFSET .. SIGNAL_DYNAMIC_RANGE.
Forward Traceability (truncated to 2 level(s))
QP/C Framework component shall allow Application to create event instances with Parameters defined by the Application
Description
The Event abstraction shall provide a mechanism for QP/C Application to define event parameters useful for the QP/C Application, and then to create event instances with these parameters.
Forward Traceability (truncated to 2 level(s))
Event abstraction may contain other data items for internal event management inside QP/C Framework component
Description
Event management in the QP/C Framework component might require additional information to be stored inside each event instance. Please see Event Memory Management for requirements related to event management inside the QP/C Framework component.
Forward Traceability (truncated to 2 level(s))
QP/C Framework component may be compile-time configurable to allow customized initialization on event instances
Description
When such initialization is configured, QP/C Framework component shall invoke the custom initialization upon instantiation of a dynamic event.
Forward Traceability (truncated to 2 level(s))