26 #include "UniSetTypes.h" 27 #include "MessageType.h" 28 #include "PassiveTimer.h" 29 #include "Exceptions.h" 112 uniset::Message::Priority p = uniset::Message::High );
160 uniset::Message::Priority
priority = { uniset::Message::High };
169 bool operator < (
const TimerInfo& ti )
const 177 class Timer_eq:
public std::unary_function<TimerInfo, bool>
182 inline bool operator()(
const TimerInfo& ti)
const 184 return ( ti.
id == tid );
191 typedef std::deque<TimerInfo> TimersList;
195 TimersList getTimersList()
const;
204 Debug::type loglevel = { Debug::LEVEL3 };
Пассивный таймер
Definition: PassiveTimer.h:92
timeout_t sleepTime
Definition: LT_Object.h:193
virtual void reset() noexcept override
Definition: PassiveTimer.cc:73
Definition: CommonEventLoop.h:14
virtual std::string getTimerName(int id) const
Definition: LT_Object.cc:161
Definition: UniSetObject.h:73
Definition: LT_Object.h:177
timeout_t curTimeMS
Definition: LT_Object.h:159
virtual timeout_t setTiming(timeout_t msec) noexcept override
Definition: PassiveTimer.cc:59
long TimerId
Definition: UniSetTypes_i.idl:32
timeout_t getTimeInterval(uniset::TimerId timerid) const
Definition: LT_Object.cc:126
timeout_t getTimeLeft(uniset::TimerId timerid) const
Definition: LT_Object.cc:140
virtual timeout_t askTimer(uniset::TimerId timerid, timeout_t timeMS, clock_t ticks=-1, uniset::Message::Priority p=uniset::Message::High)
Definition: LT_Object.cc:167
virtual timeout_t getInterval() const noexcept override
Definition: PassiveTimer.cc:84
timeout_t checkTimers(UniSetObject *obj)
Definition: LT_Object.cc:45
Definition: LT_Object.h:97
uniset::TimerId id
Definition: LT_Object.h:158
Definition: LT_Object.h:140
uniset::Message::Priority priority
Definition: LT_Object.h:160
clock_t curTick
Definition: LT_Object.h:166