CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::GFxTask Class Referenceabstract

#include <GFxTask.h>

Inheritance diagram for RE::GFxTask:
RE::GRefCountBase< GFxTask, GStatGroups::kGStat_Default_Mem > RE::GRefCountBaseStatImpl< GRefCountImpl, STAT > RE::GRefCountImpl RE::GRefCountImplCore RE::GFxLoaderTask RE::GFxLoadProcess RE::GFxMovieBindProcess RE::GFxMovieImageLoadTask

Public Types

enum class  TaskId {
  kType_Computation = 0x00010000 , kType_IO = 0x00020000 , kType_Mask = 0x00FF0000 , kUnknown = kType_Computation | 1 ,
  kMovieDecoding = kType_Computation | 2 , kMovieDataLoad = kType_IO | 1 , kMovieImageLoad = kType_IO | 2 , kMovieBind = kType_IO | 3
}
 
enum class  TaskState {
  kIdle , kPending , kRunning , kAbandoned ,
  kFinished
}
 
- Public Types inherited from RE::GRefCountBase< GFxTask, GStatGroups::kGStat_Default_Mem >
enum  
 

Public Member Functions

 GFxTask (TaskId a_id=TaskId::kUnknown)
 
 ~GFxTask () override
 
virtual void Execute ()=0
 
virtual void OnAbandon (bool a_started)
 
TaskId GetTaskId () const
 
TaskId GetTaskType () const
 
TaskState GetTaskState () const
 
- Public Member Functions inherited from RE::GRefCountBaseStatImpl< GRefCountImpl, STAT >
 GFC_MEMORY_REDEFINE_NEW_IMPL (GRefCountImpl, GFC_REFCOUNTALLOC_CHECK_DELETE, StatType)
 
- Public Member Functions inherited from RE::GRefCountImpl
 ~GRefCountImpl () override=default
 
void AddRef ()
 
void Release ()
 

Public Attributes

TaskId thisTaskId
 
volatile TaskState currentState
 

Additional Inherited Members

- Static Public Attributes inherited from RE::GRefCountImpl
static constexpr auto RTTI = RTTI_GRefCountImpl
 

Member Enumeration Documentation

◆ TaskId

enum class RE::GFxTask::TaskId
strong
Enumerator
kType_Computation 
kType_IO 
kType_Mask 
kUnknown 
kMovieDecoding 
kMovieDataLoad 
kMovieImageLoad 
kMovieBind 

◆ TaskState

enum class RE::GFxTask::TaskState
strong
Enumerator
kIdle 
kPending 
kRunning 
kAbandoned 
kFinished 

Constructor & Destructor Documentation

◆ GFxTask()

RE::GFxTask::GFxTask ( TaskId  a_id = TaskId::kUnknown)
inline

◆ ~GFxTask()

RE::GFxTask::~GFxTask ( )
inlineoverride

Member Function Documentation

◆ Execute()

virtual void RE::GFxTask::Execute ( )
pure virtual

◆ GetTaskId()

TaskId RE::GFxTask::GetTaskId ( ) const
inline

◆ GetTaskState()

TaskState RE::GFxTask::GetTaskState ( ) const
inline

◆ GetTaskType()

TaskId RE::GFxTask::GetTaskType ( ) const
inline

◆ OnAbandon()

virtual void RE::GFxTask::OnAbandon ( bool  a_started)
inlinevirtual

Member Data Documentation

◆ currentState

volatile TaskState RE::GFxTask::currentState

◆ thisTaskId

TaskId RE::GFxTask::thisTaskId

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