/**************************************************************************** Template header file for Hierarchical Sate Machines AKA StateCharts ****************************************************************************/ #ifndef T_Searching_H #define T_Searching_H // State definitions for use with the query function typedef enum { RotatingS, DelayS, DrivingS, ClosingGateS, CoastingS } SearchingState; // Public Function Prototypes ES_Event_t RunSearchingSM(ES_Event_t CurrentEvent); void StartSearchingSM(ES_Event_t CurrentEvent); SearchingState QuerySearchingSM(void); bool EventCheckPeriod(void); #endif /*T_Searching_H */