UniSet
2.6.0
Титульная страница
Описания
Группы
Пространства имен
Классы
extensions
SharedMemory
tests
TestObject.h
1
#ifndef _TestObject_H_
2
#define _TestObject_H_
3
// -----------------------------------------------------------------------------
4
#include "TestObject_SK.h"
5
// -----------------------------------------------------------------------------
6
class
TestObject
:
7
public
TestObject_SK
8
{
9
public
:
10
TestObject
(
uniset::ObjectId
objId, xmlNode* cnode );
11
virtual
~
TestObject
();
12
13
void
askDoNotNotify();
14
void
askNotifyChange();
15
void
askNotifyFirstNotNull();
16
17
inline
bool
getEvnt()
18
{
19
return
evntIsOK;
20
}
21
22
void
stopHeartbeat();
23
void
runHeartbeat(
int
max = 3 );
24
25
inline
uniset::timeout_t getHeartbeatTime()
26
{
27
return
ptHeartBeat.getInterval();
28
}
29
30
protected
:
31
TestObject
();
32
33
virtual
void
sysCommand(
const
uniset::SystemMessage
* sm )
override
;
34
35
private
:
36
bool
evntIsOK = {
false
};
37
};
38
// -----------------------------------------------------------------------------
39
#endif // _TestObject_H_
40
// -----------------------------------------------------------------------------
Документация по UniSet. Последние изменения: Вс 15 Янв 2017 18:59:12. Создано системой
1.8.1.2