79 bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
80 bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
81 bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n)
override;
82 bool ISNewBLOB(
const char *dev,
const char *name,
int sizes[],
int blobsizes[],
char *blobs[],
char *formats[],
83 char *names[],
int n)
override;
152 virtual void setMinMaxStep(
const char *property,
const char *element,
double min,
double max,
double step,
153 bool sendToClient =
true)
override;
void ISGetProperties(const char *dev) override
define the driver's properties to the client. Usually, only a minimum set of properties are defined t...
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
double getResolution()
getResolution Get resolution of the detector in ns.
INumberVectorProperty * getDetectorSettings()
Return Vector Info Property.
bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
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.
uint32_t GetDetectorCapability() const
GetDetectorCapability returns the Sensor capabilities.
void addFITSKeywords(fitsfile *fptr, uint8_t *buf, int len) override
Add FITS keywords to a fits file.
INumberVectorProperty DetectorSettingsNP
bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) override
Process the client newSwitch command.
enum INDI::Detector::@075066077323263333262304244133241065335106007226 DetectorCapability
@ DETECTOR_MAX_CAPABILITY
virtual bool StartIntegration(double duration) override
Start integration from the Sensor device.
bool ISSnoopDevice(XMLEle *root) override
Process a snoop event from INDI server. This function is called when a snooped property is updated in...
virtual void setMinMaxStep(const char *property, const char *element, double min, double max, double step, bool sendToClient=true) override
setMinMaxStep for a number property element
void SetDetectorCapability(uint32_t cap)
SetDetectorCapability Set the Detector capabilities. Al fields must be initialized.
void setTriggerLevel(double level)
setTriggerLevel Set Trigger voltage level used for pulse detection.
double getTriggerLevel()
getTriggerLevel Get Trigger voltage level used for pulse detection.
void setResolution(double res)
setResolution Set resolution of the detector in ns.
struct _INumberVectorProperty INumberVectorProperty
*brief user defined string literal for JSON values *sa std::size_t n
Namespace to encapsulate INDI client, drivers, and mediator classes.