|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <DvrInfo.hpp>
Public Member Functions | |
| Property * | findSDevice (const std::string &dev, const std::string &name) const |
| DvrInfo (bool useSharedBuffer) | |
| virtual | ~DvrInfo () |
| bool | isHandlingDevice (const std::string &dev) const |
| virtual void | start ()=0 |
| void | close () override |
| virtual DvrInfo * | clone () const =0 |
| void | log (const std::string &log) const override |
| virtual const std::string | remoteServerUid () const =0 |
| bool | acceptSharedBuffers () const override |
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) |
Static Public Member Functions | |
| static void | q2RDrivers (const std::string &dev, Msg *mp, XMLEle *root) |
| static void | q2SDrivers (DvrInfo *me, int isblob, const std::string &dev, const std::string &name, Msg *mp, XMLEle *root) |
Public Attributes | |
| std::string | name |
| std::set< std::string > | dev |
| std::list< Property * > | sprops |
| int | restarts |
| bool | restart = true |
Static Public Attributes | |
| static ConcurrentSet< DvrInfo > | drivers |
Protected Member Functions | |
| void | onMessage (XMLEle *root, std::list< int > &sharedBuffers) override |
| void | closeWritePart () override |
| DvrInfo (const DvrInfo &model) | |
Protected Member Functions inherited from MsgQueue | |
| int | getRFd () const |
| int | getWFd () const |
| void | traceMsg (const std::string &log, XMLEle *root) |
| 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 32 of file DvrInfo.hpp.
|
protected |
Definition at line 298 of file DvrInfo.cpp.
| DvrInfo::DvrInfo | ( | bool | useSharedBuffer | ) |
Definition at line 291 of file DvrInfo.cpp.
|
virtual |
Definition at line 306 of file DvrInfo.cpp.
|
inlineoverridevirtual |
Reimplemented from MsgQueue.
Definition at line 98 of file DvrInfo.hpp.
|
pure virtual |
Implemented in LocalDvrInfo, and RemoteDvrInfo.
|
overridevirtual |
Implements MsgQueue.
Definition at line 124 of file DvrInfo.cpp.
|
overrideprotectedvirtual |
Reimplemented from MsgQueue.
Definition at line 116 of file DvrInfo.cpp.
| Property * DvrInfo::findSDevice | ( | const std::string & | dev, |
| const std::string & | name | ||
| ) | const |
Definition at line 281 of file DvrInfo.cpp.
| bool DvrInfo::isHandlingDevice | ( | const std::string & | dev | ) | const |
Definition at line 315 of file DvrInfo.cpp.
|
overridevirtual |
Reimplemented from MsgQueue.
Definition at line 320 of file DvrInfo.cpp.
|
overrideprotectedvirtual |
Implements MsgQueue.
Definition at line 30 of file DvrInfo.cpp.
Definition at line 181 of file DvrInfo.cpp.
|
static |
Definition at line 230 of file DvrInfo.cpp.
|
pure virtual |
Implemented in LocalDvrInfo, and RemoteDvrInfo.
|
pure virtual |
Implemented in LocalDvrInfo, and RemoteDvrInfo.
| std::set<std::string> DvrInfo::dev |
Definition at line 59 of file DvrInfo.hpp.
|
static |
Definition at line 95 of file DvrInfo.hpp.
| std::string DvrInfo::name |
Definition at line 57 of file DvrInfo.hpp.
| bool DvrInfo::restart = true |
Definition at line 62 of file DvrInfo.hpp.
| int DvrInfo::restarts |
Definition at line 61 of file DvrInfo.hpp.
| std::list<Property*> DvrInfo::sprops |
Definition at line 60 of file DvrInfo.hpp.