UniSet 2.32.1
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// -----------------------------------------------------------------------------
24namespace uniset
25{
26
27 class SMonitor:
28 public UniSetObject
29 {
30 public:
31
33 ~SMonitor();
34
35 // -----
36 static std::string printEvent( const uniset::SensorMessage* sm );
37
38 protected:
39 virtual void sysCommand( const uniset::SystemMessage* sm ) override;
40 virtual void sensorInfo( const uniset::SensorMessage* si ) override;
41 SMonitor();
42
43 private:
44 typedef std::list<uniset::ParamSInfo> MyIDList;
45 MyIDList lst;
46 std::string script;
47 };
48 // -------------------------------------------------------------------------
49} // end of uniset namespace
50// -----------------------------------------------------------------------------
51#endif
52// -----------------------------------------------------------------------------
Definition SMonitor.h:29
Definition MessageType.h:127
Definition MessageType.h:171
Definition UniSetObject.h:80
Definition Calibration.h:27
long ObjectId
Definition UniSetTypes_i.idl:30