This template class is used to create tasks which could be added to a form and executed after the last UnlockRepaint call. Please see CreateTask function for more information.

You can find more information in comments below.

template<class Type>
class CTask :public virtual ITask
    Type m_fRun;
    void Run() override;
    void Release() override;

    CTask(Type run);
    virtual ~CTask() = default;
Namespace: nitisa
Include: Nitisa/Core/Task.h