Instrument Neutral Distributed Interface INDI 2.2.5
LocalDvrInfo Class Reference

#include <LocalDrvInfo.hpp>

Inheritance diagram for LocalDvrInfo:
DvrInfo MsgQueue Collectable

Public Member Functions

 LocalDvrInfo ()
virtual ~LocalDvrInfo ()
void start () override
LocalDvrInfo * clone () const override
const std::string remoteServerUid () const override
Public Member Functions inherited from DvrInfo
Property * findSDevice (const std::string &dev, const std::string &name) const
 DvrInfo (bool useSharedBuffer)
virtual ~DvrInfo ()
bool isHandlingDevice (const std::string &dev) const
void close () override
void log (const std::string &log) const override
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)

Public Attributes

std::string envDev
std::string envConfig
std::string envSkel
std::string envPrefix
Public Attributes inherited from DvrInfo
std::string name
std::set< std::string > dev
std::list< Property * > sprops
int restarts
bool restart = true

Protected Member Functions

 LocalDvrInfo (const LocalDvrInfo &model)
Protected Member Functions inherited from DvrInfo
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 Public Member Functions inherited from DvrInfo
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)
Static Public Attributes inherited from DvrInfo
static ConcurrentSet< DvrInfo > drivers
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 26 of file LocalDrvInfo.hpp.

Constructor & Destructor Documentation

◆ LocalDvrInfo() [1/2]

LocalDvrInfo::LocalDvrInfo ( const LocalDvrInfo & model)
protected

Definition at line 214 of file LocalDvrInfo.cpp.

◆ LocalDvrInfo() [2/2]

LocalDvrInfo::LocalDvrInfo ( )

Definition at line 208 of file LocalDvrInfo.cpp.

◆ ~LocalDvrInfo()

LocalDvrInfo::~LocalDvrInfo ( )
virtual

Definition at line 225 of file LocalDvrInfo.cpp.

Member Function Documentation

◆ clone()

LocalDvrInfo * LocalDvrInfo::clone ( ) const
overridevirtual

Implements DvrInfo.

Definition at line 236 of file LocalDvrInfo.cpp.

◆ remoteServerUid()

const std::string LocalDvrInfo::remoteServerUid ( ) const
inlineoverridevirtual

Implements DvrInfo.

Definition at line 56 of file LocalDrvInfo.hpp.

◆ start()

void LocalDvrInfo::start ( )
overridevirtual

Implements DvrInfo.

Definition at line 36 of file LocalDvrInfo.cpp.

Member Data Documentation

◆ envConfig

std::string LocalDvrInfo::envConfig

Definition at line 45 of file LocalDrvInfo.hpp.

◆ envDev

std::string LocalDvrInfo::envDev

Definition at line 44 of file LocalDrvInfo.hpp.

◆ envPrefix

std::string LocalDvrInfo::envPrefix

Definition at line 47 of file LocalDrvInfo.hpp.

◆ envSkel

std::string LocalDvrInfo::envSkel

Definition at line 46 of file LocalDrvInfo.hpp.


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