|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <device_manager.h>
Public Member Functions | |
| ~DeviceManager () | |
| void | setAlpacaClient (const std::shared_ptr< AlpacaClient > &client) |
| void | addDevice (INDI::BaseDevice device) |
| void | removeDevice (INDI::BaseDevice device) |
| void | updateDeviceProperty (INDI::Property property) |
| void | handleAlpacaRequest (const httplib::Request &req, httplib::Response &res) |
| void | handleSetupRequest (const httplib::Request &req, httplib::Response &res) |
| std::vector< AlpacaDeviceInfo > | getDeviceList () |
| void | sendNewNumber (const INDI::PropertyNumber &numberProperty) |
| void | sendNewSwitch (const INDI::PropertySwitch &switchProperty) |
| bool | extractTransactionIDs (const httplib::Request &req, httplib::Response &res, int &clientTransactionID, int &serverTransactionID) |
Static Public Member Functions | |
| static DeviceManager * | getInstance () |
| static void | parseFormUrlEncodedBody (const std::string &body, std::map< std::string, std::string > ¶ms) |
Definition at line 49 of file device_manager.h.
| DeviceManager::~DeviceManager | ( | ) |
Definition at line 55 of file device_manager.cpp.
| void DeviceManager::addDevice | ( | INDI::BaseDevice | device | ) |
Definition at line 92 of file device_manager.cpp.
| bool DeviceManager::extractTransactionIDs | ( | const httplib::Request & | req, |
| httplib::Response & | res, | ||
| int & | clientTransactionID, | ||
| int & | serverTransactionID | ||
| ) |
Definition at line 406 of file device_manager.cpp.
| std::vector< AlpacaDeviceInfo > DeviceManager::getDeviceList | ( | ) |
Definition at line 741 of file device_manager.cpp.
|
static |
Definition at line 44 of file device_manager.cpp.
| void DeviceManager::handleAlpacaRequest | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Definition at line 250 of file device_manager.cpp.
| void DeviceManager::handleSetupRequest | ( | const httplib::Request & | req, |
| httplib::Response & | res | ||
| ) |
Definition at line 560 of file device_manager.cpp.
|
static |
Definition at line 510 of file device_manager.cpp.
| void DeviceManager::removeDevice | ( | INDI::BaseDevice | device | ) |
Definition at line 151 of file device_manager.cpp.
| void DeviceManager::sendNewNumber | ( | const INDI::PropertyNumber & | numberProperty | ) |
Definition at line 66 of file device_manager.cpp.
| void DeviceManager::sendNewSwitch | ( | const INDI::PropertySwitch & | switchProperty | ) |
Definition at line 79 of file device_manager.cpp.
| void DeviceManager::setAlpacaClient | ( | const std::shared_ptr< AlpacaClient > & | client | ) |
Definition at line 60 of file device_manager.cpp.
| void DeviceManager::updateDeviceProperty | ( | INDI::Property | property | ) |
Definition at line 176 of file device_manager.cpp.