#include <streammanager.h>
|
| | StreamManager (DefaultDevice *currentDevice) |
| |
| virtual | ~StreamManager () |
| |
| virtual void | ISGetProperties (const char *dev) |
| |
| virtual bool | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| |
| virtual bool | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| |
| virtual bool | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| |
| virtual bool | initProperties () |
| |
| virtual bool | updateProperties () |
| |
| virtual bool | saveConfigItems (FILE *fp) |
| |
| 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, or recorded, or both according to the settings in the streamer.
|
| |
| bool | close () |
| |
| void | setStreamingExposureEnabled (bool enable) |
| | setStreamingExposureEnabled Can stream exposure time be changed?
|
| |
| bool | setStream (bool enable) |
| | setStream Enables (starts) or disables (stops) streaming.
|
| |
| void | setSize (uint16_t width, uint16_t height=1) |
| |
| bool | setPixelFormat (INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth=8) |
| |
| bool | isDirectRecording () const |
| |
| bool | isStreaming () const |
| |
| bool | isRecording () const |
| |
| bool | isBusy () const |
| |
| double | getTargetFPS () const |
| |
| double | getTargetExposure () const |
| |
| void | getStreamFrame (uint16_t *x, uint16_t *y, uint16_t *w, uint16_t *h) const |
| |
| RecorderInterface * | getRecorder () const |
| |
| const char * | getDeviceName () const |
| |
Definition at line 97 of file streammanager.h.
◆ StreamManager()
◆ ~StreamManager()
| StreamManager::~StreamManager |
( |
| ) |
|
|
virtual |
◆ close()
| bool StreamManager::close |
( |
| ) |
|
◆ getDeviceName()
| const char * StreamManager::getDeviceName |
( |
| ) |
const |
◆ getRecorder()
◆ getStreamFrame()
| void StreamManager::getStreamFrame |
( |
uint16_t * |
x, |
|
|
uint16_t * |
y, |
|
|
uint16_t * |
w, |
|
|
uint16_t * |
h |
|
) |
| const |
◆ getTargetExposure()
| double StreamManager::getTargetExposure |
( |
| ) |
const |
◆ getTargetFPS()
| double StreamManager::getTargetFPS |
( |
| ) |
const |
◆ initProperties()
| bool StreamManager::initProperties |
( |
| ) |
|
|
virtual |
◆ isBusy()
| bool StreamManager::isBusy |
( |
| ) |
const |
◆ isDirectRecording()
| bool StreamManager::isDirectRecording |
( |
| ) |
const |
◆ ISGetProperties()
| void StreamManager::ISGetProperties |
( |
const char * |
dev | ) |
|
|
virtual |
◆ ISNewNumber()
| bool StreamManager::ISNewNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ ISNewSwitch()
| bool StreamManager::ISNewSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ ISNewText()
| bool StreamManager::ISNewText |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
char * |
texts[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
virtual |
◆ isRecording()
| bool StreamManager::isRecording |
( |
| ) |
const |
◆ isStreaming()
| bool StreamManager::isStreaming |
( |
| ) |
const |
◆ newFrame()
| void StreamManager::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, or recorded, or both according to the settings in the streamer.
Definition at line 370 of file streammanager.cpp.
◆ saveConfigItems()
| bool StreamManager::saveConfigItems |
( |
FILE * |
fp | ) |
|
|
virtual |
◆ setPixelFormat()
| bool StreamManager::setPixelFormat |
( |
INDI_PIXEL_FORMAT |
pixelFormat, |
|
|
uint8_t |
pixelDepth = 8 |
|
) |
| |
◆ setSize()
| void StreamManager::setSize |
( |
uint16_t |
width, |
|
|
uint16_t |
height = 1 |
|
) |
| |
◆ setStream()
| bool StreamManager::setStream |
( |
bool |
enable | ) |
|
setStream Enables (starts) or disables (stops) streaming.
- Parameters
-
| enable | True to enable, false to disable |
- Returns
- True if operation is successful, false otherwise.
Definition at line 1171 of file streammanager.cpp.
◆ setStreamingExposureEnabled()
| void StreamManager::setStreamingExposureEnabled |
( |
bool |
enable | ) |
|
setStreamingExposureEnabled Can stream exposure time be changed?
- Parameters
-
| enable | True if we can control the exact exposure time for each frame in the stream, false otherwise. |
Definition at line 1306 of file streammanager.cpp.
◆ updateProperties()
| bool StreamManager::updateProperties |
( |
| ) |
|
|
virtual |
◆ d_ptr
The documentation for this class was generated from the following files: