Specialisation of SharedPtr to allow SharedPtr to be assigned to HighLevelGpuProgramPtr. More...
#include <OgreHighLevelGpuProgram.h>
Public Member Functions | |
HighLevelGpuProgramPtr () | |
HighLevelGpuProgramPtr (HighLevelGpuProgram *rep) | |
HighLevelGpuProgramPtr (const HighLevelGpuProgramPtr &r) | |
HighLevelGpuProgramPtr (const ResourcePtr &r) | |
void | bind (HighLevelGpuProgram *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. More... | |
SharedPtrFreeMethod | freeMethod () const |
HighLevelGpuProgram * | get () const |
HighLevelGpuProgram * | getPointer () const |
bool | isNull (void) const |
HighLevelGpuProgram & | operator* () const |
HighLevelGpuProgram * | operator-> () const |
HighLevelGpuProgramPtr & | operator= (const ResourcePtr &r) |
Operator used to convert a ResourcePtr to a HighLevelGpuProgramPtr. More... | |
HighLevelGpuProgramPtr & | operator= (const GpuProgramPtr &r) |
Operator used to convert a GpuProgramPtr to a HighLevelGpuProgramPtr. 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< HighLevelGpuProgram > &other) |
Protected Attributes | |
HighLevelGpuProgram * | pRep |
unsigned int * | pUseCount |
SharedPtrFreeMethod | useFreeMethod |
Specialisation of SharedPtr to allow SharedPtr to be assigned to HighLevelGpuProgramPtr.
Definition at line 139 of file OgreHighLevelGpuProgram.h.
|
inline |
Definition at line 142 of file OgreHighLevelGpuProgram.h.
|
inlineexplicit |
Definition at line 143 of file OgreHighLevelGpuProgram.h.
|
inline |
Definition at line 144 of file OgreHighLevelGpuProgram.h.
|
inline |
Definition at line 145 of file OgreHighLevelGpuProgram.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 HighLevelGpuProgramPtr.
Definition at line 162 of file OgreHighLevelGpuProgram.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().
HighLevelGpuProgramPtr& Ogre::HighLevelGpuProgramPtr::operator= | ( | const GpuProgramPtr & | r | ) |
Operator used to convert a GpuProgramPtr to a HighLevelGpuProgramPtr.
|
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.