A simple CCD device that can capture images and control temperature. It returns a FITS image to the client. To build drivers for complex CCDs, please refer to the INDI Generic CCD driver template in INDI SVN (under 3rdparty).
#pragma once
{
public:
protected:
private:
float CalcTimeLeft();
void setupParams();
void grabImage();
bool InExposure { false };
float ExposureRequest { 0 };
float TemperatureRequest { 0 };
};
Class to provide general functionality of CCD cameras with a single CCD sensor, or a primary CCD sens...
The ElapsedTimer class provides a fast way to calculate elapsed times.
int SetTemperature(double temperature) override
Set CCD temperature.
bool Disconnect() override
Disconnect from device.
bool AbortExposure() override
Abort ongoing exposure.
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
const char * getDefaultName() override
bool StartExposure(float duration) override
Start exposing primary CCD chip.
void TimerHit() override
Callback function to be called once SetTimer duration elapses.