#ifndef SENSORSEXAMPLE_H
#define SENSORSEXAMPLE_H
#include "aibolib.h"
#include "def.h"
enum SYSTEM_STATE{
SYSTEM_START,
SYSTEM_IDLE
};
class SensorsExample: public Aibo {
public:
SensorsExample();
virtual ~SensorsExample(){};
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 NotifySensors(const ONotifyEvent& event);
void myPrint(OSensorFrameVectorData *sensorVec);
protected:
SYSTEM_STATE State;
AiboSensor Sensors;
};
#endif //define LIBTESTER_HH