Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions
Rapicorn::EventLoop::TimedSource Class Reference

EventLoop source for timer execution. More...

#include <loop.hh>

Inherits Rapicorn::EventLoop::Source.

List of all members.

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.

Detailed Description

EventLoop source for timer execution.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines