Drag[en]gine Game Engine  1.21
deRLTaskReadSkinInternal Class Reference

Read skin resource loader task. More...

#include <deRLTaskReadSkinInternal.h>

Inheritance diagram for deRLTaskReadSkinInternal:
deResourceLoaderTask deParallelTask deThreadSafeObject

Classes

class  cInternalTask
 For internal use only. More...
 

Public Member Functions

Constructors and Destructors
 deRLTaskReadSkinInternal (deEngine &engine, deResourceLoader &resourceLoader, deVirtualFileSystem *vfs, const char *path)
 Create task. More...
 
virtual ~deRLTaskReadSkinInternal ()
 Clean up task. More...
 
Management
virtual void Run ()
 Parallel task implementation. More...
 
virtual void Finished ()
 Synchronous processing of task Run() finished. More...
 
deSkinGetSkin () const
 Skin. More...
 
Internal use only
void AddInternalTask (cInternalTask *task)
 
- Public Member Functions inherited from deResourceLoaderTask
deVirtualFileSystemGetVFS () const
 Virtual file system. More...
 
const decStringGetPath () const
 Path. More...
 
deResourceLoader::eResourceType GetResourceType () const
 Resource type. More...
 
bool Matches (deVirtualFileSystem *vfs, const char *path, deResourceLoader::eResourceType resourceType) const
 Task matches the given path/resourceType. More...
 
deFileResourceGetResource () const
 Resource or NULL. More...
 
eStates GetState () const
 State. More...
 
eTypes GetType () const
 Type. More...
 
virtual decString GetDebugDetails () const
 Task details for debugging. More...
 
- Public Member Functions inherited from deParallelTask
deBaseModuleGetOwner () const
 Module owning the task or NULL if global. More...
 
bool GetMarkFinishedAfterRun () const
 Mark task finished after Run() method leaves. More...
 
void SetMarkFinishedAfterRun (bool markFinishedAfterRun)
 Set if task is marked finished after Run() method leaves. More...
 
bool GetEmptyRun () const
 Task has empty run implementation. More...
 
void SetEmptyRun (bool emptyRun)
 Set if task has empty run implementation. More...
 
bool GetLowPriority () const
 Task has lower priority than other tasks. More...
 
void SetLowPriority (bool lowPriority)
 Set if task has lower priority than other tasks. More...
 
bool IsCancelled () const
 Task has been cancelled. More...
 
void Cancel ()
 Cancel task. More...
 
bool GetFinished () const
 Task is finished. More...
 
void SetFinished ()
 Set task finished. More...
 
int GetDependsOnCount () const
 Number of tasks this task depends on. More...
 
deParallelTaskGetDependsOnAt (int index) const
 Depend on task at index. More...
 
bool DoesDependOn (deParallelTask *task) const
 Task depends on another task. More...
 
void AddDependsOn (deParallelTask *task)
 Add task this task depends on. More...
 
void RemoveDependsOn (deParallelTask *task)
 Remove task this task depends on. More...
 
void RemoveAllDependsOn ()
 Remove all tasks this task depends on. More...
 
decThreadSafeObjectOrderedSetGetDependedOnBy ()
 List of tasks depending on this task. More...
 
const decThreadSafeObjectOrderedSetGetDependedOnBy () const
 
void RemoveFromAllDependedOnTasks ()
 Remove from all tasks depending on this task. More...
 
bool CanRun () const
 Task can run. More...
 
void Reset ()
 Reset task. More...
 
virtual void Cancelled ()
 Parallel task implementation has been cancelled. More...
 
 deParallelTask (deBaseModule *owner)
 Create task. More...
 
- Public Member Functions inherited from deThreadSafeObject
int GetRefCount ()
 Reference count. More...
 
void AddReference ()
 Add reference increasing reference count by 1. More...
 
void FreeReference ()
 Decrease reference count by one and delete object if count reaches 0. More...
 
 deThreadSafeObject ()
 Create object with reference count of 1. More...
 

Debugging

virtual decString GetDebugName () const
 Short task name for debugging. More...
 

Additional Inherited Members

- Public Types inherited from deResourceLoaderTask
enum  eStates { esPending , esSucceeded , esFailed }
 States. More...
 
enum  eTypes { etRead , etWrite }
 Types. More...
 
- Protected Member Functions inherited from deResourceLoaderTask
 deResourceLoaderTask (deEngine &engine, deResourceLoader &resourceLoader, deVirtualFileSystem *vfs, const char *path, deResourceLoader::eResourceType resourceType)
 Create task. More...
 
virtual ~deResourceLoaderTask ()
 Clean up task. More...
 
deEngineGetEngine ()
 
deResourceLoaderGetResourceLoader ()
 
void SetResource (deFileResource *resource)
 
void SetState (eStates state)
 
void SetType (eTypes type)
 
void LogCreateEnter ()
 
void LogCreateExit ()
 
void LogRunEnter ()
 
void LogRunExit ()
 
void LogFinishedEnter ()
 
void LogFinishedExit ()
 
void LogFinished ()
 
- Protected Member Functions inherited from deParallelTask
virtual ~deParallelTask ()
 Clean up task. More...
 
- Protected Member Functions inherited from deThreadSafeObject
virtual ~deThreadSafeObject ()
 Clean up object. More...
 

Detailed Description

Read skin resource loader task.

Warning
For internal use only.

Constructor & Destructor Documentation

◆ deRLTaskReadSkinInternal()

deRLTaskReadSkinInternal::deRLTaskReadSkinInternal ( deEngine engine,
deResourceLoader resourceLoader,
deVirtualFileSystem vfs,
const char *  path 
)

Create task.

◆ ~deRLTaskReadSkinInternal()

virtual deRLTaskReadSkinInternal::~deRLTaskReadSkinInternal ( )
virtual

Clean up task.

Member Function Documentation

◆ AddInternalTask()

void deRLTaskReadSkinInternal::AddInternalTask ( cInternalTask task)

◆ Finished()

virtual void deRLTaskReadSkinInternal::Finished ( )
virtual

Synchronous processing of task Run() finished.

Implements deParallelTask.

◆ GetDebugName()

virtual decString deRLTaskReadSkinInternal::GetDebugName ( ) const
virtual

Short task name for debugging.

Reimplemented from deResourceLoaderTask.

◆ GetSkin()

deSkin* deRLTaskReadSkinInternal::GetSkin ( ) const
inline

Skin.

◆ Run()

virtual void deRLTaskReadSkinInternal::Run ( )
virtual

Parallel task implementation.

Implements deParallelTask.


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