Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr. More...
#include <OgreTexture.h>
Public Member Functions | |
TexturePtr () | |
TexturePtr (Texture *rep) | |
TexturePtr (const TexturePtr &r) | |
TexturePtr (const ResourcePtr &r) | |
void | bind (Texture *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. More... | |
SharedPtrFreeMethod | freeMethod () const |
Texture * | get () const |
Texture * | getPointer () const |
bool | isNull (void) const |
Texture & | operator* () const |
Texture * | operator-> () const |
TexturePtr & | operator= (const ResourcePtr &r) |
Operator used to convert a ResourcePtr to a TexturePtr. More... | |
void | setNull (void) |
bool | unique () const |
unsigned int | useCount () const |
unsigned int * | useCountPointer () const |
Protected Member Functions | |
virtual void | destroy (void) |
void | release (void) |
virtual void | swap (SharedPtr< Texture > &other) |
Protected Attributes | |
Texture * | pRep |
unsigned int * | pUseCount |
SharedPtrFreeMethod | useFreeMethod |
Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr.
Definition at line 443 of file OgreTexture.h.
|
inline |
Definition at line 446 of file OgreTexture.h.
|
inlineexplicit |
Definition at line 447 of file OgreTexture.h.
|
inline |
Definition at line 448 of file OgreTexture.h.
|
inline |
Definition at line 449 of file OgreTexture.h.
References Ogre::SharedPtr< T >::getPointer(), OGRE_COPY_AUTO_SHARED_MUTEX, OGRE_LOCK_MUTEX, OGRE_MUTEX_CONDITIONAL, and Ogre::SharedPtr< T >::useCountPointer().
|
inlineinherited |
Binds rep to the SharedPtr.
Definition at line 167 of file OgreSharedPtr.h.
|
inlineprotectedvirtualinherited |
Definition at line 223 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 181 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 161 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 180 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 183 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 159 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 160 of file OgreSharedPtr.h.
|
inline |
Operator used to convert a ResourcePtr to a TexturePtr.
Definition at line 466 of file OgreTexture.h.
References Ogre::SharedPtr< T >::getPointer(), Ogre::SharedPtr< T >::isNull(), OGRE_COPY_AUTO_SHARED_MUTEX, OGRE_LOCK_MUTEX, OGRE_MUTEX_CONDITIONAL, and Ogre::SharedPtr< T >::useCountPointer().
|
inlineprotectedinherited |
Definition at line 197 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 185 of file OgreSharedPtr.h.
|
inlineprotectedvirtualinherited |
Definition at line 247 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 176 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 177 of file OgreSharedPtr.h.
|
inlineinherited |
Definition at line 178 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 63 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 64 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 65 of file OgreSharedPtr.h.