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

VCF::LinuxRunLoopPeer Class Reference

#include <LinuxRunLoopPeer.h>

Inheritance diagram for VCF::LinuxRunLoopPeer:

VCF::RunLoopPeer List of all members.

Public Member Functions

 LinuxRunLoopPeer (RunLoop *runLoop)
virtual ~LinuxRunLoopPeer ()
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 handleTimers (const String &mode)

Static Protected Member Functions

static void TimerSignalHandler (int sig, siginfo_t *extra, void *)

Protected Attributes

RunLooprunLoop_
VCF::LinuxRunLoopPeer::PostedEvents postedEvents_
VCF::LinuxRunLoopPeer::StopEvent stopEvent_
VCF::LinuxRunLoopPeer::TimerMap activeTimers_

Friends

class TimerSignalInstaller

Classes

class  PostedEvents
class  StopEvent
class  TimerInfo
class  TimerMap

Constructor & Destructor Documentation

VCF::LinuxRunLoopPeer::LinuxRunLoopPeer RunLoop runLoop  ) 
 

virtual VCF::LinuxRunLoopPeer::~LinuxRunLoopPeer  )  [virtual]
 


Member Function Documentation

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

Implements VCF::RunLoopPeer.

virtual OSHandleID VCF::LinuxRunLoopPeer::getHandleID  )  [inline, virtual]
 

Implements VCF::RunLoopPeer.

void VCF::LinuxRunLoopPeer::handleTimers const String mode  )  [protected]
 

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

Implements VCF::RunLoopPeer.

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

Implements VCF::RunLoopPeer.

virtual void VCF::LinuxRunLoopPeer::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.

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

Implements VCF::RunLoopPeer.

static void VCF::LinuxRunLoopPeer::TimerSignalHandler int  sig,
siginfo_t *  extra,
void * 
[static, protected]
 


Friends And Related Function Documentation

friend class TimerSignalInstaller [friend]
 


Member Data Documentation

class VCF::LinuxRunLoopPeer::TimerMap VCF::LinuxRunLoopPeer::activeTimers_ [protected]
 

class VCF::LinuxRunLoopPeer::PostedEvents VCF::LinuxRunLoopPeer::postedEvents_ [protected]
 

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

class VCF::LinuxRunLoopPeer::StopEvent VCF::LinuxRunLoopPeer::stopEvent_ [protected]
 


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