Instrument Neutral Distributed Interface INDI  2.0.2
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
INDI::BaseDevicePrivate Class Reference

#include <basedevice_p.h>

Inheritance diagram for INDI::BaseDevicePrivate:
INDI::ParentDevicePrivate INDI::DefaultDevicePrivate

Classes

struct  WatchDetails
 

Public Member Functions

 BaseDevicePrivate ()
 
virtual ~BaseDevicePrivate ()
 
int setBLOB (INDI::PropertyBlob propertyBlob, const INDI::LilXmlElement &root, char *errmsg)
 Parse and store BLOB in the respective vector. More...
 
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 Member Functions

static std::shared_ptr< BaseDevicePrivateinvalid ()
 

Public Attributes

BaseDevice self {make_shared_weak(this)}
 
std::string deviceName
 
BaseDevice::Properties pAll
 
std::map< std::string, WatchDetailswatchPropertyMap
 
LilXmlParser xmlParser
 
INDI::BaseMediatormediator {nullptr}
 
std::deque< std::string > messageLog
 
std::mutex m_Lock
 
bool valid {true}
 

Detailed Description

Definition at line 39 of file basedevice_p.h.

Constructor & Destructor Documentation

◆ BaseDevicePrivate()

INDI::BaseDevicePrivate::BaseDevicePrivate ( )

Definition at line 58 of file basedevice.cpp.

◆ ~BaseDevicePrivate()

INDI::BaseDevicePrivate::~BaseDevicePrivate ( )
virtual

Definition at line 69 of file basedevice.cpp.

Member Function Documentation

◆ addProperty()

void INDI::BaseDevicePrivate::addProperty ( const INDI::Property property)
inline

Definition at line 62 of file basedevice_p.h.

◆ emitWatchProperty()

void INDI::BaseDevicePrivate::emitWatchProperty ( const INDI::Property property,
bool  isNew 
)
inline

Definition at line 48 of file basedevice_p.h.

◆ invalid()

static std::shared_ptr<BaseDevicePrivate> INDI::BaseDevicePrivate::invalid ( )
inlinestatic

Definition at line 162 of file basedevice_p.h.

◆ mediateNewDevice()

void INDI::BaseDevicePrivate::mediateNewDevice ( BaseDevice  baseDevice)
inline

Definition at line 73 of file basedevice_p.h.

◆ mediateNewMessage()

void INDI::BaseDevicePrivate::mediateNewMessage ( BaseDevice  baseDevice,
int  messageID 
)
inline

Definition at line 151 of file basedevice_p.h.

◆ mediateNewProperty()

void INDI::BaseDevicePrivate::mediateNewProperty ( Property  property)
inline

Definition at line 95 of file basedevice_p.h.

◆ mediateRemoveDevice()

void INDI::BaseDevicePrivate::mediateRemoveDevice ( BaseDevice  baseDevice)
inline

Definition at line 84 of file basedevice_p.h.

◆ mediateRemoveProperty()

void INDI::BaseDevicePrivate::mediateRemoveProperty ( Property  property)
inline

Definition at line 140 of file basedevice_p.h.

◆ mediateUpdateProperty()

void INDI::BaseDevicePrivate::mediateUpdateProperty ( Property  property)
inline

Definition at line 106 of file basedevice_p.h.

◆ setBLOB()

int INDI::BaseDevicePrivate::setBLOB ( INDI::PropertyBlob  propertyBlob,
const INDI::LilXmlElement root,
char *  errmsg 
)

Parse and store BLOB in the respective vector.

Definition at line 739 of file basedevice.cpp.

Member Data Documentation

◆ deviceName

std::string INDI::BaseDevicePrivate::deviceName

Definition at line 180 of file basedevice_p.h.

◆ m_Lock

std::mutex INDI::BaseDevicePrivate::m_Lock
mutable

Definition at line 187 of file basedevice_p.h.

◆ mediator

INDI::BaseMediator* INDI::BaseDevicePrivate::mediator {nullptr}

Definition at line 185 of file basedevice_p.h.

◆ messageLog

std::deque<std::string> INDI::BaseDevicePrivate::messageLog

Definition at line 186 of file basedevice_p.h.

◆ pAll

BaseDevice::Properties INDI::BaseDevicePrivate::pAll

Definition at line 181 of file basedevice_p.h.

◆ self

BaseDevice INDI::BaseDevicePrivate::self {make_shared_weak(this)}

Definition at line 179 of file basedevice_p.h.

◆ valid

bool INDI::BaseDevicePrivate::valid {true}

Definition at line 189 of file basedevice_p.h.

◆ watchPropertyMap

std::map<std::string, WatchDetails> INDI::BaseDevicePrivate::watchPropertyMap

Definition at line 182 of file basedevice_p.h.

◆ xmlParser

LilXmlParser INDI::BaseDevicePrivate::xmlParser

Definition at line 183 of file basedevice_p.h.


The documentation for this class was generated from the following files: