Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::OSXRunLoopPeer Class Reference

#include <OSXRunLoopPeer.h>

Inheritance diagram for VCF::OSXRunLoopPeer:

VCF::RunLoopPeer List of all members.

Public Member Functions

 OSXRunLoopPeer (RunLoop *runLoop)
virtual ~OSXRunLoopPeer ()
virtual void run (const String &mode, const DateTime *duration)
 Run the run for some duration.
virtual void stop ()
virtual void postEvent (Event *event, EventHandler *handler, bool deleteHandler)
virtual OSHandleID getHandleID ()
virtual uint32 addTimer (const String &mode, Object *source, EventHandler *handler, uint32 timeoutInMilliSeconds)
virtual void removeTimer (uint32 timerID)

Protected Member Functions

void removeAll ()

Static Protected Member Functions

static void SrcScheduleCallBack (void *info, CFRunLoopRef rl, CFStringRef mode)
static void SrcCancelCallBack (void *info, CFRunLoopRef rl, CFStringRef mode)
static void SrcPerformCallBack (void *info)
static void TimerCallBack (CFRunLoopTimerRef timer, void *info)

Protected Attributes

RunLooprunLoop_
CFRunLoopSourceRef runLoopSrc_

Classes

class  TimerInfo

Constructor & Destructor Documentation

VCF::OSXRunLoopPeer::OSXRunLoopPeer RunLoop runLoop  ) 
 

virtual VCF::OSXRunLoopPeer::~OSXRunLoopPeer  )  [virtual]
 


Member Function Documentation

virtual uint32 VCF::OSXRunLoopPeer::addTimer const String mode,
Object source,
EventHandler handler,
uint32  timeoutInMilliSeconds
[virtual]
 

Implements VCF::RunLoopPeer.

virtual OSHandleID VCF::OSXRunLoopPeer::getHandleID  )  [virtual]
 

Implements VCF::RunLoopPeer.

virtual void VCF::OSXRunLoopPeer::postEvent Event event,
EventHandler handler,
bool  deleteHandler
[virtual]
 

Implements VCF::RunLoopPeer.

void VCF::OSXRunLoopPeer::removeAll  )  [protected]
 

virtual void VCF::OSXRunLoopPeer::removeTimer uint32  timerID  )  [virtual]
 

Implements VCF::RunLoopPeer.

virtual void VCF::OSXRunLoopPeer::run const String mode,
const DateTime duration
[virtual]
 

Run the run for some duration.

If duration is NULL then run forever until a stop() is called.

Implements VCF::RunLoopPeer.

static void VCF::OSXRunLoopPeer::SrcCancelCallBack void *  info,
CFRunLoopRef  rl,
CFStringRef  mode
[static, protected]
 

static void VCF::OSXRunLoopPeer::SrcPerformCallBack void *  info  )  [static, protected]
 

static void VCF::OSXRunLoopPeer::SrcScheduleCallBack void *  info,
CFRunLoopRef  rl,
CFStringRef  mode
[static, protected]
 

virtual void VCF::OSXRunLoopPeer::stop  )  [virtual]
 

Implements VCF::RunLoopPeer.

static void VCF::OSXRunLoopPeer::TimerCallBack CFRunLoopTimerRef  timer,
void *  info
[static, protected]
 


Member Data Documentation

RunLoop* VCF::OSXRunLoopPeer::runLoop_ [protected]
 

CFRunLoopSourceRef VCF::OSXRunLoopPeer::runLoopSrc_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information