Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
ClInfo Class Reference
Inheritance diagram for ClInfo:
MsgQueue Collectable

Public Member Functions

 ClInfo (bool useSharedBuffer)
 
virtual ~ClInfo ()
 
int findDevice (const std::string &dev, const std::string &name) const
 
void addDevice (const std::string &dev, const std::string &name, int isblob)
 
virtual void log (const std::string &log) const
 
- Public Member Functions inherited from MsgQueue
virtual ~MsgQueue ()
 
void pushMsg (Msg *msg)
 
unsigned long msgQSize () const
 
SerializedMsgheadMsg () const
 
void consumeHeadMsg ()
 
void clearMsgQueue ()
 
void messageMayHaveProgressed (const SerializedMsg *msg)
 
void setFds (int rFd, int wFd)
 
virtual bool acceptSharedBuffers () const
 

Static Public Member Functions

static void q2Servers (DvrInfo *me, Msg *mp, XMLEle *root)
 
static void q2Clients (ClInfo *notme, int isblob, const std::string &dev, const std::string &name, Msg *mp, XMLEle *root)
 

Public Attributes

std::list< Property * > props
 
int allprops = 0
 
BLOBHandling blob = B_NEVER
 

Static Public Attributes

static ConcurrentSet< ClInfoclients
 

Protected Member Functions

virtual void onMessage (XMLEle *root, std::list< int > &sharedBuffers)
 
void crackBLOBHandling (const std::string &dev, const std::string &name, const char *enableBLOB)
 
virtual void close ()
 
- Protected Member Functions inherited from MsgQueue
int getRFd () const
 
int getWFd () const
 
void traceMsg (const std::string &log, XMLEle *root)
 
virtual void closeWritePart ()
 
 MsgQueue (bool useSharedBuffer)
 
- Protected Member Functions inherited from Collectable
HeartBeat heartBeat () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from MsgQueue
static void crackBLOB (const char *enableBLOB, BLOBHandling *bp)
 
- Protected Attributes inherited from MsgQueue
bool useSharedBuffer
 

Detailed Description

Definition at line 640 of file indiserver.cpp.

Constructor & Destructor Documentation

◆ ClInfo()

ClInfo::ClInfo ( bool  useSharedBuffer)

Definition at line 2809 of file indiserver.cpp.

◆ ~ClInfo()

ClInfo::~ClInfo ( )
virtual

Definition at line 2814 of file indiserver.cpp.

Member Function Documentation

◆ addDevice()

void ClInfo::addDevice ( const std::string &  dev,
const std::string &  name,
int  isblob 
)

Definition at line 2497 of file indiserver.cpp.

◆ close()

void ClInfo::close ( void  )
protectedvirtual

Implements MsgQueue.

Definition at line 2020 of file indiserver.cpp.

◆ crackBLOBHandling()

void ClInfo::crackBLOBHandling ( const std::string &  dev,
const std::string &  name,
const char *  enableBLOB 
)
protected

Definition at line 2526 of file indiserver.cpp.

◆ findDevice()

int ClInfo::findDevice ( const std::string &  dev,
const std::string &  name 
) const

Definition at line 2485 of file indiserver.cpp.

◆ log()

void ClInfo::log ( const std::string &  log) const
virtual

Reimplemented from MsgQueue.

Definition at line 2824 of file indiserver.cpp.

◆ onMessage()

void ClInfo::onMessage ( XMLEle root,
std::list< int > &  sharedBuffers 
)
protectedvirtual

Implements MsgQueue.

Definition at line 1862 of file indiserver.cpp.

◆ q2Clients()

void ClInfo::q2Clients ( ClInfo notme,
int  isblob,
const std::string &  dev,
const std::string &  name,
Msg mp,
XMLEle root 
)
static

Definition at line 2201 of file indiserver.cpp.

◆ q2Servers()

void ClInfo::q2Servers ( DvrInfo me,
Msg mp,
XMLEle root 
)
static

Definition at line 2287 of file indiserver.cpp.

Member Data Documentation

◆ allprops

int ClInfo::allprops = 0

Definition at line 656 of file indiserver.cpp.

◆ blob

BLOBHandling ClInfo::blob = B_NEVER

Definition at line 657 of file indiserver.cpp.

◆ clients

ConcurrentSet< ClInfo > ClInfo::clients
static

Definition at line 682 of file indiserver.cpp.

◆ props

std::list<Property*> ClInfo::props

Definition at line 655 of file indiserver.cpp.


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