Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::ResourceLoadLock Class Referencefinal

#include <ResourceCache.h>

+ Inheritance diagram for Divide::ResourceLoadLock:

Public Member Functions

 ResourceLoadLock (size_t hash, PlatformContext &context)
 
 ~ResourceLoadLock ()
 

Static Private Member Functions

static bool SetLoading (size_t hash)
 
static bool SetLoadingFinished (size_t hash)
 

Private Attributes

const size_t _loadingHash
 

Static Private Attributes

static SharedMutex s_hashLock
 
static eastl::set< size_t > s_loadingHashes
 

Additional Inherited Members

- Private Member Functions inherited from Divide::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 
- Private Member Functions inherited from Divide::NonMovable
 NonMovable (NonMovable &&)=delete
 
NonMovableoperator= (NonMovable &&)=delete
 
 NonMovable (const NonMovable &)=default
 
NonMovableoperator= (const NonMovable &)=default
 
 NonMovable ()=default
 
 ~NonMovable ()=default
 

Detailed Description

Definition at line 44 of file ResourceCache.h.

Constructor & Destructor Documentation

◆ ResourceLoadLock()

Divide::ResourceLoadLock::ResourceLoadLock ( size_t  hash,
PlatformContext context 
)
explicit

Definition at line 18 of file ResourceCache.cpp.

◆ ~ResourceLoadLock()

Divide::ResourceLoadLock::~ResourceLoadLock ( )

Definition at line 34 of file ResourceCache.cpp.

Member Function Documentation

◆ SetLoading()

bool Divide::ResourceLoadLock::SetLoading ( size_t  hash)
staticprivate

Definition at line 42 of file ResourceCache.cpp.

◆ SetLoadingFinished()

bool Divide::ResourceLoadLock::SetLoadingFinished ( size_t  hash)
staticprivate

Definition at line 62 of file ResourceCache.cpp.

Member Data Documentation

◆ _loadingHash

const size_t Divide::ResourceLoadLock::_loadingHash
private

Definition at line 55 of file ResourceCache.h.

◆ s_hashLock

SharedMutex Divide::ResourceLoadLock::s_hashLock
staticprivate

Definition at line 57 of file ResourceCache.h.

◆ s_loadingHashes

eastl::set< size_t > Divide::ResourceLoadLock::s_loadingHashes
staticprivate

Definition at line 58 of file ResourceCache.h.


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