How to add Active Object to the Active Scheduler

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: User:Kanu123 (29 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)

Gui Application provides active schedulers, so you just need to call the add method of the active scheduler.

// Adding the Active Object ( Class derived from CActive ) to scheduler

In Non-Gui applications ( exe's in 2nd edition ), you need to create and install the active scheduler by your own.

// Creating Active Scheduler
CActiveScheduler* Scheduler = new ( ELeave ) CActiveScheduler;
CleanupStack::PushL( Scheduler );
//Installing Active Scheduler
CActiveScheduler::Install( Scheduler );

Internal Links:

This page was last modified on 26 July 2012, at 06:14.
40 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.