libapogee  3.0.3179
AltaF.h
1 
14 #ifndef ALTAF_INCLUDE_H__
15 #define ALTAF_INCLUDE_H__
16 
17 #include "CamGen2Base.h"
18 #include <string>
19 
20 class DLL_EXPORT AltaF : public CamGen2Base
21 {
22  public:
23  AltaF();
24 
25  virtual ~AltaF();
26 
27  void OpenConnection( const std::string & ioType,
28  const std::string & DeviceAddr,
29  const uint16_t FirmwareRev,
30  const uint16_t Id );
31 
32  void CloseConnection();
33 
34  void StartExposure( double Duration, bool IsLight );
35 
36  int32_t GetNumAdChannels();
37 
38  void Init();
39 
41  void SetFanMode( Apg::FanMode mode, bool PreCondCheck = true );
42 
43  protected:
44  void FixImgFromCamera( const std::vector<uint16_t> & data,
45  std::vector<uint16_t> & out, int32_t rows, int32_t cols );
46 
47  void ExposureAndGetImgRC(uint16_t & r, uint16_t & c);
48 
49  void CreateCamIo(const std::string & ioType,
50  const std::string & DeviceAddr);
51 
52  void CfgCamFromId( uint16_t CameraId );
53 
54  void VerifyCamId();
55 
65  void WriteId2CamReg();
66 
67  void SetIsInterlineBit();
68 
69  bool AreColsCentered();
70 
71  const std::string m_fileName;
72 
73  private:
74  void UpdateCfgWithStrDbInfo();
75 
76  //disabling the copy ctor and assignment operator
77  //generated by the compiler - don't want them
78  //Effective C++ Item 6
79  AltaF(const AltaF&);
80  AltaF& operator=(AltaF&);
81 };
82 
83 #endif
virtual void OpenConnection(const std::string &ioType, const std::string &DeviceAddr, const uint16_t FirmwareRev, const uint16_t Id)=0
FanMode
Definition: CameraInfo.h:264
virtual int32_t GetNumAdChannels()=0
virtual void CloseConnection()=0
virtual void SetFanMode(Apg::FanMode mode, bool PreCondCheck=true)=0
virtual void Init()=0
virtual void StartExposure(double Duration, bool IsLight)=0
virtual Apg::FanMode GetFanMode()=0
class for the F serise cameras
Definition: AltaF.h:20
This is the base class for the second generation apogee cameras (Ascent, Aspen, etc). This is a derived class of the ApogeeCam, which contains the function common to both Alta and second generation cameras.
Definition: CamGen2Base.h:19