#include <manager.hpp>
Definition at line 18 of file manager.hpp.
typedef std::vector<application::BasicApplication*> Manager::ApplicationList [private] |
Definition at line 48 of file manager.hpp.
typedef std::vector<devices::BasicDevice*> Manager::DeviceList [private] |
Definition at line 44 of file manager.hpp.
Manager::Manager | ( | ) |
Default constructor.
Definition at line 25 of file manager.cpp.
Destructor.
Definition at line 41 of file manager.cpp.
bool Manager::addAndRunDevice | ( | Sourcetype | deviceType, |
std::string | deviceName, | ||
UINT16 | wantedId = 0xFFFF |
||
) |
Definition at line 91 of file manager.cpp.
bool Manager::addAndRunDevice | ( | devices::BasicDevice * | device, |
std::string | deviceName, | ||
UINT16 | wantedId = 0xFFFF |
||
) |
Definition at line 114 of file manager.cpp.
bool Manager::addApplication | ( | Sourcetype | appType, |
std::string | appName, | ||
UINT16 | wantedId = 0xFFFF |
||
) |
Definition at line 178 of file manager.cpp.
bool Manager::addApplication | ( | application::BasicApplication * | app, |
UINT16 | wantedId = 0xFFFF |
||
) |
Definition at line 212 of file manager.cpp.
Definition at line 392 of file manager.cpp.
Definition at line 412 of file manager.cpp.
UINT16 Manager::getNextSourceId | ( | ) | [private] |
Definition at line 73 of file manager.cpp.
bool Manager::importApplications | ( | ) |
bool Manager::runAllDevices | ( | ) |
Kommando: Los...
Definition at line 240 of file manager.cpp.
void Manager::setDeviceData | ( | BasicData * | data | ) |
Definition at line 291 of file manager.cpp.
void Manager::sourceThreadFunction | ( | bool & | endThread, |
UINT16 & | waitTimeMs | ||
) | [private] |
Thread-Funktion fuer das Verteilen der Daten.
Aus diesem Kontext heraus werden die Applikationen aufgerufen!
Pro Aufruf wird nur 1 Datum verteilt. Grund ist es, auch mit einem Prozessor den anderen Threads ggf. genug Rechenleistung zu ueberlassen. Hier koennten pro Aufruf aber auch mehr Daten verteilt werden, etwa wenn CAN-Nachrichten mit hoher Frequenz eintreffen.
Die Daten werden aktuell nicht an eine globale "Drain" weitergeleitet.
Definition at line 333 of file manager.cpp.
void Manager::stopAllDevices | ( | ) |
Definition at line 268 of file manager.cpp.
ApplicationList Manager::m_appList [private] |
Definition at line 49 of file manager.hpp.
bool Manager::m_beVerbose [private] |
Definition at line 39 of file manager.hpp.
DeviceList Manager::m_deviceList [private] |
Definition at line 45 of file manager.hpp.
UINT16 Manager::m_nextSourceId [private] |
Definition at line 41 of file manager.hpp.
BasicDataBuffer Manager::m_sourceBuffer [private] |
Definition at line 52 of file manager.hpp.
Mutex Manager::m_sourceBufferMutex [private] |
Definition at line 55 of file manager.hpp.
Definition at line 54 of file manager.hpp.