|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <defaultdevice_p.h>
Public Member Functions | |
| DefaultDevicePrivate (DefaultDevice *defaultDevice) | |
| virtual | ~DefaultDevicePrivate () |
| int | loadINDINicknamesXML (const char *devicename) |
| int | saveINDINicknamesXML (const char *devicename) |
| Save Nickname data to XML. | |
Public Member Functions inherited from INDI::BaseDevicePrivate | |
| BaseDevicePrivate () | |
| virtual | ~BaseDevicePrivate () |
| int | setBLOB (INDI::PropertyBlob propertyBlob, const INDI::LilXmlElement &root, char *errmsg) |
| Parse and store BLOB in the respective vector. | |
| void | emitWatchProperty (const INDI::Property &property, bool isNew) |
| void | addProperty (const INDI::Property &property) |
| void | mediateNewDevice (BaseDevice baseDevice) |
| void | mediateRemoveDevice (BaseDevice baseDevice) |
| void | mediateNewProperty (Property property) |
| void | mediateUpdateProperty (Property property) |
| void | mediateRemoveProperty (Property property) |
| void | mediateNewMessage (BaseDevice baseDevice, int messageID) |
Static Public Attributes | |
| static std::list< DefaultDevicePrivate * > | devices |
| static std::recursive_mutex | devicesLock |
Additional Inherited Members | |
Static Public Member Functions inherited from INDI::BaseDevicePrivate | |
| static std::shared_ptr< BaseDevicePrivate > | invalid () |
Definition at line 37 of file defaultdevice_p.h.
| INDI::DefaultDevicePrivate::DefaultDevicePrivate | ( | DefaultDevice * | defaultDevice | ) |
Definition at line 423 of file defaultdevice.cpp.
|
virtual |
Definition at line 430 of file defaultdevice.cpp.
| int INDI::DefaultDevicePrivate::loadINDINicknamesXML | ( | const char * | devicename | ) |
Definition at line 250 of file defaultdevice.cpp.
| int INDI::DefaultDevicePrivate::saveINDINicknamesXML | ( | const char * | devicename | ) |
Save Nickname data to XML.
This needs to re-read the XML file in case other devices wrote data since it was last read. First read the whole file, find entry for this driver (if exists), create if not. Clear old and add new entries for nicknames from mNickname map.
Definition at line 338 of file defaultdevice.cpp.
| Connection::Interface* INDI::DefaultDevicePrivate::activeConnection = nullptr |
Definition at line 65 of file defaultdevice_p.h.
| PropertySwitch INDI::DefaultDevicePrivate::ConfigProcessSP { 4 } |
Definition at line 57 of file defaultdevice_p.h.
| PropertySwitch INDI::DefaultDevicePrivate::ConnectionModeSP { 0 } |
Definition at line 61 of file defaultdevice_p.h.
| std::vector<Connection::Interface *> INDI::DefaultDevicePrivate::connections |
Definition at line 64 of file defaultdevice_p.h.
| PropertySwitch INDI::DefaultDevicePrivate::ConnectionSP { 2 } |
Definition at line 58 of file defaultdevice_p.h.
| PropertySwitch INDI::DefaultDevicePrivate::DebugSP { 2 } |
Definition at line 56 of file defaultdevice_p.h.
| DefaultDevice* INDI::DefaultDevicePrivate::defaultDevice |
Definition at line 43 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::defineDynamicProperties {true} |
Definition at line 72 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::deleteDynamicProperties {true} |
Definition at line 73 of file defaultdevice_p.h.
| std::string INDI::DefaultDevicePrivate::deviceNickname {} |
Definition at line 88 of file defaultdevice_p.h.
|
static |
Definition at line 79 of file defaultdevice_p.h.
|
static |
Definition at line 80 of file defaultdevice_p.h.
| PropertyText INDI::DefaultDevicePrivate::DriverInfoTP { 4 } |
Definition at line 60 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::isConfigLoading { false } |
Definition at line 49 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::isDebug { false } |
Definition at line 46 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::isDefaultConfigLoaded {false} |
Definition at line 48 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::isInit { false } |
Definition at line 45 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::isSimulation { false } |
Definition at line 47 of file defaultdevice_p.h.
| int INDI::DefaultDevicePrivate::m_ConfigConnectionMode {-1} |
Definition at line 53 of file defaultdevice_p.h.
| INDI::Timer INDI::DefaultDevicePrivate::m_MainLoopTimer |
Definition at line 76 of file defaultdevice_p.h.
| uint16_t INDI::DefaultDevicePrivate::majorVersion { 1 } |
Definition at line 51 of file defaultdevice_p.h.
| uint16_t INDI::DefaultDevicePrivate::minorVersion { 0 } |
Definition at line 52 of file defaultdevice_p.h.
| std::map<std::string, std::string> INDI::DefaultDevicePrivate::nicknameMap {} |
Definition at line 89 of file defaultdevice_p.h.
| bool INDI::DefaultDevicePrivate::nicknamesLoaded {false} |
Definition at line 87 of file defaultdevice_p.h.
| PropertyText INDI::DefaultDevicePrivate::NicknameTP { 1 } |
Definition at line 62 of file defaultdevice_p.h.
| uint32_t INDI::DefaultDevicePrivate::pollingPeriod = 1000 |
pollingPeriod Period in milliseconds to call TimerHit(). Default 1000 ms
Definition at line 70 of file defaultdevice_p.h.
| PropertyNumber INDI::DefaultDevicePrivate::PollPeriodNP { 1 } |
Definition at line 59 of file defaultdevice_p.h.
| PropertySwitch INDI::DefaultDevicePrivate::SimulationSP { 2 } |
Definition at line 55 of file defaultdevice_p.h.
| WatchDeviceProperty INDI::DefaultDevicePrivate::watchDevice |
Definition at line 82 of file defaultdevice_p.h.