23#include "PassiveTimer.h"
70 inline void run( timeout_t msec )
noexcept
78 inline void reset()
noexcept
84 inline timeout_t duration()
const noexcept
92 inline bool rotate(
bool st )
noexcept
130 inline timeout_t current()
const noexcept
136 inline timeout_t interval()
const noexcept
142 inline bool check()
const noexcept
152 inline bool enabled()
const noexcept
158 inline timeout_t amount()
const noexcept
160 return (
_size - remain() );
164 inline timeout_t remain()
const noexcept
174 timeout_t ret = (
_sand + c );
183 int ret = (
_sand - c );
Definition HourGlass.h:64
timeout_t _sand
Definition HourGlass.h:194
bool _state
Definition HourGlass.h:193
timeout_t _size
Definition HourGlass.h:195
PassiveTimer t
Definition HourGlass.h:192
Пассивный таймер
Definition PassiveTimer.h:94
virtual timeout_t setTiming(timeout_t msec) noexcept override
Definition PassiveTimer.cc:59
virtual bool checkTime() const noexcept override
Definition PassiveTimer.cc:46
virtual timeout_t getInterval() const noexcept override
Definition PassiveTimer.cc:84
virtual timeout_t getCurrent() const noexcept override
Definition PassiveTimer.cc:79
Definition Calibration.h:27