libapogee  3.0.3179
CamGen2Base.h
1 
13 #ifndef CAMGEN2BASE_INCLUDE_H__
14 #define CAMGEN2BASE_INCLUDE_H__
15 
16 #include "ApogeeCam.h"
17 #include <string>
18 
19 class DLL_EXPORT CamGen2Base : public ApogeeCam
20 {
21  public:
22  virtual ~CamGen2Base();
23 
26 
27  void GetImage( std::vector<uint16_t> & out );
28 
29  void StopExposure( bool Digitize );
30 
31  uint32_t GetAvailableMemory();
32 
33  int32_t GetNumAds();
34 
35  double GetCoolerDrive();
36 
37  double GetTempHeatsink();
38 
39  protected:
40  CamGen2Base(const uint16_t FirmwareRev,
41  const uint16_t Id,
42  CamModel::PlatformType platform);
43 
44  CamGen2Base(CamModel::PlatformType platform);
45 
46  uint16_t ExposureZ();
47 
48  uint16_t GetImageZ();
49 
50  uint16_t GetIlluminationMask();
51 
52  void DefaultStartExposure( double Duration, bool IsLight, bool IssueReset=true );
53 
54  private:
55  const std::string m_fileName;
56 
57  //disabling the copy ctor and assignment operator
58  //generated by the compiler - don't want them
59  //Effective C++ Item 6
60  CamGen2Base(const CamGen2Base&);
61  CamGen2Base& operator=(CamGen2Base&);
62 };
63 
64 #endif
Base class for apogee cameras.
Definition: ApogeeCam.h:41
virtual int32_t GetNumAds()=0
virtual uint32_t GetAvailableMemory()=0
virtual double GetCoolerDrive()=0
virtual Apg::Status GetImagingStatus()=0
virtual double GetTempHeatsink()=0
virtual void GetImage(std::vector< uint16_t > &out)=0
virtual CameraStatusRegs GetStatus()=0
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
Class that wrapps the basic and advanced status structs.
Definition: CameraStatusRegs.h:20
virtual void StopExposure(bool Digitize)=0
Status
Definition: CameraInfo.h:155