|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <ClInfo.hpp>
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 |
| SerializedMsg * | headMsg () 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< ClInfo > | clients |
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 |
Definition at line 29 of file ClInfo.hpp.
| ClInfo::ClInfo | ( | bool | useSharedBuffer | ) |
Definition at line 305 of file ClInfo.cpp.
|
virtual |
Definition at line 310 of file ClInfo.cpp.
| void ClInfo::addDevice | ( | const std::string & | dev, |
| const std::string & | name, | ||
| int | isblob | ||
| ) |
Definition at line 264 of file ClInfo.cpp.
|
protectedvirtual |
Implements MsgQueue.
Definition at line 96 of file ClInfo.cpp.
|
protected |
Definition at line 283 of file ClInfo.cpp.
| int ClInfo::findDevice | ( | const std::string & | dev, |
| const std::string & | name | ||
| ) | const |
Definition at line 252 of file ClInfo.cpp.
|
virtual |
Reimplemented from MsgQueue.
Definition at line 320 of file ClInfo.cpp.
|
protectedvirtual |
Implements MsgQueue.
Definition at line 30 of file ClInfo.cpp.
|
static |
Definition at line 109 of file ClInfo.cpp.
Definition at line 195 of file ClInfo.cpp.
| int ClInfo::allprops = 0 |
Definition at line 45 of file ClInfo.hpp.
| BLOBHandling ClInfo::blob = B_NEVER |
Definition at line 46 of file ClInfo.hpp.
|
static |
Definition at line 71 of file ClInfo.hpp.
| std::list<Property*> ClInfo::props |
Definition at line 44 of file ClInfo.hpp.