![]() |
Thread++
Client-Server Multithreading with C++
|
Task. More...
#include <Task.h>
Public Member Functions | |
CTask () | |
Default constructor. More... | |
virtual void | Perform () |
Perform the task. More... | |
This task descriptor, derived from CBaseTask
, overrides the CBaseTask::Process()
function. The task described is merely to wait a short period of time. Your task processing code should go there.
CTask::CTask | ( | ) |
Default constructor. All this does is call the CBaseTask
default constructor. If you have any initialization code, then it should go here.
|
virtual |
Perform this task. This function overrides CBaseTask::Perform()
. The task described here is merely to wait a short period of time. Your task code should go here instead.