7 #ifndef __AXIS_CAMERA_PARAMS_H__
8 #define __AXIS_CAMERA_PARAMS_H__
10 #include "EnumCameraParameter.h"
11 #include "ErrorBase.h"
12 #include "IntCameraParameter.h"
26 typedef enum Exposure_t {kExposure_Automatic, kExposure_Hold, kExposure_FlickerFree50Hz, kExposure_FlickerFree60Hz} Exposure;
27 typedef enum WhiteBalance_t {kWhiteBalance_Automatic, kWhiteBalance_Hold, kWhiteBalance_FixedOutdoor1, kWhiteBalance_FixedOutdoor2, kWhiteBalance_FixedIndoor, kWhiteBalance_FixedFlourescent1, kWhiteBalance_FixedFlourescent2} WhiteBalance;
28 typedef enum Resolution_t {kResolution_640x480, kResolution_640x360, kResolution_320x240, kResolution_160x120} Resolution;
29 typedef enum Rotation_t {kRotation_0, kRotation_180} Rotation;
46 int GetExposurePriority();
59 virtual void RestartCameraTask() = 0;
60 int CreateCameraSocket(
const char *requestString);
70 SEM_ID m_paramChangedSem;
71 SEM_ID m_socketPossessionSem;
85 typedef std::vector<IntCameraParameter*> ParameterVector_t;
86 ParameterVector_t m_parameters;
void WriteExposurePriority(int)
void WriteCompression(int)
Resolution_t GetResolution()
AxisCameraParams(const char *ipAddress)
void WriteBrightness(int)
void WriteExposureControl(Exposure_t)
static int s_ParamTaskFunction(AxisCameraParams *thisPtr)
Exposure_t GetExposureControl()
WhiteBalance_t GetWhiteBalance()
void WriteResolution(Resolution_t)
void WriteWhiteBalance(WhiteBalance_t whiteBalance)
void WriteColorLevel(int)
int UpdateCamParam(const char *param)
void WriteRotation(Rotation_t)
virtual ~AxisCameraParams()