UniSet
2.8.0
include
SMonitor.h
1
/*
2
* Copyright (c) 2015 Pavel Vainerman.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as
6
* published by the Free Software Foundation, version 2.1.
7
*
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Lesser Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
// -----------------------------------------------------------------------------
17
#ifndef SMonitor_H_
18
#define SMonitor_H_
19
// -----------------------------------------------------------------------------
20
#include <list>
21
#include <UniSetObject.h>
22
#include "UniSetTypes.h"
23
// -----------------------------------------------------------------------------
24
namespace
uniset
25
{
26
27
class
SMonitor
:
28
public
UniSetObject
29
{
30
public
:
31
32
SMonitor
(
uniset::ObjectId
id
);
33
~
SMonitor
();
34
35
// -----
36
protected
:
37
virtual
void
sysCommand(
const
uniset::SystemMessage
* sm )
override
;
38
virtual
void
sensorInfo(
const
uniset::SensorMessage
* si )
override
;
39
SMonitor
();
40
41
private
:
42
typedef
std::list<uniset::ParamSInfo> MyIDList;
43
MyIDList lst;
44
std::string script;
45
};
46
// -------------------------------------------------------------------------
47
}
// end of uniset namespace
48
// -----------------------------------------------------------------------------
49
#endif
50
// -----------------------------------------------------------------------------
uniset::SensorMessage
Definition:
MessageType.h:126
uniset
Definition:
CommonEventLoop.h:14
uniset::UniSetObject
Definition:
UniSetObject.h:73
uniset::SMonitor
Definition:
SMonitor.h:27
uniset::ObjectId
long ObjectId
Definition:
UniSetTypes_i.idl:30
uniset::SystemMessage
Definition:
MessageType.h:170
Документация по UniSet. Последние изменения: Вс 25 Окт 2020 00:02:12. Создано системой
1.8.17