#include <TIndexPoolResourceInterface.h>
Classes | |
struct | LockBuffer |
Public Member Functions | |
TDECLARE_CLASS (TIndexPoolResourceInterface, TResource) | |
TIndexPoolResourceInterface () | |
virtual void | OnDestroy () override |
virtual TBOOL | Lock (LockBuffer *a_pLockBuffer)=0 |
virtual void | Unlock (TUINT16 a_uiNewNumIndices)=0 |
virtual TBOOL | Create (TIndexFactoryResourceInterface *a_pFactory, TUINT16 a_uiMaxIndices, TUINT16 a_uiFlags) |
TIndexFactoryResourceInterface * | GetFactory () const |
TUINT16 | GetFlags () const |
TUINT16 | GetMaxIndices () const |
TUINT16 | GetNumIndices () const |
TBOOL | IsLocked () const |
![]() | |
TDECLARE_CLASS (TResource, TObject) | |
TResource () | |
~TResource () | |
virtual TBOOL | Create () |
virtual TBOOL | Validate () |
virtual void | Invalidate () |
virtual void | DestroyResource () |
virtual TBOOL | TryInvalidate () |
virtual TBOOL | TryValidate () |
TBOOL | IsDead () const |
TBOOL | IsDying () const |
TBOOL | IsValid () const |
TBOOL | IsExternal () const |
TBOOL | IsCreated () const |
TBOOL | IsSceneObject () const |
TBOOL | IsInvalid () const |
void | SetState (TResourceState newState) |
void | AddState (TResourceState state) |
void | SetParent (TResource *a_pParent) |
const TCHAR * | GetName () const |
void | SetName (const TCHAR *name) |
TBOOL | RecurseSimple (t_RecurseCb a_pCallback, TResource *a_pResource, void *a_pUserData) |
TRenderInterface * | GetRenderer () const |
void | SetRenderer (TRenderInterface *pRenderer) |
TUINT32 | GetUId () const |
void | SetUId (TUINT32 uid) |
![]() | |
virtual Toshi::TClass * | GetClass () |
virtual void | Delete () |
virtual | ~TObject () |
TBOOL | IsExactly (TClass *a_pClass) |
TBOOL | IsA (TClass *a_pClass) |
![]() | |
TBOOL | IsChildOfDefaultRoot () const |
TBOOL | IsLinked () const |
T * | Parent () const |
T * | Next () const |
T * | Prev () const |
TNodeTree< T > * | Tree () const |
T * | Child () const |
Protected Attributes | |
TIndexFactoryResourceInterface * | m_pFactory |
TUINT16 | m_uiFlags |
TUINT16 | m_uiMaxIndices |
TUINT16 | m_uiNumIndices |
TUINT16 | m_uiLockCount |
![]() | |
TNodeTree< T > * | m_Tree |
T * | m_Next |
T * | m_Prev |
T * | m_Parent |
T * | m_Child |
Additional Inherited Members | |
![]() | |
using | t_RecurseCb = TBOOL ( * )( TResource* a_pResource, void* a_pUserData ) |
![]() | |
enum | { IsTObject = TTRUE } |
![]() | |
static TBOOL | Recurse (t_RecurseCb a_pCallback, TResource *a_pResource, TBOOL a_bFlag, void *a_pUserData) |
![]() | |
static Toshi::TObject * | CreateTObject () |
static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
static void | InitialiseClass () |
static void | DeinitialiseClass () |
static TFORCEINLINE TClass * | GetClassStatic () |
![]() | |
friend | TRenderInterface |
![]() | |
friend | TNodeTree |
![]() | |
static constexpr size_t | MAXNAMELEN = 14 |
![]() | |
static constexpr Toshi::TClass * | PARENTCLASS = TNULL |
static constinit Toshi::TClass | ms_oClass = Toshi::TClass( "TObject", TObject::CreateTObject, TObject::CreateTObjectInPlace, TObject::InitialiseClass, TObject::DeinitialiseClass, 0, 2, sizeof( TObject ), alignof( TObject ) ) |
![]() | |
TNode () | |
Definition at line 7 of file TIndexPoolResourceInterface.h.
TIndexPoolResourceInterface::TIndexPoolResourceInterface | ( | ) |
Definition at line 14 of file TIndexPoolResourceInterface.cpp.
|
virtual |
Reimplemented in TIndexPoolResource.
Definition at line 29 of file TIndexPoolResourceInterface.cpp.
|
inline |
Definition at line 27 of file TIndexPoolResourceInterface.h.
|
inline |
Definition at line 28 of file TIndexPoolResourceInterface.h.
|
inline |
Definition at line 29 of file TIndexPoolResourceInterface.h.
|
inline |
Definition at line 30 of file TIndexPoolResourceInterface.h.
|
inline |
Definition at line 31 of file TIndexPoolResourceInterface.h.
|
pure virtual |
Implemented in TIndexPoolResource.
|
overridevirtual |
Reimplemented from TResource.
Reimplemented in TIndexPoolResource.
Definition at line 23 of file TIndexPoolResourceInterface.cpp.
TIndexPoolResourceInterface::TDECLARE_CLASS | ( | TIndexPoolResourceInterface | , |
TResource | ) |
|
pure virtual |
Implemented in TIndexPoolResource.
|
protected |
Definition at line 34 of file TIndexPoolResourceInterface.h.
|
protected |
Definition at line 35 of file TIndexPoolResourceInterface.h.
|
protected |
Definition at line 38 of file TIndexPoolResourceInterface.h.
|
protected |
Definition at line 36 of file TIndexPoolResourceInterface.h.
|
protected |
Definition at line 37 of file TIndexPoolResourceInterface.h.