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

VCF::Win32RunLoopPeer Class Reference

#include <Win32RunLoopPeer.h>

Inheritance diagram for VCF::Win32RunLoopPeer:

VCF::RunLoopPeer List of all members.

Public Member Functions

 Win32RunLoopPeer (RunLoop *runLoop)
virtual ~Win32RunLoopPeer ()
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

bool handleMessageAndContinue (MSG &msg)
void handleTimers (const String &mode)
void removeAll ()

Protected Attributes

RunLooprunLoop_
std::map< uint32, TimerInfo * > activeTimers_

Classes

class  TimerInfo

Constructor & Destructor Documentation

VCF::Win32RunLoopPeer::Win32RunLoopPeer RunLoop runLoop  ) 
 

virtual VCF::Win32RunLoopPeer::~Win32RunLoopPeer  )  [virtual]
 


Member Function Documentation

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

Implements VCF::RunLoopPeer.

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

Implements VCF::RunLoopPeer.

bool VCF::Win32RunLoopPeer::handleMessageAndContinue MSG &  msg  )  [protected]
 

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

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

Implements VCF::RunLoopPeer.

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

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

Implements VCF::RunLoopPeer.

virtual void VCF::Win32RunLoopPeer::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::Win32RunLoopPeer::stop  )  [virtual]
 

Implements VCF::RunLoopPeer.


Member Data Documentation

std::map<uint32,TimerInfo*> VCF::Win32RunLoopPeer::activeTimers_ [protected]
 

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


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