FW Profile - C1 Implementation
SmBaseDesc_t Struct Reference

Structure representing the base descriptor of a state machine. More...

Data Fields

SmPState_tpStates
 array holding the proper states in the state machine
 
SmCState_tcStates
 array holding the choice pseudo-states in the state machine
 
SmTrans_ttrans
 array holding the transitions in the state machine
 
FwSmCounterS1_t nOfPStates
 the number of states in the state machine
 
FwSmCounterS1_t nOfCStates
 the number of choice pseudo-states in the state machine
 
FwSmCounterS1_t nOfTrans
 the number of transitions in SM
 

Detailed Description

Structure representing the base descriptor of a state machine.

The base descriptor holds the information which is not changed when the state machine is extended. This consists of:

  • The list of states in the state machine (array pStates)
  • The list of choice pseudo-states in the state machine (array cStates)
  • The list of transitions in the state machine (array trans)

Array pStates holds the proper states in the state machine. The proper states are identified by an integer in the range [1,N] (N is the total number of proper states). The i-th state is stored in the (i-1)-th location of pStates. The number of states is stored in field nOfPStates.

Array cStates holds the choice pseudo-states in the state machine. The choice pseudo-states are identified by an integer in the range [1,M] (M is the total number of choice pseudo-states). The i-th choice pseudo-state is stored in the (i-1)-th location of cStates. The number of choice pseudo-states is stored in field nOfCStates.

Array trans holds the transitions in the state machine. The transition out of the initial pseudo-state is stored in the first location of array trans. The other transitions are stored in groups of adjacent locations where each group holds the transitions out of the same state or choice pseudo-state (see also SmPState_t and SmPState_t). The number of transitions is stored in field nOfTrans.

Definition at line 235 of file FwSmPrivate.h.


The documentation for this struct was generated from the following file:
P&P Software GmbH, Copyright 2011, All Rights Reserved