UniSet
2.6.0
Титульная страница
Описания
Группы
Пространства имен
Классы
include
WDTInterface.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 WDTInterface_H_
18
#define WDTInterface_H_
19
/*
20
Для всех станций кроме GUI используется драйвер wdt686.o и девайс /dev/wdt с мажером 208 и минором 0
21
для GUI используется i810-tco, а девайс /dev/watchdog создаваемый через мискдевайс(?)
22
*/
23
//--------------------------------------------------------------------------
24
#include <string>
25
namespace
uniset
26
{
27
28
class
WDTInterface
29
{
30
public
:
31
WDTInterface
(
const
std::string& dev );
32
~
WDTInterface
();
33
34
bool
ping();
35
bool
stop();
36
37
protected
:
38
const
std::string dev;
39
};
40
// -------------------------------------------------------------------------
41
}
// end of uniset namespace
42
//--------------------------------------------------------------------------
43
#endif
uniset::WDTInterface
Definition:
WDTInterface.h:28
uniset
Definition:
CallbackTimer.h:29
Документация по UniSet. Последние изменения: Чт 2 Мар 2017 19:20:31. Создано системой
1.8.8