|
using | FunctionType = xiiDelegate<void()> |
|
using | FunctionType |
|
|
| xiiDelegateTask (xiiStringView sTaskName, xiiTaskNesting taskNesting, FunctionType func) |
|
| xiiDelegateTask (xiiStringView sTaskName, xiiTaskNesting taskNesting, FunctionType func, const void ¶m) |
|
void | ConfigureTask (xiiStringView sTaskName, xiiTaskNesting nestingMode, xiiOnTaskFinishedCallback callback=xiiOnTaskFinishedCallback()) |
| Sets the most important task properties. This has to be done before the task is added to a task group for the first time.
|
|
void | SetMultiplicity (xiiUInt32 uiMultiplicity) |
| Changes the multiplicity of this task.
|
|
xiiUInt32 | GetMultiplicity () const |
|
bool | IsTaskFinished () const |
| Returns whether the task has been finished. This includes being canceled.
|
|
bool | HasBeenCanceled () const |
| Can be used inside an overridden 'Execute' function to terminate execution prematurely.
|
|
virtual | ~xiiRefCounted ()=default |
| Adds a virtual destructor.
|
|
| xiiRefCountingImpl ()=default |
| Constructor.
|
|
| xiiRefCountingImpl (const xiiRefCountingImpl &rhs) |
|
void | operator= (const xiiRefCountingImpl &rhs) |
|
xiiUInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count.
|
|
xiiUInt32 | ReleaseRef () const |
| Decrements the reference counter. Returns the new reference count.
|
|
bool | IsReferenced () const |
| Returns true if the reference count is greater than 0, false otherwise.
|
|
xiiUInt32 | GetRefCount () const |
| Returns the current reference count.
|
|
|
virtual void | Execute () override |
| Override this to implement the task's supposed functionality.
|
|
|
virtual void | ExecuteWithMultiplicity (xiiUInt32 uiInvocation) const |
| Override this to implement the task's supposed functionality.
|
|
◆ Execute() [1/2]
|
inlineoverrideprivatevirtual |
Override this to implement the task's supposed functionality.
This function is called for tasks that do not use multiplicity. They are executed a single time for each time they are added to the xiiTaskSystem.
Reimplemented from xiiTask.
◆ Execute() [2/2]
|
inlineoverrideprivatevirtual |
Override this to implement the task's supposed functionality.
This function is called for tasks that do not use multiplicity. They are executed a single time for each time they are added to the xiiTaskSystem.
Reimplemented from xiiTask.
The documentation for this class was generated from the following file:
- /home/runner/work/XII/XII/Source/Engine/Foundation/Threading/DelegateTask.h