19 rhs._resource =
nullptr;
64 template <
typename RhsT>
100 template <
typename T>
105 template <
typename T>
111 template <
typename T>
112 template <
typename RhsT>
119 template <
typename T>
124 template <
typename T>
static WeakPtr< T > cast(const WeakPtr< RhsT > &rhs)
Dynamic casting of a WeakPtr to another one (RhsT to T)
WeakPtr< T > & operator=(const WeakPtr< T > &rhs)
SharedPtr< T > lock() const
Transforms a WeakPtr to a SharedPtr.
void setName(const std::string &name)
Sets the name of the Resource.
Dummy class for a weak ptr.
Handle getHandle() const
Returns the handle of the Resource.
Dummy class for a shared pointer.
Type getType() const
Returns the type of the Resource.
Handle of the resource. It contains informations such as the type and the index in the ResourceManage...
const std::string & getName() const
Gets the name of the Resource.
Type
Type of the resource.
uint32_t type
Type of the ressource.