91 class SensorInterface;
92 class RecorderInterface;
93 class StreamManagerPrivate;
106 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n);
107 virtual bool ISNewText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n);
108 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n);
118 void newFrame(
const uint8_t *
buffer, uint32_t nbytes, uint64_t timestamp = 0);
135 void setSize(uint16_t width, uint16_t height = 1);
148 void getStreamFrame(uint16_t *x, uint16_t *y, uint16_t *w, uint16_t *h)
const;
154 std::shared_ptr<StreamManagerPrivate>
d_ptr;
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
The RecorderInterface class is the base class for recorders.
void setSize(uint16_t width, uint16_t height=1)
bool isDirectRecording() const
void getStreamFrame(uint16_t *x, uint16_t *y, uint16_t *w, uint16_t *h) const
void newFrame(const uint8_t *buffer, uint32_t nbytes, uint64_t timestamp=0)
newFrame CCD drivers call this function when a new frame is received. It is then streamed,...
void setStreamingExposureEnabled(bool enable)
setStreamingExposureEnabled Can stream exposure time be changed?
std::shared_ptr< StreamManagerPrivate > d_ptr
bool setPixelFormat(INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth=8)
double getTargetExposure() const
bool setStream(bool enable)
setStream Enables (starts) or disables (stops) streaming.
double getTargetFPS() const
virtual bool ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n)
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n)
virtual void ISGetProperties(const char *dev)
virtual bool initProperties()
StreamManager(DefaultDevice *currentDevice)
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n)
virtual bool saveConfigItems(FILE *fp)
RecorderInterface * getRecorder() const
virtual bool updateProperties()
const char * getDeviceName() const
Interface to the reference INDI C API device implementation on the Device Driver side.
std::vector< uint8_t > buffer
Namespace to encapsulate INDI client, drivers, and mediator classes.