Instrument Neutral Distributed Interface INDI 2.2.5
RemoteDvrInfo Class Reference

#include <RemoteDvrInfo.hpp>

Inheritance diagram for RemoteDvrInfo:
DvrInfo MsgQueue Collectable

Public Member Functions

 RemoteDvrInfo ()
virtual ~RemoteDvrInfo ()
void start () override
RemoteDvrInfo * 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 host
int port
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

 RemoteDvrInfo (const RemoteDvrInfo &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 25 of file RemoteDvrInfo.hpp.

Constructor & Destructor Documentation

◆ RemoteDvrInfo() [1/2]

RemoteDvrInfo::RemoteDvrInfo ( const RemoteDvrInfo & model)
protected

Definition at line 143 of file RemoteDvrInfo.cpp.

◆ RemoteDvrInfo() [2/2]

RemoteDvrInfo::RemoteDvrInfo ( )

Definition at line 140 of file RemoteDvrInfo.cpp.

◆ ~RemoteDvrInfo()

RemoteDvrInfo::~RemoteDvrInfo ( )
virtual

Definition at line 149 of file RemoteDvrInfo.cpp.

Member Function Documentation

◆ clone()

RemoteDvrInfo * RemoteDvrInfo::clone ( ) const
overridevirtual

Implements DvrInfo.

Definition at line 152 of file RemoteDvrInfo.cpp.

◆ remoteServerUid()

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

Implements DvrInfo.

Definition at line 48 of file RemoteDvrInfo.hpp.

◆ start()

void RemoteDvrInfo::start ( )
overridevirtual

Implements DvrInfo.

Definition at line 57 of file RemoteDvrInfo.cpp.

Member Data Documentation

◆ host

std::string RemoteDvrInfo::host

Definition at line 38 of file RemoteDvrInfo.hpp.

◆ port

int RemoteDvrInfo::port

Definition at line 39 of file RemoteDvrInfo.hpp.


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