/** hsmCommunicator_submach.h This file automatically generated by FSMLang */ #ifndef _HSMCOMMUNICATOR_SUBMACH_H_ #define _HSMCOMMUNICATOR_SUBMACH_H_ #include "hsmCommunicator.h" /* Sub Machine Declarations */ typedef enum { establishSession_e , hsmCommunicator_firstSubMachine = establishSession_e , sendMessage_e , hsmCommunicator_numSubMachines } HSM_COMMUNICATOR_SUB_MACHINES; typedef HSM_COMMUNICATOR_EVENT (*HSM_COMMUNICATOR_SUB_MACHINE_FN)(HSM_COMMUNICATOR_EVENT); typedef struct _hsmCommunicator_sub_fsm_if_ HSM_COMMUNICATOR_SUB_FSM_IF, *pHSM_COMMUNICATOR_SUB_FSM_IF; struct _hsmCommunicator_sub_fsm_if_ { HSM_COMMUNICATOR_EVENT first_event; HSM_COMMUNICATOR_EVENT last_event; HSM_COMMUNICATOR_SUB_MACHINE_FN subFSM; }; #endif