UniSet 2.32.1
NullController.h
1// --------------------------------------------------------------------------
2#ifndef NullController_H_
3#define NullController_H_
4// --------------------------------------------------------------------------
5#include <string>
6#include "IONotifyController.h"
7// --------------------------------------------------------------------------
10{
11 public:
12 NullController(uniset::ObjectId id, const std::string& ioconfile,
13 const std::string& s_filterField = "",
14 const std::string& s_filterValue = "",
15 const std::string& c_filterField = "",
16 const std::string& c_filterValue = "",
17 bool _dumpingToDB = false );
18
19 virtual ~NullController();
20
21 protected:
22
23 virtual void dumpToDB();
24
25 // bool readSItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec, NCRestorer::SInfo& inf );
26 // bool readTItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec);
27 // bool readCItem( UniXML& xml, UniXML::iterator& it, xmlNode* sec);
28
29 private:
30 bool dumpingToDB;
31
32};
33// --------------------------------------------------------------------------
34#endif // NullController_H_
35// --------------------------------------------------------------------------
Definition NullController.h:10
virtual void dumpToDB()
сохранение состояния всех датчиков в БД
Definition NullController.cc:40
Definition IONotifyController.h:135
long ObjectId
Definition UniSetTypes_i.idl:30