00001
00054 #if !defined(_CIGI_SENSOR_CTRL_V1_INCLUDED_)
00055 #define _CIGI_SENSOR_CTRL_V1_INCLUDED_
00056
00057 #include "CigiBaseSensorCtrl.h"
00058
00059
00060
00061 class CIGI_SPEC CigiSensorCtrlV1 : public CigiBaseSensorCtrl
00062 {
00063
00064 public:
00065
00066
00067
00068
00071 CigiSensorCtrlV1();
00072
00073
00076 virtual ~CigiSensorCtrlV1();
00077
00078
00079
00080
00081
00092 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00093
00094
00104 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00105
00106
00107
00108
00109
00110
00111
00112
00119 int SetViewID(const Cigi_uint16 ViewIDIn, bool bndchk=true);
00120
00121
00124 Cigi_uint16 GetViewID(void) const { return(ViewID); }
00125
00126
00127
00128
00129
00136 int SetGain(const float GainIn, bool bndchk=true);
00137
00138
00141 float GetGain(void) const { return(Gain * 100.0f); }
00142
00143
00144
00145 };
00146
00147 #endif // #if !defined(_CIGI_SENSOR_CTRL_V1_INCLUDED_)