gusimplewhiteboard
wb_fsm_control_status Struct Reference

Finite State Machine Control and Status information. More...

#include <wb_fsm_control_status.h>

Inheritance diagram for wb_fsm_control_status:
Collaboration diagram for wb_fsm_control_status:

Public Member Functions

 ARRAY_PROPERTY (uint8_t, fsms,(sizeof(gu_simple_message))) wb_fsm_control_status(guWhiteboard
 bit vector of FSMs and command More...
 

Detailed Description

Finite State Machine Control and Status information.

This is implemented as a bit vector with an enum for control and one bit per FSM and controlled by the following macros:

CONTROLSTATUS_SET_CMD(s, cmd) issue cmd for the given fsms CONTROLSTATUS_CLR_FSM(s, fsm) ignore fsm for the above command CONTROLSTATUS_SET_FSM(s, fsm) include fsm in the above command CONTROLSTATUS_GET_FSM(s, fsm) check if fsm is included in cmd/status

Definition at line 110 of file wb_fsm_control_status.h.

Member Function Documentation

◆ ARRAY_PROPERTY()

wb_fsm_control_status::ARRAY_PROPERTY ( uint8_t  ,
fsms  ,
(sizeof(gu_simple_message))   
)
inline

bit vector of FSMs and command

convenience constructor: clears all commands and FSMs

Definition at line 113 of file wb_fsm_control_status.h.

References CONTROLSTATUS_SET_CMD.


The documentation for this struct was generated from the following file: