Main Page
Namespaces
Classes
Files
File List
File Members
src
application
BasicApplication.hpp
Go to the documentation of this file.
1
5
#ifndef BASICAPPLICATION_HPP
6
#define BASICAPPLICATION_HPP
7
8
#include "../BasicDatatypes.hpp"
9
10
namespace
application
11
{
12
13
using namespace
datatypes
;
14
15
// Container fuer alle Applikationen ("Worker", "CROWNlets")
16
class
BasicApplication
17
{
18
public
:
19
BasicApplication
();
20
virtual
~
BasicApplication
();
21
22
UINT16
getApplicationType();
23
UINT16
getSourceId();
24
void
setSourceId(
UINT16
applicationId);
// Eindeutige ID im System, wird vom Manager vergeben.
25
void
setApplicationName(std::string appName);
26
std::string getApplicationName();
27
28
// Diese Funktionen muessen da sein.
29
virtual
void
setData(
BasicData
& data) = 0;
30
31
protected
:
32
void
setApplicationType(
UINT16
applicationtype);
33
34
private
:
35
bool
m_beVerbose
;
// Debug-Ausgaben an oder aus.
36
UINT16
m_applicationType
;
37
UINT16
m_sourceId
;
38
std::string
m_applicationName
;
39
};
40
41
}
// namespace application
42
43
#endif
application::BasicApplication
Definition:
BasicApplication.hpp:16
UINT16
uint16_t UINT16
Definition:
BasicDatatypes.hpp:27
application::BasicApplication::m_applicationName
std::string m_applicationName
Definition:
BasicApplication.hpp:38
datatypes
Definition:
BasicDatatypes.hpp:91
application::BasicApplication::m_sourceId
UINT16 m_sourceId
Definition:
BasicApplication.hpp:37
application::BasicApplication::m_beVerbose
bool m_beVerbose
Definition:
BasicApplication.hpp:35
datatypes::BasicData
Definition:
BasicDatatypes.hpp:95
application
Definition:
BasicApplication.cpp:8
application::BasicApplication::m_applicationType
UINT16 m_applicationType
Definition:
BasicApplication.hpp:36
libsick_ldmrs
Author(s): SICK AG
, Martin Günther
, Jochen Sprickerhof
autogenerated on Mon Oct 26 2020 03:27:29