35 return ( nWakeupTime <= nTimeNow )
41 , mnTimeout(
Scheduler::ImmediateTimeoutMs )
48 :
Timer( false, pDebugName )
53 :
Timer( rTimer.mbAuto, rTimer.GetDebugName() )
69 "Copying Timer with different mbAuto value!" );
99 :
Timer( true, pDebugName )
AutoTimer(const char *pDebugName)
static constexpr sal_uInt64 ImmediateTimeoutMs
void SetPriority(TaskPriority ePriority)
const ImplSchedulerData * GetSchedulerData() const
Task & operator=(const Task &rTask)
virtual void Start(bool bStartTimer=true)
Schedules the task for execution.
virtual void SetDeletionFlags()
static void StartTimer(sal_uInt64 nMS)
Link< Timer *, void > maInvokeHandler
Callback Link.
virtual sal_uInt64 UpdateMinPeriod(sal_uInt64 nTimeNow) const override
How long (in MS) until the Task is ready to be dispatched?
void SetTimeout(sal_uInt64 nTimeoutMs)
virtual void Start(bool bStartTimer=true) override
Schedules the task for execution.
virtual void Invoke() override
Calls the maInvokeHandler with the parameter this.
Timer(bool bAuto, const char *pDebugName)
Timer & operator=(const Timer &rTimer)
virtual ~Timer() override
virtual void SetDeletionFlags() override
#define SAL_WARN_IF(condition, area, stream)
sal_uInt64 mnUpdateTime
Last Update Time.
@ DEFAULT
Default priority used, e.g. the default timer priority.