Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
EventLoop source for timer execution. More...
#include <loop.hh>
Inherits Rapicorn::EventLoop::Source.
Public Member Functions | |
TimedSource (const BoolSlot &slot, uint initial_interval_msecs=0, uint repeat_interval_msecs=0) | |
TimedSource (const VoidSlot &slot, uint initial_interval_msecs=0, uint repeat_interval_msecs=0) | |
Protected Member Functions | |
virtual bool | prepare (const State &state, int64 *timeout_usecs_p) |
Prepare the source for dispatching (true return) or polling (false). | |
virtual bool | check (const State &state) |
Check the source and its PollFD descriptors for dispatching (true return). | |
virtual bool | dispatch (const State &state) |
Dispatch source, returns if it should be kept alive. |
EventLoop source for timer execution.