Lines Matching refs:TimerScheduler
79 class TimerScheduler class
80 : public ::boost::enable_shared_from_this<TimerScheduler>,
84 static ::boost::shared_ptr<TimerScheduler> Instance (void);
104 static ::boost::shared_ptr<TimerScheduler> mpInstance;
117 TimerScheduler (void);
118 virtual ~TimerScheduler (void);
119 class Deleter {public: void operator () (TimerScheduler* pScheduler) { delete pScheduler; } }; in operator ()()
149 SharedTimerTask pTask (TimerScheduler::CreateTimerTask(rTask, rDueTime, 0)); in ScheduleSingleTaskAbsolute()
150 TimerScheduler::Instance()->ScheduleTask(pTask); in ScheduleSingleTaskAbsolute()
163 if (TimerScheduler::GetCurrentTime(aCurrentTime)) in ScheduleRepeatedTask()
166 TimerScheduler::ConvertToTimeValue( in ScheduleRepeatedTask()
168 TimerScheduler::ConvertFromTimeValue (aCurrentTime) + nDelay); in ScheduleRepeatedTask()
169 SharedTimerTask pTask (TimerScheduler::CreateTimerTask(rTask, aDueTime, nIntervall)); in ScheduleRepeatedTask()
170 TimerScheduler::Instance()->ScheduleTask(pTask); in ScheduleRepeatedTask()
182 return TimerScheduler::Instance()->CancelTask(nTaskId); in CancelTask()
190 ::boost::shared_ptr<TimerScheduler> TimerScheduler::mpInstance;
191 ::osl::Mutex TimerScheduler::maInstanceMutex;
192 sal_Int32 TimerScheduler::mnTaskId = PresenterTimer::NotAValidTaskId;
194 ::boost::shared_ptr<TimerScheduler> TimerScheduler::Instance (void) in Instance()
196 ::boost::shared_ptr<TimerScheduler> pInstance = mpInstance; in Instance()
203 pInstance.reset(new TimerScheduler(), TimerScheduler::Deleter()); in Instance()
218 void TimerScheduler::Release (void) in Release()
227 TimerScheduler::TimerScheduler (void) in TimerScheduler() function in sdext::presenter::TimerScheduler
239 TimerScheduler::~TimerScheduler (void) in ~TimerScheduler()
245 SharedTimerTask TimerScheduler::CreateTimerTask ( in CreateTimerTask()
256 void TimerScheduler::ScheduleTask (const SharedTimerTask& rpTask) in ScheduleTask()
276 void TimerScheduler::CancelTask (const sal_Int32 nTaskId) in CancelTask()
317 void SAL_CALL TimerScheduler::run (void) in run()
396 void SAL_CALL TimerScheduler::onTerminated (void) in onTerminated()
404 bool TimerScheduler::GetCurrentTime (TimeValue& rCurrentTime) in GetCurrentTime()
415 sal_Int64 TimerScheduler::GetTimeDifference ( in GetTimeDifference()
425 void TimerScheduler::ConvertToTimeValue ( in ConvertToTimeValue()
436 sal_Int64 TimerScheduler::ConvertFromTimeValue ( in ConvertFromTimeValue()
578 TimerScheduler::GetCurrentTime(aCurrentTime); in GetCurrentTime()
596 return TimerScheduler::GetTimeDifference(aNow, aThen); in GetTimeDifference()