Lines Matching refs:runLoop
28 #include "RunLoop.h"
33 RunLoop::RunLoop()
41 RunLoop::~RunLoop()
53 void RunLoop::run()
55 g_main_loop_run(RunLoop::main()->mainLoop());
58 GMainLoop* RunLoop::mainLoop()
63 void RunLoop::stop()
68 gboolean RunLoop::queueWork(RunLoop* runLoop)
70 runLoop->performWork();
74 void RunLoop::wakeUp()
78 g_source_set_callback(source.get(), reinterpret_cast<GSourceFunc>(&RunLoop::queueWork), this, 0);
84 RunLoop::TimerBase::TimerBase(RunLoop* runLoop)
85 : m_runLoop(runLoop)
90 RunLoop::TimerBase::~TimerBase()
95 void RunLoop::TimerBase::clearTimerSource()
100 void RunLoop::TimerBase::destroyNotifyCallback(RunLoop::TimerBase* timer)
105 gboolean RunLoop::TimerBase::timerFiredCallback(RunLoop::TimerBase* timer)
111 void RunLoop::TimerBase::start(double fireInterval, bool repeat)
118 g_source_set_callback(m_timerSource.get(), reinterpret_cast<GSourceFunc>(&RunLoop::TimerBase::timerFiredCallback), this,
119 reinterpret_cast<GDestroyNotify>(&RunLoop::TimerBase::destroyNotifyCallback));
123 void RunLoop::TimerBase::stop()
132 bool RunLoop::TimerBase::isActive() const