23#include "PassiveTimer.h"
66 HourGlass()
noexcept {}
67 ~HourGlass()
noexcept {}
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
102 timeout_t cur =
t.getCurrent();
113 timeout_t cur =
t.getCurrent();
130 inline timeout_t current()
const noexcept
132 return t.getCurrent();
136 inline timeout_t interval()
const noexcept
138 return t.getInterval();
142 inline bool check()
const noexcept
149 return t.checkTime();
152 inline bool enabled()
const noexcept
158 inline timeout_t amount()
const noexcept
160 return (
_size - remain() );
164 inline timeout_t remain()
const noexcept
166 timeout_t c =
t.getCurrent();
174 timeout_t ret = (
_sand + c );
183 int ret = (
_sand - c );
timeout_t _sand
Определения HourGlass.h:194
bool _state
Определения HourGlass.h:193
timeout_t _size
Определения HourGlass.h:195
PassiveTimer t
Определения HourGlass.h:192
Пассивный таймер
Определения PassiveTimer.h:94
Определения Calibration.h:27