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")
17 {
18 public:
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.
38  std::string m_applicationName;
39 };
40 
41 } // namespace application
42 
43 #endif
uint16_t UINT16


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Sat Jun 8 2019 17:57:33