CXTask
From cxwiki
The CXTask class provides a mechanism for applications to request regular updates in a non-threaded manner. The application derives from CXTask and provides a CXTask::Idle() override which is called once per task update. Each CXTask must be registered with a CXTaskHost in order to receive updates. Updates occur whenever the CXTaskHost::IdleTasks() function is called.