22 #include "PassiveTimer.h"
43 inline void run( timeout_t _t1_msec, timeout_t _t0_msec ) noexcept
52 inline void set_next( timeout_t _t1_msec, timeout_t _t0_msec ) noexcept
58 inline void reset() noexcept
63 inline bool step() noexcept
86 inline bool out() noexcept
91 inline void set(
bool state ) noexcept
105 friend std::ostream& operator<<(std::ostream& os,
Pulse& p )
107 return os <<
" idOn=" << p.isOn
110 <<
" out=" << p.out();
113 friend std::ostream& operator<<(std::ostream& os,
Pulse* p )
118 inline timeout_t getT1()
const noexcept
122 inline timeout_t getT0()
const noexcept
130 bool ostate = {
false };
131 bool isOn = {
false };
132 timeout_t t1_msec = { 0 };
133 timeout_t t0_msec = { 0 };
Пассивный таймер
Definition: PassiveTimer.h:90
Definition: CallbackTimer.h:29
virtual bool checkTime() const noexceptoverride
Definition: PassiveTimer.cc:46
virtual timeout_t setTiming(timeout_t msec) noexceptoverride
Definition: PassiveTimer.cc:59
virtual timeout_t getInterval() const noexceptoverride
Definition: PassiveTimer.cc:84
virtual void reset() noexcept
Definition: PassiveTimer.cc:73