77 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
78 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
79 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
134 double flux(
double magnitude)
const;
The CCDSim class provides an advanced simulator for a CCD that includes a dedicated on-board guide ch...
virtual bool UpdateCCDFrame(int x, int y, int w, int h) override
CCD calls this function when CCD Frame dimension needs to be updated in the hardware....
ISwitchVectorProperty CoolerSP
bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
void setBayerEnabled(bool onOff)
bool StartExposure(float duration) override
Start exposing primary CCD chip.
virtual IPState GuideSouth(uint32_t) override
Guide southward for ms milliseconds.
INumberVectorProperty OffsetNP
float GuideRate
Guide rate is 7 arcseconds per second.
bool Disconnect() override
Disconnect from device.
void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
bool StartGuideExposure(float) override
Start exposing guide CCD chip.
virtual bool SetCaptureFormat(uint8_t index) override
SetCaptureFormat Set Active Capture format.
INumber FocusSimulationN[3]
int AddToPixel(INDI::CCDChip *targetChip, int, int, int)
int DrawImageStar(INDI::CCDChip *targetChip, float, float, float, float ExposureTime)
virtual ~CCDSim() override=default
void TimerHit() override
Callback function to be called once SetTimer duration elapses.
virtual int SetTemperature(double temperature) override
Set CCD temperature.
const char * getDefaultName() override
std::deque< std::string > m_AllFiles
virtual bool StartStreaming() override
StartStreaming Start live video streaming.
static void * streamVideoHelper(void *context)
virtual bool ISSnoopDevice(XMLEle *root) override
Process a snoop event from INDI server. This function is called when a snooped property is updated in...
virtual IPState GuideEast(uint32_t) override
Guide easward for ms milliseconds.
ISwitchVectorProperty CrashSP
INumberVectorProperty FocusSimulationNP
double flux(double magnitude) const
virtual IPState GuideWest(uint32_t) override
Guide westward for ms milliseconds.
ISwitchVectorProperty SimulateBayerSP
int QueryFilter() override
Return current filter position.
INumberVectorProperty SimulatorSettingsNP
virtual bool StopStreaming() override
StopStreaming Stop live video streaming.
float m_PEPeriod
PEPeriod in minutes.
bool SelectFilter(int) override
Select a new filter position.
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
virtual bool UpdateCCDBin(int hor, int ver) override
CCD calls this function when CCD Binning needs to be updated in the hardware. Derived classes should ...
ITextVectorProperty DirectoryTP
INumberVectorProperty FWHMNP
virtual IPState GuideNorth(uint32_t) override
Guide northward for ms milliseconds.
float CalcTimeLeft(timeval, float)
bool AbortExposure() override
Abort ongoing exposure.
ISwitch SimulateBayerS[2]
INumber SimulatorSettingsN[SIM_N]
ISwitchVectorProperty DirectorySP
double TemperatureRequest
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual void activeDevicesUpdated() override
activeDevicesUpdated Inform children that ActiveDevices property was updated so they can snoop on the...
std::deque< std::string > m_RemainingFiles
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
INumberVectorProperty GainNP
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Save configuration items in XML file.
virtual bool UpdateGuiderBin(int hor, int ver) override
CCD calls this function when Guide head binning is updated by the client. Derived classes should impl...
static constexpr const char * SIMULATOR_TAB
INumberVectorProperty EqPENP
float GuideExposureRequest
virtual void addFITSKeywords(INDI::CCDChip *targetChip, std::vector< INDI::FITSRecord > &fitsKeyword) override
Generate FITS keywords that will be added to FIST/XISF file.
bool AbortGuideExposure() override
Abort ongoing exposure.
int DrawCcdFrame(INDI::CCDChip *targetChip)
The CCDChip class provides functionality of a CCD Chip within a CCD.
Class to provide general functionality of CCD cameras with a single CCD sensor, or a primary CCD sens...
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.