XII Release 0.1.0
Loading...
Searching...
No Matches
xiiResourceManagerWorkerDataLoad Class Referencefinal

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <WorkerTasks.h>

Inheritance diagram for xiiResourceManagerWorkerDataLoad:
[legend]

Private Member Functions

virtual void Execute () override

Friends

class xiiResourceManager
class xiiResourceManagerState

Additional Inherited Members

Public Member Functions inherited from xiiTask
 xiiTask ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void ConfigureTask (xiiStringView sTaskName, xiiTaskNesting nestingMode, xiiOnTaskFinishedCallback callback=xiiOnTaskFinishedCallback())
void SetMultiplicity (xiiUInt32 uiMultiplicity)
xiiUInt32 GetMultiplicity () const
bool IsTaskFinished () const
bool HasBeenCanceled () const
 Can be used inside an overridden 'Execute' function to terminate execution prematurely.
Public Member Functions inherited from xiiRefCounted
virtual ~xiiRefCounted ()=default
 Adds a virtual destructor.
Public Member Functions inherited from xiiRefCountingImpl
 xiiRefCountingImpl ()=default
 Constructor.
 xiiRefCountingImpl (const xiiRefCountingImpl &rhs)
void operator= (const xiiRefCountingImpl &rhs)
xiiUInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
bool TryAddRef () const
xiiUInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.ywat.
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
xiiUInt32 GetRefCount () const
 Returns the current reference count.
Protected Member Functions inherited from xiiTask
virtual void ExecuteWithMultiplicity (xiiUInt32 uiInvocation) const

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

[internal] Worker task for loading resources (typically from disk).

Member Function Documentation

◆ Execute()

void xiiResourceManagerWorkerDataLoad::Execute ( )
overrideprivatevirtual

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 files:
  • /home/runner/work/XII/XII/Source/Engine/Core/ResourceManager/Implementation/WorkerTasks.h
  • /home/runner/work/XII/XII/Source/Engine/Core/ResourceManager/Implementation/WorkerTasks.cpp