Instrument Neutral Distributed Interface INDI
1.9.5
|
Go to the documentation of this file.
76 virtual bool ISNewNumber(
const char *dev,
const char *
name,
double values[],
char *names[],
int n)
override;
77 virtual bool ISNewSwitch(
const char *dev,
const char *
name,
ISState *states,
char *names[],
int n)
override;
78 virtual bool ISNewText(
const char *dev,
const char *
name,
char *texts[],
char *names[],
int n)
override;
79 virtual bool ISNewBLOB(
const char *dev,
const char *
name,
int sizes[],
int blobsizes[],
char *blobs[],
char *formats[],
char *names[],
int n)
override;
83 virtual void addFITSKeywords(fitsfile *fptr, uint8_t* buf,
int len)
override;
177 void setMinMaxStep(
const char *property,
const char *element,
double min,
double max,
double step,
178 bool sendToClient =
true);
INumberVectorProperty * getReceiverSettings()
Return Vector Info Property.
virtual bool ISNewBLOB(const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) override
Process the client newBLOB command.
double getGain()
getGain Get requested integration gain for the sensor.
void setBandwidth(double bandwidth)
setBandwidth Set bandwidth of Receiver device.
double getSampleRate()
getSampleRate Get requested sample rate for the sensor in Hz.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
@ SPECTROGRAPH_MAX_CAPABILITY
The SensorDevice class provides functionality of a Sensor Device within a Sensor.
void setMinMaxStep(const char *property, const char *element, double min, double max, double step, bool sendToClient=true)
setMinMaxStep for a number property element
void setSampleRate(double sr)
setSampleRate Set depth of Receiver device.
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
Class to provide video streaming and recording functionality.
double getBandwidth()
getBandwidth Get requested integration bandwidth for the sensor in Hz.
enum INDI::Receiver::@192 ReceiverCapability
uint32_t GetReceiverCapability() const
GetReceiverCapability returns the Sensor capabilities.
Number vector property descriptor.
INumber ReceiverSettingsN[7]
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
void SetReceiverCapability(uint32_t cap)
SetReceiverCapability Set the Receiver capabilities. Al fields must be initilized.
INumberVectorProperty ReceiverSettingsNP
virtual 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 void addFITSKeywords(fitsfile *fptr, uint8_t *buf, int len) override
Add FITS keywords to a fits file.
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
void setFrequency(double freq)
setFrequency Set the frequency observed.
Namespace to encapsulate INDI client, drivers, and mediator classes.
double getFrequency()
getFrequency Get requested integration frequency for the sensor in Hz.
void setGain(double gain)
setGain Set gain of Receiver device.
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
Class to provide general functionality of Monodimensional Receiver.
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 bool StartIntegration(double duration) override
Start integration from the Sensor device.