#ifndef CAMEXAMPLE_H
#define CAMEXAMPLE_H
#include "aibolib.h"
#include "def.h"
enum SYSTEM_STATE{
SYSTEM_START,
SYSTEM_IDLE
};
class CamExample: public Aibo {
public:
CamExample();
virtual ~CamExample(){};
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 NotifyCam(const ONotifyEvent& event);
protected:
SYSTEM_STATE State;
AiboCam Camera;
int CamCounter;
};
#endif //define CAMTESTER_H