#include <Fwc/fw_Event.h>
#include "../result/exampleSimpleStates.h"

#define __DEBUG_entryprintf_States_Fwc__

typedef struct ExampleSimpleData_t
{

  bool offAfterRunning;

  bool on_cont, on_ready, off, start, abort;
  
  bool bit_a, bit_b;

  int counter;
  
  int work;
  
  int out;

  /**The timer. */
  int timer;

  /**Parameter for timeout of State Running. */
  int delay;

  State_ExampleSimpleData state;

  EventQueueSimple_Fwc eventQueue;

} ExampleSimpleData;


typedef enum Event_ExampleSimple_t
{
  kStart_Event_ExampleSimple = 0x0001

} Event_ExampleSimple;


typedef enum ETrans_States_Fwc_t
{
  mEventConsumed_States_Fwc = 0x01
, mTransit_States_Fwc = 0x2
, mStateEntered_States_Fwc = 0x4
, mRunToComplete_States_Fwc = 0x10
} ETrans_States_Fwc;



/**Prototypes for the generated stepStates method: */
void stepStateTimer_State_ExampleSimpleData( ExampleSimpleData* thiz, int event );
int stepStates_State_ExampleSimpleData( ExampleSimpleData* thiz, int event );


void stateError(char const* text, int nrStateFaulty);
