Specialisation of SharedPtr to allow SharedPtr to be assigned to D3D11GpuProgramPtr. More...
#include <OgreD3D11GpuProgram.h>
Public Member Functions | |
D3D11GpuProgramPtr () | |
D3D11GpuProgramPtr (D3D11GpuProgram *rep) | |
D3D11GpuProgramPtr (const D3D11GpuProgramPtr &r) | |
D3D11GpuProgramPtr (const ResourcePtr &r) | |
void | bind (D3D11GpuProgram *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. More... | |
SharedPtrFreeMethod | freeMethod () const |
D3D11GpuProgram * | get () const |
D3D11GpuProgram * | getPointer () const |
bool | isNull (void) const |
D3D11GpuProgram & | operator* () const |
D3D11GpuProgram * | operator-> () const |
D3D11GpuProgramPtr & | operator= (const ResourcePtr &r) |
Operator used to convert a ResourcePtr to a D3D11GpuProgramPtr. 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< D3D11GpuProgram > &other) |
Protected Attributes | |
D3D11GpuProgram * | pRep |
unsigned int * | pUseCount |
SharedPtrFreeMethod | useFreeMethod |
Specialisation of SharedPtr to allow SharedPtr to be assigned to D3D11GpuProgramPtr.
Definition at line 105 of file OgreD3D11GpuProgram.h.
|
inline |
Definition at line 108 of file OgreD3D11GpuProgram.h.
|
inlineexplicit |
Definition at line 109 of file OgreD3D11GpuProgram.h.
|
inline |
Definition at line 110 of file OgreD3D11GpuProgram.h.
|
inline |
Definition at line 111 of file OgreD3D11GpuProgram.h.
References Ogre::SharedPtr< T >::getPointer(), OGRE_COPY_AUTO_SHARED_MUTEX, OGRE_LOCK_MUTEX, and Ogre::SharedPtr< T >::useCountPointer().
|
inlineinherited |
Binds rep to the SharedPtr.
Definition at line 167 of file OgreSharedPtr.h.
References Ogre::MEMCATEGORY_GENERAL, OGRE_LOCK_AUTO_SHARED_MUTEX, OGRE_NEW_AUTO_SHARED_MUTEX, OGRE_NEW_T, Ogre::SharedPtr< T >::pRep, Ogre::SharedPtr< T >::pUseCount, and Ogre::SharedPtr< T >::useFreeMethod.
|
inlineprotectedvirtualinherited |
Definition at line 223 of file OgreSharedPtr.h.
References Ogre::MEMCATEGORY_GENERAL, OGRE_DELETE, OGRE_DELETE_AUTO_SHARED_MUTEX, OGRE_DELETE_T, OGRE_FREE, Ogre::SharedPtr< T >::pRep, Ogre::SharedPtr< T >::pUseCount, Ogre::SPFM_DELETE, Ogre::SPFM_DELETE_T, Ogre::SPFM_FREE, and Ogre::SharedPtr< T >::useFreeMethod.
|
inlineinherited |
Definition at line 181 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::useFreeMethod.
|
inlineinherited |
Definition at line 161 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep.
|
inlineinherited |
Definition at line 180 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep.
|
inlineinherited |
Definition at line 183 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep.
|
inlineinherited |
Definition at line 159 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep.
|
inlineinherited |
Definition at line 160 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep.
|
inline |
Operator used to convert a ResourcePtr to a D3D11GpuProgramPtr.
Definition at line 125 of file OgreD3D11GpuProgram.h.
References Ogre::SharedPtr< T >::getPointer(), OGRE_COPY_AUTO_SHARED_MUTEX, OGRE_LOCK_MUTEX, and Ogre::SharedPtr< T >::useCountPointer().
|
inlineprotectedinherited |
Definition at line 197 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::destroy(), OGRE_AUTO_MUTEX_NAME, OGRE_LOCK_AUTO_SHARED_MUTEX, OGRE_MUTEX_CONDITIONAL, OGRE_SET_AUTO_SHARED_MUTEX_NULL, and Ogre::SharedPtr< T >::pUseCount.
|
inlineinherited |
Definition at line 185 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pRep, Ogre::SharedPtr< T >::pUseCount, and Ogre::SharedPtr< T >::release().
|
inlineprotectedvirtualinherited |
Definition at line 247 of file OgreSharedPtr.h.
References OGRE_AUTO_MUTEX_NAME, Ogre::SharedPtr< T >::pRep, Ogre::SharedPtr< T >::pUseCount, and Ogre::SharedPtr< T >::useFreeMethod.
|
inlineinherited |
Definition at line 176 of file OgreSharedPtr.h.
References OGRE_LOCK_AUTO_SHARED_MUTEX, and Ogre::SharedPtr< T >::pUseCount.
|
inlineinherited |
Definition at line 177 of file OgreSharedPtr.h.
References OGRE_LOCK_AUTO_SHARED_MUTEX, and Ogre::SharedPtr< T >::pUseCount.
|
inlineinherited |
Definition at line 178 of file OgreSharedPtr.h.
References Ogre::SharedPtr< T >::pUseCount.
|
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.