Common base class for all derived ResourceManagerBase
classes. Logical const-ness: Only const functions can be called from objects possessing a const handle to the DynExpCore
instance. To protect the resource manager, some functions which should be non-const by that argument (ResourceManagerBase::Startup(), ResourceManagerBase::Shutdown(), ResourceManagerBase::ResetFailedResources()) are still const. These functions indirectly call Object::EnsureCallFromOwningThread() to ensure that they are only called by the main user interface thread (from the DynExpManager
instance through its DynExpCore
instance). Also refer to DynExpCore
.
More...
Common base class for all derived ResourceManagerBase
classes. Logical const-ness: Only const functions can be called from objects possessing a const handle to the DynExpCore
instance. To protect the resource manager, some functions which should be non-const by that argument (ResourceManagerBase::Startup(), ResourceManagerBase::Shutdown(), ResourceManagerBase::ResetFailedResources()) are still const. These functions indirectly call Object::EnsureCallFromOwningThread() to ensure that they are only called by the main user interface thread (from the DynExpManager
instance through its DynExpCore
instance). Also refer to DynExpCore
.
Definition at line 56 of file Managers.h.
◆ FunctionToCallWhenObjectStartedType
◆ CommonResourceManagerBase()
DynExp::CommonResourceManagerBase::CommonResourceManagerBase |
( |
| ) |
|
|
protecteddefault |
◆ ~CommonResourceManagerBase()
DynExp::CommonResourceManagerBase::~CommonResourceManagerBase |
( |
| ) |
|
|
protecteddefault |
◆ GetOwnerThreadID()
std::thread::id DynExp::CommonResourceManagerBase::GetOwnerThreadID |
( |
const DynExpCore & |
Core | ) |
|
|
staticprotectednoexcept |
The documentation for this class was generated from the following files: