Instrument Neutral Distributed Interface INDI 2.2.5
INDI::BaseClientPrivate Class Reference

#include <baseclient_p.h>

Inheritance diagram for INDI::BaseClientPrivate:
INDI::AbstractBaseClientPrivate

Public Member Functions

 BaseClientPrivate (BaseClient *parent)
virtual ~BaseClientPrivate ()
bool connectToHostAndWait (std::string hostname, unsigned short port)
ssize_t sendData (const void *data, size_t size) override
Public Member Functions inherited from INDI::AbstractBaseClientPrivate
 AbstractBaseClientPrivate (AbstractBaseClient *parent)
virtual ~AbstractBaseClientPrivate ()=default
void clear ()
int dispatchCommand (const INDI::LilXmlElement &root, char *errmsg)
 Dispatch command received from INDI server to respective devices handled by the client.
int deleteDevice (const char *devName, char *errmsg)
 Remove device.
int delPropertyCmd (const INDI::LilXmlElement &root, char *errmsg)
 Delete property command.
int messageCmd (const INDI::LilXmlElement &root, char *errmsg)
void userIoGetProperties ()
void setDriverConnection (bool status, const char *deviceName)
 Connect/Disconnect to INDI driver.
BLOBMode * findBLOBMode (const std::string &device, const std::string &property)

Public Attributes

TcpSocket clientSocket
LilXmlParser xmlParser
Public Attributes inherited from INDI::AbstractBaseClientPrivate
AbstractBaseClient * parent
std::list< BLOBMode > blobModes
std::string cServer {"localhost"}
uint32_t cPort {7624}
std::atomic_bool sConnected {false}
bool verbose {false}
uint32_t timeout_sec {3}
uint32_t timeout_us {0}
WatchDeviceProperty watchDevice

Additional Inherited Members

Static Public Attributes inherited from INDI::AbstractBaseClientPrivate
static userio io

Detailed Description

Definition at line 52 of file baseclient_p.h.

Constructor & Destructor Documentation

◆ BaseClientPrivate()

INDI::BaseClientPrivate::BaseClientPrivate ( BaseClient * parent)

Definition at line 219 of file baseclient.cpp.

◆ ~BaseClientPrivate()

INDI::BaseClientPrivate::~BaseClientPrivate ( )
virtual

Definition at line 278 of file baseclient.cpp.

Member Function Documentation

◆ connectToHostAndWait()

bool INDI::BaseClientPrivate::connectToHostAndWait ( std::string hostname,
unsigned short port )

Definition at line 298 of file baseclient.cpp.

◆ sendData()

ssize_t INDI::BaseClientPrivate::sendData ( const void * data,
size_t size )
overridevirtual

Implements INDI::AbstractBaseClientPrivate.

Definition at line 281 of file baseclient.cpp.

Member Data Documentation

◆ clientSocket

TcpSocket INDI::BaseClientPrivate::clientSocket

Definition at line 67 of file baseclient_p.h.

◆ xmlParser

LilXmlParser INDI::BaseClientPrivate::xmlParser

Definition at line 69 of file baseclient_p.h.


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