|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Resource/ResourceHandle.hpp>
Private Member Functions | |
| ResourceHandle (ResourceHandleData *data) | |
Friends | |
| class | ResourceManager |
| class | AbstractResourceHandle |
| class | ResourceHandleData |
| template<typename > | |
| class | ResourceHandle |
| template<typename > | |
| class | WeakResourceHandle |
| template<typename U1 , typename U2 > | |
| bool | operator== (const ResourceHandle< U1 > &lhs, const ResourceHandle< U2 > &rhs) noexcept |
| Checks if both references represent the same handle. | |
| template<typename U1 , typename U2 > | |
| bool | operator!= (const ResourceHandle< U1 > &lhs, const ResourceHandle< U2 > &rhs) noexcept |
| Checks if both references not represent the same handle. | |
| template<typename U > | |
| bool | operator== (const ResourceHandle< U > &lhs, std::nullptr_t) noexcept |
Checks if the reference lhs is nullptr. | |
| template<typename U > | |
| bool | operator== (std::nullptr_t, const ResourceHandle< U > &rhs) noexcept |
| Checks if both references represent the same handle. | |
| template<typename U > | |
| bool | operator!= (const ResourceHandle< U > &lhs, std::nullptr_t) noexcept |
Checks if the reference lhs is not nullptr. | |
| template<typename U > | |
| bool | operator!= (std::nullptr_t, const ResourceHandle< U > &rhs) noexcept |
| Checks if both references not represent the same handle. | |
| template<typename U , typename V > | |
| ResourceHandle< U > | static_resource_cast (const ResourceHandle< V > &handle) |
| template<typename U , typename V > | |
| ResourceHandle< U > | static_resource_cast (ResourceHandle< V > &&handle) |
Additional Inherited Members | |
Protected Member Functions inherited from CeresEngine::AbstractResourceHandle | |
| void | set (ResourceHandleData *const data) noexcept |
| Changes the internal resource handle data object of the handle. | |
Protected Attributes inherited from CeresEngine::AbstractResourceHandle | |
| ResourceHandleData * | mData = nullptr |
|
defaultnoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlineexplicitprivate |
|
inline |
Attaches a new event that will called whenever the.
| Func |
| func |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
| Async< ResourceHandle< T > > CeresEngine::ResourceHandle< T >::load | ( | ) | const |
Loads the resource, if not loaded.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
friend |
|
friend |
Checks if the reference lhs is not nullptr.
| U | The resource type |
| lhs | The first operand |
true if lhs is not nullptr
|
friend |
Checks if both references not represent the same handle.
| U1 | The first resource type |
| U2 | The second resource type |
| lhs | The first operand |
| rhs | The second operand |
true if both lhs and rhs do not represent the same handle
|
friend |
Checks if both references not represent the same handle.
| U1 | The first resource type |
| U2 | The second resource type |
| lhs | The first operand |
| rhs | The second operand |
true if both lhs and rhs do not represent the same handle
|
friend |
Checks if the reference lhs is nullptr.
| U | The resource type |
| lhs | The first operand |
true if lhs is nullptr
|
friend |
Checks if both references represent the same handle.
| U1 | The first resource type |
| U2 | The second resource type |
| lhs | The first operand |
| rhs | The second operand |
true if both lhs and rhs represent the same handle
|
friend |
Checks if both references represent the same handle.
| U1 | The first resource type |
| U2 | The second resource type |
| lhs | The first operand |
| rhs | The second operand |
true if both lhs and rhs represent the same handle
|
friend |
|
friend |
|
friend |
|
friend |