Handler.h File Reference


Detailed Description

High-level thread dispatching/scheduling class.

#include <support/Atom.h>
#include <support/Locker.h>
#include <support/Message.h>
#include <support/MessageList.h>
#include <support/SupportDefs.h>
#include <support/Context.h>

Go to the source code of this file.

Classes

class  SHandler
 SHandler is an event queue to deliver and process SMessage objects. More...
class  SHandler::filter_functor
class  SHandler::filter_functor_base
 Functor callback for FilterMessages(). More...

Typedefs

typedef SHandler BHandler

Enumerations

enum  { B_POST_REMOVE_DUPLICATES = SHandler::POST_REMOVE_DUPLICATES, B_POST_KEEP_UNIQUE = SHandler::POST_KEEP_UNIQUE, B_POST_UNIQUE_MESSAGE = B_POST_REMOVE_DUPLICATES }
enum  { B_FILTER_REVERSE_FLAG = SHandler::FILTER_REVERSE_FLAG, B_FILTER_FUTURE_FLAG = SHandler::FILTER_FUTURE_FLAG }
 Flags for SHandler::FilterMessages() and SHandler::RemoveMessages(). More...

Functions

nsecs_t approx_SysGetRunTime ()
 Optimization for retrieving the current time.
nsecs_t exact_SysGetRunTime ()
 Retrieves exact time and updates approx_SysGetRunTime().