|
virtual void | Execute () override |
| Override this to implement the task's supposed functionality.
|
|
void | ConfigureTask (const char *szTaskName, plTaskNesting nestingMode, plOnTaskFinishedCallback callback=plOnTaskFinishedCallback()) |
| 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 (plUInt32 uiMultiplicity) |
| Changes the multiplicity of this task.
|
|
plUInt32 | 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 | ~plRefCounted ()=default |
| Adds a virtual destructor.
|
|
| plRefCountingImpl ()=default |
| Constructor.
|
|
| plRefCountingImpl (const plRefCountingImpl &rhs) |
|
void | operator= (const plRefCountingImpl &rhs) |
|
plInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count.
|
|
plInt32 | 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.
|
|
plInt32 | GetRefCount () const |
| Returns the current reference count.
|
|
|
virtual void | ExecuteWithMultiplicity (plUInt32 uiInvocation) const |
| Override this to implement the task's supposed functionality.
|
|
◆ Execute()
void plSaveDocumentTask::Execute |
( |
| ) |
|
|
overridevirtual |
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 plTaskSystem.
Reimplemented from plTask.
The documentation for this class was generated from the following files:
- Code/Tools/Libs/ToolsFoundation/Document/DocumentTasks.h
- Code/Tools/Libs/ToolsFoundation/Document/Implementation/DocumentTasks.cpp