#ifndef LEDSEXAMPLE_H #define LEDSEXAMPLE_H #include "aibolib.h" #include "def.h" enum SYSTEM_STATE{ SYSTEM_START, SYSTEM_IDLE }; class LedsExample: public Aibo { public: LedsExample(); virtual ~LedsExample(){}; OSubject* subject[numOfSubject]; OObserver* observer[numOfObserver]; OStatus DoInit (const OSystemEvent& event); OStatus DoStart (const OSystemEvent& event); OStatus DoStop (const OSystemEvent& event); OStatus DoDestroy(const OSystemEvent& event); void NotifyLeds(const OReadyEvent& event); protected: void InitLedVectors(); SYSTEM_STATE State; AiboLed Leds; }; #endif //define LIBTESTER_HH
Tim Baier
AiboLib v0.2.4 |
Generated Thu Jan 19 11:54:28 2006 by 1.4.3 |