#include <OgreSharedPtr.h>
Public Member Functions | |
OGRE_AUTO_SHARED_MUTEX | SharedPtr () |
Constructor, does not initialise the SharedPtr. | |
template<class Y> | |
SharedPtr (Y *rep, SharedPtrFreeMethod freeMethod=SPFM_DELETE) | |
Constructor. | |
SharedPtr (const SharedPtr &r) | |
SharedPtr & | operator= (const SharedPtr &r) |
template<class Y> | |
SharedPtr (const SharedPtr< Y > &r) | |
template<class Y> | |
SharedPtr & | operator= (const SharedPtr< Y > &r) |
virtual | ~SharedPtr () |
T & | operator * () const |
T * | operator-> () const |
T * | get () const |
void | bind (T *rep, SharedPtrFreeMethod freeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. | |
bool | unique () const |
unsigned int | useCount () const |
unsigned int * | useCountPointer () const |
T * | getPointer () const |
SharedPtrFreeMethod | freeMethod () const |
bool | isNull (void) const |
void | setNull (void) |
Protected Member Functions | |
void | release (void) |
virtual void | destroy (void) |
virtual void | swap (SharedPtr< T > &other) |
Protected Attributes | |
T * | pRep |
unsigned int * | pUseCount |
SharedPtrFreeMethod | useFreeMethod |
Definition at line 55 of file OgreSharedPtr.h.
|
Constructor, does not initialise the SharedPtr.
Definition at line 67 of file OgreSharedPtr.h. |
|
Constructor.
Definition at line 77 of file OgreSharedPtr.h. |
|
Definition at line 85 of file OgreSharedPtr.h. |
|
Definition at line 116 of file OgreSharedPtr.h. |
|
Definition at line 146 of file OgreSharedPtr.h. |
|
Binds rep to the SharedPtr.
Definition at line 159 of file OgreSharedPtr.h. |
|
Reimplemented in Ogre::MeshPtr. Definition at line 215 of file OgreSharedPtr.h. Referenced by Ogre::SharedPtr< Skeleton >::release(). |
|
Definition at line 173 of file OgreSharedPtr.h. Referenced by Ogre::SharedPtr< Skeleton >::bind(), and Ogre::SharedPtr< Skeleton >::SharedPtr(). |
|
Definition at line 153 of file OgreSharedPtr.h. Referenced by Ogre::operator!=(), and Ogre::operator==(). |
|
|
Definition at line 175 of file OgreSharedPtr.h. |
|
Definition at line 151 of file OgreSharedPtr.h. |
|
Definition at line 152 of file OgreSharedPtr.h. |
|
Definition at line 137 of file OgreSharedPtr.h. |
|
Definition at line 105 of file OgreSharedPtr.h. |
|
Definition at line 189 of file OgreSharedPtr.h. Referenced by Ogre::SharedPtr< Skeleton >::setNull(), and Ogre::SharedPtr< Skeleton >::~SharedPtr(). |
|
Definition at line 177 of file OgreSharedPtr.h. |
|
Definition at line 239 of file OgreSharedPtr.h. Referenced by Ogre::SharedPtr< Skeleton >::operator=(). |
|
Definition at line 168 of file OgreSharedPtr.h. |
|
Definition at line 169 of file OgreSharedPtr.h. |
|
|
|
|
Definition at line 60 of file OgreSharedPtr.h. Referenced by Ogre::SharedPtr< Skeleton >::bind(), Ogre::SharedPtr< Skeleton >::destroy(), Ogre::SharedPtr< Skeleton >::freeMethod(), Ogre::SharedPtr< Skeleton >::SharedPtr(), and Ogre::SharedPtr< Skeleton >::swap(). |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:54:25 2009