List of all members.
Public Member Functions |
_tMappedType LSE_CALL | GetRes (const _tKeyType &_tKey) |
LSVOID LSE_CALL | Release () |
Protected Member Functions |
_tMappedType LSE_CALL | AddRes (const _tKeyType &) |
Protected Attributes |
CMap< _tKeyType, _tMappedType > | m_mList |
Member Function Documentation
_tMappedType LSE_CALL lstl::CResourceManCrtp::AddRes |
( |
const _tKeyType & |
| ) |
[inline, protected] |
Adds a shared resource to the list, returned a shared pointer to it.
- Parameters:
-
_tKey | Key of the resource to load. |
- Returns:
- Returns a shared pointer to the loaded resource. If there was a failure to load, the shared pointer will be invalid.
_tMappedType LSE_CALL lstl::CResourceManCrtp::GetRes |
( |
const _tKeyType & |
_tKey | ) |
[inline] |
Gets a shared pointer to a resource by a key. If there was a failure to load, the shared pointer will be invalid.
- Parameters:
-
_tKey | Key of the resource to load. |
- Returns:
- Returns a shared pointer to a resource by a key. If there was a failure to load, the shared pointer will be invalid.
LSVOID LSE_CALL lstl::CResourceManCrtp::Release |
( |
| ) |
[inline] |
Releases all shared pointers held by this manager.
Member Data Documentation
The documentation for this class was generated from the following file: