TwiceAsNice
2019-02-18
|
interface class for all camera io More...
#include <ICamIo.h>
Public Member Functions | |
virtual | ~ICamIo () |
virtual uint16_t | GetFirmwareRev ()=0 |
virtual void | SetupImgXfer (uint16_t Rows, uint16_t Cols, uint16_t NumOfImages, bool IsBulkSeq)=0 |
virtual void | CancelImgXfer ()=0 |
virtual void | GetImageData (std::vector< uint16_t > &data)=0 |
virtual uint16_t | ReadReg (uint16_t reg) const =0 |
virtual void | WriteReg (uint16_t reg, uint16_t val)=0 |
virtual void | WriteSRMD (uint16_t reg, const std::vector< uint16_t > &data)=0 |
virtual void | WriteMRMD (uint16_t reg, const std::vector< uint16_t > &data)=0 |
virtual void | GetStatus (CameraStatusRegs::BasicStatus &status)=0 |
virtual void | GetStatus (CameraStatusRegs::AdvStatus &status)=0 |
virtual std::string | GetInfo ()=0 |
virtual std::string | GetDriverVersion ()=0 |
virtual bool | IsError ()=0 |
Protected Member Functions | |
ICamIo () | |
interface class for all camera io
Copyright(c) 2009 Apogee Instruments, Inc.
|
virtual |
|
protected |
|
pure virtual |
Cancel the pending image transfer.
Implemented in CamUsbIo, AltaEthernetIo, and AspenEthernetIo.
|
pure virtual |
Implemented in CamUsbIo, AspenEthernetIo, and AltaEthernetIo.
|
pure virtual |
Implemented in AspenEthernetIo, AltaEthernetIo, and CamUsbIo.
|
pure virtual |
Moves the data from the camera to the host PC. Called at different times depending on the cameras acquistion mode
[in] | NumberOfPixels | Total number of pixels to transfer from the camera to host |
Implemented in CamUsbIo, AltaEthernetIo, and AspenEthernetIo.
|
pure virtual |
Implemented in AspenEthernetIo, AltaEthernetIo, and CamUsbIo.
|
pure virtual |
Fetches the camera's status. This function should be used on rev 15 firmware or lower
[out] | status | Basic status structure |
Implemented in CamUsbIo, AltaEthernetIo, and AspenEthernetIo.
|
pure virtual |
Fetches the camera's status. This function should be used on rev 16 firmware and higher
[out] | status | Advanced status structure |
Implemented in CamUsbIo, AltaEthernetIo, and AspenEthernetIo.
|
pure virtual |
Implemented in AltaEthernetIo, AspenEthernetIo, and CamUsbIo.
Reads camera control registers
[in] | reg | Register to read. |
Implemented in CamUsbIo, AspenEthernetIo, and AltaEthernetIo.
|
pure virtual |
Prime the IO interface for an upcoming image transfer.
[in] | Rows | Image height in pixels |
[in] | Cols | Image width in pixels |
[in] | NumOfImages | Number of images in the set |
Implemented in CamUsbIo, AltaEthernetIo, and AspenEthernetIo.
Writes data to a Multiple Request Multiple Data (MRMD) controller on the camera
[in] | reg | Register to write to. |
[out] | data | Data vector |
Implemented in AspenEthernetIo, CamUsbIo, and AltaEthernetIo.
Writes data to camera control registers
[in] | reg | Register to write to. |
[out] | val | Data value in the register |
Implemented in CamUsbIo, AspenEthernetIo, and AltaEthernetIo.
Writes data to a Single Request Multiple Data (SRMD) controller on the camera
[in] | reg | Register to write to. |
[out] | data | Data vector |
Implemented in AspenEthernetIo, CamUsbIo, and AltaEthernetIo.