CActiveSchedulerWait Class Reference

class CActiveSchedulerWait : public CBase

Controls a single scheduling loop in the current active scheduler.

This class provides better control of nested wait loops in the active scheduler.

Note that a CActiveSchedulerWait object can be used as a data member inside other CBase derived classes.

CActiveScheduler

Inherits from

  • CActiveSchedulerWait

Constructor & Destructor Documentation

CActiveSchedulerWait()

IMPORT_CCActiveSchedulerWait()

~CActiveSchedulerWait()

IMPORT_C~CActiveSchedulerWait()

Member Functions Documentation

AsyncStop()

IMPORT_C voidAsyncStop()

AsyncStop(const TCallBack &)

IMPORT_C voidAsyncStop(const TCallBack &aCallMeWhenStopped)

Parameters

const TCallBack & aCallMeWhenStopped

CanStopNow()

IMPORT_C TBoolCanStopNow()const

IsStarted()

TBool IsStarted()const [inline]

Reports whether this CActiveSchedulerWait object is currently started.

Note: a CActiveSchedulerWait object itself becomes "stopped" as soon as AsyncStop() is called, and can be started again immediately if required (but this would start a new nested level of the scheduler).

True if the scheduling loop is active; false, otherwise.

CActiveSchedulerWait::Start

CActiveSchedulerWait::AsyncStop

Start()

IMPORT_C voidStart()

Member Data Documentation

CActiveScheduler::TLoopOwner iLoop

CActiveScheduler::TLoopOwner iLoop[private]