14 #ifndef ASCENT_INCLUDE_H__
15 #define ASCENT_INCLUDE_H__
17 #include "CamGen2Base.h"
19 #include "ApogeeFilterWheel.h"
39 Ascent::FilterWheelType type;
41 uint16_t maxPositions;
47 const std::string & DeviceAddr,
48 const uint16_t FirmwareRev,
60 void FilterWheelOpen( Ascent::FilterWheelType type );
66 void FilterWheelClose();
73 void SetFilterWheelPos( uint16_t pos );
79 uint16_t GetFilterWheelPos();
96 std::string GetFilterWheelName();
102 uint16_t GetFilterWheelMaxPositions();
115 bool IsDualReadoutSupported();
126 void SetDualReadout(
bool TurnOn );
131 bool GetDualReadout();
137 Ascent(
const std::string & ioType,
138 const std::string & DeviceAddr);
140 void FixImgFromCamera(
const std::vector<uint16_t> & data,
141 std::vector<uint16_t> & out, int32_t rows, int32_t cols );
143 void CreateCamIo(
const std::string & ioType,
144 const std::string & DeviceAddr);
146 void ExposureAndGetImgRC(uint16_t & r, uint16_t & c);
148 void UpdateCamRegIfNeeded();
150 void SetIsInterlineBit();
152 void SetIsAscentBit();
155 void StartFwTimer( uint16_t pos );
159 void CfgCamFromId( uint16_t CameraId );
163 void UpdateCfgWithStrDbInfo();
165 bool AreColsCentered();
167 const std::string m_fileName;
168 Ascent::FilterWheelType m_filterWheelType;
175 template class DLL_EXPORT std::tr1::shared_ptr<ApgTimer>;
179 std::tr1::shared_ptr<ApgTimer> m_FwTimer;
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
Ascent::FilterWheelType GetFilterWheelType()
Definition: Ascent.h:90
virtual int32_t GetNumAdChannels()=0
virtual void CloseConnection()=0
virtual void SetFanMode(Apg::FanMode mode, bool PreCondCheck=true)=0
virtual void StartExposure(double Duration, bool IsLight)=0
virtual Apg::FanMode GetFanMode()=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
Status
Definition: ApogeeFilterWheel.h:50
Implementation of the ascent camera.
Definition: Ascent.h:23