RKH
|
Macros for tracing the active object execution. More...
Macros | |
#define | RKH_TR_SMA_ACT(actObj_, actObjPrio_, actObjQueSize_) |
Initializes and activates a previously created state machine application (SMA) as known as active object. More... | |
#define | RKH_TR_SMA_TERM(actObj_, actObjPrio_) |
Terminate a state machine application (SMA) as known as active object. More... | |
#define | RKH_TR_SMA_GET(actObj_, evt_, poolID_, refCntr_, nElem_, nMin_) |
Get an event from the active object's queue. More... | |
#define | RKH_TR_SMA_FIFO(actObj_, evt_, sender_, poolID_, refCntr_, nElem_, nMin_) |
Send an event to a state machine application (SMA) as known as active object through a queue using the FIFO policy. A message is a pointer size variable and its use is application specific. More... | |
#define | RKH_TR_SMA_LIFO(actObj_, evt_, sender_, poolID_, refCntr_, nElem_, nMin_) |
Send an event to a state machine application (SMA) as known as active object through a queue using the LIFO policy. A message is a pointer size variable and its use is application specific. More... | |
#define | RKH_TR_SMA_REG(actObj_, actObjPrio_) |
Registers a state machine application (SMA) as known as active object into the framework, which implies to store a pointer to the SMA in the priority table. More... | |
#define | RKH_TR_SMA_UNREG(actObj_, actObjPrio_) |
Removes the SMA as known as active object from the priority table, and thus from the framework, by simply replacing the link to the SMA being deleted with a NULL pointer. More... | |
#define | RKH_TR_SMA_DEFER(queue_, evt_) |
Defer an event to a given separate event queue. More... | |
#define | RKH_TR_SMA_RCALL(actObj_, evt_) |
Recall a deferred event from a given event queue. More... | |
Macros for tracing the active object execution.
#define RKH_TR_SMA_ACT | ( | actObj_, | |
actObjPrio_, | |||
actObjQueSize_ | |||
) |
Initializes and activates a previously created state machine application (SMA) as known as active object.
[in] | actObj_ | Active object |
[in] | actObjPrio_ | Active object priority |
[in] | actObjQueSize_ | Size of active object queue |
Definition at line 308 of file rkhtrc_record.h.
#define RKH_TR_SMA_TERM | ( | actObj_, | |
actObjPrio_ | |||
) |
Terminate a state machine application (SMA) as known as active object.
[in] | actObj_ | Active object |
[in] | actObjPrio_ | Active object priority |
Definition at line 327 of file rkhtrc_record.h.
#define RKH_TR_SMA_GET | ( | actObj_, | |
evt_, | |||
poolID_, | |||
refCntr_, | |||
nElem_, | |||
nMin_ | |||
) |
Get an event from the active object's queue.
[in] | actObj_ | Get an event from the active object queue |
[in] | evt_ | Event signal |
[in] | poolID_ | Pool ID (for dynamic events) |
[in] | refCntr_ | Reference count (for dynamic events) |
[in] | nElem_ | Number of elements currently in the queue |
[in] | nMin_ | Minimum number of free elements ever in this queue |
Definition at line 352 of file rkhtrc_record.h.
#define RKH_TR_SMA_FIFO | ( | actObj_, | |
evt_, | |||
sender_, | |||
poolID_, | |||
refCntr_, | |||
nElem_, | |||
nMin_ | |||
) |
Send an event to a state machine application (SMA) as known as active object through a queue using the FIFO policy. A message is a pointer size variable and its use is application specific.
[in] | actObj_ | Active object |
[in] | evt_ | Event signal |
[in] | sender_ | Event sender |
[in] | poolID_ | Pool ID (for dynamic events) |
[in] | refCntr_ | Reference count (for dynamic events) |
[in] | nElem_ | Number of elements currently in the queue |
[in] | nMin_ | Minimum number of free elements ever in this queue |
Definition at line 382 of file rkhtrc_record.h.
#define RKH_TR_SMA_LIFO | ( | actObj_, | |
evt_, | |||
sender_, | |||
poolID_, | |||
refCntr_, | |||
nElem_, | |||
nMin_ | |||
) |
Send an event to a state machine application (SMA) as known as active object through a queue using the LIFO policy. A message is a pointer size variable and its use is application specific.
[in] | actObj_ | Active object |
[in] | evt_ | Event signal |
[in] | sender_ | Event sender |
[in] | poolID_ | Pool ID (for dynamic events) |
[in] | refCntr_ | Reference count (for dynamic events) |
[in] | nElem_ | Number of elements currently in the queue |
[in] | nMin_ | Minimum number of free elements ever in this queue |
Definition at line 414 of file rkhtrc_record.h.
#define RKH_TR_SMA_REG | ( | actObj_, | |
actObjPrio_ | |||
) |
Registers a state machine application (SMA) as known as active object into the framework, which implies to store a pointer to the SMA in the priority table.
[in] | actObj_ | Active object |
[in] | actObjPrio_ | Active object priority |
Definition at line 439 of file rkhtrc_record.h.
#define RKH_TR_SMA_UNREG | ( | actObj_, | |
actObjPrio_ | |||
) |
Removes the SMA as known as active object from the priority table, and thus from the framework, by simply replacing the link to the SMA being deleted with a NULL pointer.
[in] | actObj_ | Active object |
[in] | actObjPrio_ | Active object priority |
Definition at line 457 of file rkhtrc_record.h.
#define RKH_TR_SMA_DEFER | ( | queue_, | |
evt_ | |||
) |
Defer an event to a given separate event queue.
[in] | queue_ | Target queue to store deferred event |
[in] | evt_ | Event |
Definition at line 475 of file rkhtrc_record.h.
#define RKH_TR_SMA_RCALL | ( | actObj_, | |
evt_ | |||
) |
Recall a deferred event from a given event queue.
[in] | actObj_ | Active object |
[in] | evt_ | Event |
Definition at line 492 of file rkhtrc_record.h.