UniSet 2.32.1
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/* DEPRECATED!!!
20 * \todo нужно либо выкинуть, либо сделать нормальный расширяемый интерфейс
21 *
22 * Для всех станций кроме GUI используется драйвер wdt686.o и девайс /dev/wdt с мажером 208 и минором 0
23 * для GUI используется i810-tco, а девайс /dev/watchdog создаваемый через мискдевайс(?)
24 */
25//--------------------------------------------------------------------------
26#include <string>
27namespace uniset
28{
29
31 {
32 public:
33 WDTInterface( const std::string& dev );
35
36 bool ping();
37 bool stop();
38
39 protected:
40 const std::string dev;
41 };
42 // -------------------------------------------------------------------------
43} // end of uniset namespace
44//--------------------------------------------------------------------------
45#endif
Definition WDTInterface.h:31
Definition Calibration.h:27