ArdunityController

class ArdunityController

{

public:

ArdunityController(int id);

// for ArdunityApp

ArdunityController* nextController;

void setup();

void start();

void stop();

void process();

boolean update(byte id);

void execute();

void flush();

//-----------------------------------------------------

protected:

boolean canFlush;

boolean started;

boolean updated;

boolean dirty;

virtual void OnSetup() {}

virtual void OnStart() {}

virtual void OnStop() {}

virtual void OnProcess() {}

virtual void OnUpdate() {}

virtual void OnExecute() {}

virtual void OnFlush() {}

};