You are on page 1of 1

/****************************************************************************

Template header file for Hierarchical Sate Machines AKA StateCharts


02/08/12 adjsutments for use with the Events and Services Framework Gen2
3/17/09 Fixed prototpyes to use Event_t
****************************************************************************/

#ifndef DefenseSM_H
#define DefenseSM_H

// typedefs for the states


// State definitions for use with the query function
typedef enum { DefDrive4Offset, Look4Opp, Drive2Opp, DefAct } DefenseState_t ;

// Public Function Prototypes


ES_Event_t RunDefenseSM ( ES_Event_t CurrentEvent );
void StartDefenseSM ( ES_Event_t CurrentEvent );
DefenseState_t QueryDefenseSM ( void );

#endif /*DefenseSM_H */

You might also like