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.
Public Member Functions | |
---|---|
CActiveSchedulerWait() | |
~CActiveSchedulerWait() | |
IMPORT_C void | AsyncStop() |
IMPORT_C void | AsyncStop(const TCallBack &) |
IMPORT_C TBool | CanStopNow() |
TBool | IsStarted() |
IMPORT_C void | Start() |
Private Attributes | |
---|---|
CActiveScheduler::TLoopOwner | iLoop |
IMPORT_C void | AsyncStop | ( | const TCallBack & | aCallMeWhenStopped | ) |
const TCallBack & aCallMeWhenStopped |
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.