OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Reference-counted shared pointer, used for objects where implicit destruction is required. More...
#include <OgreSharedPtr.h>
Public Types | |
typedef void(* | unspecified_bool_type) (SharedPtr ***) |
Public Member Functions | |
SharedPtr () | |
Constructor, does not initialise the SharedPtr. More... | |
template<class Y > | |
SharedPtr (Y *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) | |
Constructor. More... | |
SharedPtr (const SharedPtr &r) | |
template<class Y > | |
SharedPtr (const SharedPtr< Y > &r) | |
~SharedPtr () | |
void | bind (T *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. More... | |
template<typename Y > | |
SharedPtr< Y > | dynamicCast () const |
T * | get () const |
T * | getPointer () const |
bool | isNull (void) const |
operator unspecified_bool_type () const | |
T & | operator* () const |
T * | operator-> () const |
SharedPtr & | operator= (const SharedPtr &r) |
template<class Y > | |
SharedPtr & | operator= (const SharedPtr< Y > &r) |
void | reset (void) |
void | reset (T *rep) |
void | setNull () |
void | setUseCount (unsigned value) |
template<typename Y > | |
SharedPtr< Y > | staticCast () const |
bool | unique () const |
long | use_count () const |
unsigned int | useCount () const |
Static Public Member Functions | |
static void | unspecified_bool (SharedPtr ***) |
Friends | |
template<typename Y > | |
class | SharedPtr |
template<typename Y , typename X > | |
SharedPtr< Y > | dynamic_pointer_cast (const SharedPtr< X > &r) |
template<typename Y , typename X > | |
SharedPtr< Y > | static_pointer_cast (const SharedPtr< X > &r) |
Reference-counted shared pointer, used for objects where implicit destruction is required.
typedef void(* Ogre::SharedPtr< T >::unspecified_bool_type) (SharedPtr ***) |
|
inline |
|
inlineexplicit |
Constructor.
rep | The pointer to take ownership of |
inFreeMethod | The mechanism to use to free the pointer |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Ogre::HighLevelGpuProgram::_getBindingDelegate(), Ogre::GpuProgram::getConstantDefinitions(), Ogre::GpuProgram::hasDefaultParameters(), Ogre::GpuProgramParameters::hasLogicalIndexedParameters(), Ogre::GpuProgramParameters::hasNamedParameters(), Ogre::operator!=(), Ogre::operator==(), Ogre::ResourceManager::resourceExists(), and Ogre::Lod0Stripifier::StripLod0Vertices().
|
inline |
Binds rep to the SharedPtr.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |