You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
821 B
40 lines
821 B
#ifndef __OBJECT_CAMERA_HEADER__
|
|
#define __OBJECT_CAMERA_HEADER__
|
|
|
|
#include "../base/basicCameraInfo.h"
|
|
#include "../base/basicEvtDispatcher.h"
|
|
#include "../base/basicLogCollection.h"
|
|
#include "../base/basicObject.h"
|
|
|
|
struct basicCameraCommand
|
|
{
|
|
CORE_CAMERA_COMMANDS m_cCode;
|
|
int m_iParam;
|
|
bool m_bParam;
|
|
unsigned int m_nDataSize;
|
|
void * m_pData;
|
|
};
|
|
|
|
class objectCamera : public basicObject, public EventDispatchService
|
|
{
|
|
private:
|
|
|
|
_Core_Logging_Collection * m_pLog;
|
|
void Log(CSTR Msg);
|
|
void Log(U8 Level, CSTR Msg);
|
|
|
|
protected:
|
|
|
|
struct basicCameraInfo * m_pSettings;
|
|
|
|
virtual bool init(void) {}
|
|
|
|
public:
|
|
|
|
objectCamera();
|
|
objectCamera(_Core_Logging_Collection * Log, basicCameraInfo * Info);
|
|
~objectCamera();
|
|
virtual void dispatch(basicEvent * Evt);
|
|
};
|
|
|
|
#endif
|