IThreadTask

C++
struct IThreadTask {
};
File

IThreadTask.h

Description

Tasks must implement this interface.

IThreadTask::~IThreadTask Destructor
C++
virtual ~IThreadTask();
IThreadTask::GetTaskInfo Method
C++
virtual struct SThreadTaskInfo* GetTaskInfo() = 0;
Description

Returns task info

IThreadTask::OnUpdate Method
C++
virtual void OnUpdate() = 0;
IThreadTask::Stop Method
C++
virtual void Stop() = 0;
Description

Called to indicate that this task must quit. Warning! can be called from different thread then OnUpdate call.