CTask


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
{
private:
    Type m_fRun;
public:
    void Run() override;
    void Release() override;

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