ezEngine  Milestone 7
ezDelegateTask< void > Class Template Reference
Inheritance diagram for ezDelegateTask< void >:

Public Types

typedef ezDelegate< void()> FunctionType
 

Public Member Functions

 ezDelegateTask (const char *szName, FunctionType func)
 
- Public Member Functions inherited from ezTask
void SetTaskName (const char *szName)
 Changes the name of the task, which it will be displayed in profiling tools. More...
 
void SetOnTaskFinished (OnTaskFinished Callback)
 Sets an additional callback function to execute when the task is finished (or canceled). The most common use case for this is to deallocate the task at this time.
 
bool IsTaskFinished () const
 Returns whether the task has been finished. This includes being canceled. More...
 
bool HasBeenCanceled () const
 Can be used inside an overridden 'Execute' function to terminate execution prematurely.
 

Private Member Functions

virtual void Execute () override
 Override this to implement the task's supposed functionality.
 

Private Attributes

FunctionType m_func
 

The documentation for this class was generated from the following file: