libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::SerialDeviceManager Class Reference

#include <SerialDeviceManager.h>

Public Member Functions

 SerialDeviceManager ()
 
virtual ~SerialDeviceManager ()
 
void init (BaseLib::SharedObjects *baseLib)
 
virtual void add (const std::string &device, std::shared_ptr< SerialReaderWriter > readerWriter)
 
virtual std::shared_ptr< SerialReaderWritercreate (std::string device, int32_t baudrate, int32_t flags, bool createLockFile, int32_t readThreadPriority)
 
virtual std::shared_ptr< SerialReaderWriterget (const std::string &device)
 
virtual void remove (const std::string &device)
 

Constructor & Destructor Documentation

§ SerialDeviceManager()

BaseLib::SerialDeviceManager::SerialDeviceManager ( )

§ ~SerialDeviceManager()

virtual BaseLib::SerialDeviceManager::~SerialDeviceManager ( )
inlinevirtual

Member Function Documentation

§ add()

void BaseLib::SerialDeviceManager::add ( const std::string &  device,
std::shared_ptr< SerialReaderWriter readerWriter 
)
virtual

§ create()

std::shared_ptr< SerialReaderWriter > BaseLib::SerialDeviceManager::create ( std::string  device,
int32_t  baudrate,
int32_t  flags,
bool  createLockFile,
int32_t  readThreadPriority 
)
virtual

§ get()

std::shared_ptr< SerialReaderWriter > BaseLib::SerialDeviceManager::get ( const std::string &  device)
virtual

§ init()

void BaseLib::SerialDeviceManager::init ( BaseLib::SharedObjects baseLib)

§ remove()

void BaseLib::SerialDeviceManager::remove ( const std::string &  device)
virtual

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