#include <BasicDevice.hpp>
Public Member Functions | |
BasicDevice () | |
std::string | getDeviceName () |
UINT16 | getDevicetype () |
UINT16 | getSourceId () |
virtual bool | init () |
virtual bool | run ()=0 |
void | setDeviceName (std::string name) |
void | setSourceId (UINT16 deviceId) |
virtual bool | stop ()=0 |
virtual | ~BasicDevice () |
Protected Member Functions | |
void | setDevicetype (UINT16 devicetype) |
Protected Attributes | |
bool | m_beVerbose |
Private Attributes | |
std::string | m_deviceName |
UINT16 | m_devicetype |
UINT16 | m_sourceId |
Definition at line 16 of file BasicDevice.hpp.
Definition at line 14 of file BasicDevice.cpp.
devices::BasicDevice::~BasicDevice | ( | ) | [virtual] |
Definition at line 24 of file BasicDevice.cpp.
std::string devices::BasicDevice::getDeviceName | ( | ) |
Definition at line 74 of file BasicDevice.cpp.
Der Typ des Devices, als Zahl.
Definition at line 34 of file BasicDevice.cpp.
Die eindeutige ID des Devices, als Zahl.
Definition at line 50 of file BasicDevice.cpp.
virtual bool devices::BasicDevice::init | ( | ) | [inline, virtual] |
Reimplemented in devices::LDMRS.
Definition at line 29 of file BasicDevice.hpp.
virtual bool devices::BasicDevice::run | ( | ) | [pure virtual] |
Implemented in devices::LDMRS.
void devices::BasicDevice::setDeviceName | ( | std::string | name | ) |
Definition at line 66 of file BasicDevice.cpp.
void devices::BasicDevice::setDevicetype | ( | UINT16 | devicetype | ) | [protected] |
Der Typ des Devices, als Zahl.
Definition at line 42 of file BasicDevice.cpp.
void devices::BasicDevice::setSourceId | ( | UINT16 | sourceId | ) |
Die eindeutige ID des Devices, als Zahl.
Definition at line 58 of file BasicDevice.cpp.
virtual bool devices::BasicDevice::stop | ( | ) | [pure virtual] |
Implemented in devices::LDMRS.
bool devices::BasicDevice::m_beVerbose [protected] |
Reimplemented in devices::LDMRS.
Definition at line 37 of file BasicDevice.hpp.
std::string devices::BasicDevice::m_deviceName [private] |
Definition at line 42 of file BasicDevice.hpp.
UINT16 devices::BasicDevice::m_devicetype [private] |
Definition at line 40 of file BasicDevice.hpp.
UINT16 devices::BasicDevice::m_sourceId [private] |
Definition at line 41 of file BasicDevice.hpp.