Motorcortex Core
version: 2.7.6
wd_sim.h
1
/*
2
* Developer : Alexey Zakharov (alexey.zakharov@vectioneer.com)
3
* All rights reserved. Copyright (c) 2018 VECTIONEER.
4
*/
5
6
#ifndef MOTORCORTEX_CORE_WD_SIM_H
7
#define MOTORCORTEX_CORE_WD_SIM_H
8
9
#include "wd_base.h"
10
#include "wd_pulsegen.h"
11
12
namespace
mcx {
13
14
namespace
watchdog {
15
16
class
WatchdogSim
:
public
WatchdogBase
{
17
public
:
18
19
WatchdogSim
() =
default
;
20
21
~
WatchdogSim
()
override
=
default
;
22
23
bool
open(
const
char
* device)
override
;
24
25
void
update(
const
WatchdogIn
& in,
WatchdogOut
* out)
override
;
26
27
private
:
28
29
PulseGenerator
pulse_generator_;
30
31
};
32
33
}
// namespace watchdog
34
35
}
// namespace mcx
36
37
#endif //MOTORCORTEX_CORE_WD_SIM_H
mcx::watchdog::WatchdogSim
Definition:
wd_sim.h:16
mcx::watchdog::WatchdogBase
Definition:
wd_base.h:29
mcx::watchdog::WatchdogIn
Definition:
wd_base.h:13
mcx::watchdog::PulseGenerator
Definition:
wd_pulsegen.h:12
mcx::watchdog::WatchdogOut
Definition:
wd_base.h:20
watchdog
wd_sim.h
Generated by
1.8.18