pleyo.com

BC::BCEventLoopGeneric Class Reference

#include <BCEventLoopGeneric.h>

Inheritance diagram for BC::BCEventLoopGeneric:

BAL::BIEventLoop

List of all members.

Public Member Functions

 BCEventLoopGeneric ()
 Constructor of Event Loop.
virtual ~BCEventLoopGeneric ()
 Destructor.
virtual bool isInitialized () const
 isInitialized
virtual void quit ()
 quit() posts an event in event loop to quit
virtual bool WaitEvent (BAL::BIEvent *&)
 WaitEvent waits for next event.
virtual bool PushEvent (BAL::BIEvent *)
 
Parameters:
aBALEvent(in) 


Protected Member Functions

BAL::BIEventCreateEventFromGenericEvent ()

Protected Attributes

bool m_initialized
Vector< BAL::BIEvent * > m_event


Detailed Description

the generic event loop
See also:
BIEvent

Constructor & Destructor Documentation

BC::BCEventLoopGeneric::BCEventLoopGeneric (  ) 

Constructor of Event Loop.

Construcs and set the m_initialized flag

BC::BCEventLoopGeneric::~BCEventLoopGeneric (  )  [virtual]

Destructor.


Member Function Documentation

bool BC::BCEventLoopGeneric::isInitialized (  )  const [virtual]

isInitialized

returns true if event loop correctly initialized

Implements BAL::BIEventLoop.

void BC::BCEventLoopGeneric::quit (  )  [virtual]

quit() posts an event in event loop to quit

Implements BAL::BIEventLoop.

bool BC::BCEventLoopGeneric::WaitEvent ( BAL::BIEvent *&  aBALEvent  )  [virtual]

WaitEvent waits for next event.

Parameters:
aBALEvent(out) the BAL event returned
Returns:
true if event ok and loop can go on

false else

Implements BAL::BIEventLoop.

bool BC::BCEventLoopGeneric::PushEvent ( BAL::BIEvent aBALEvent  )  [virtual]

Parameters:
aBALEvent(in) 

Returns:
true if event ok and loop can go on

false else

Implements BAL::BIEventLoop.

BAL::BIEvent* BC::BCEventLoopGeneric::CreateEventFromGenericEvent (  )  [protected]


Member Data Documentation

bool BC::BCEventLoopGeneric::m_initialized [protected]

Vector<BAL::BIEvent*> BC::BCEventLoopGeneric::m_event [protected]


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com