UniSet
2.6.0
Титульная страница
Описания
Группы
Пространства имен
Классы
Utilities
codegen
tests
TestGen.h
1
// -----------------------------------------------------------------------------
2
#ifndef TestGen_H_
3
#define TestGen_H_
4
// -----------------------------------------------------------------------------
5
#include "TestGen_SK.h"
6
// -----------------------------------------------------------------------------
7
class
TestGen
:
8
public
TestGen_SK
9
{
10
public
:
11
TestGen
(
uniset::ObjectId
id
, xmlNode* confnode =
uniset::uniset_conf
()->getNode(
"TestGen"
) );
12
virtual
~
TestGen
();
13
14
protected
:
15
TestGen
();
16
17
virtual
void
step()
override
;
18
virtual
void
sensorInfo(
const
uniset::SensorMessage
* sm )
override
;
19
virtual
void
timerInfo(
const
uniset::TimerMessage
* tm )
override
;
20
virtual
void
sysCommand(
const
uniset::SystemMessage
* sm )
override
;
21
virtual
void
sigterm(
int
signo )
override
;
22
#ifndef DISABLE_REST_API
23
virtual
void
httpGetUserData( Poco::JSON::Object::Ptr& jdata )
override
;
24
#endif
25
private
:
26
bool
bool_var = {
false
};
27
int
int_var = {0};
28
uniset::timeout_t t_val = { 0 };
29
};
30
// -----------------------------------------------------------------------------
31
#endif // TestGen_H_
32
// -----------------------------------------------------------------------------
Документация по UniSet. Последние изменения: Вс 15 Янв 2017 18:59:12. Создано системой
1.8.1.2