OGRE
1.9.0
|
Shared pointer implementation used to share index buffers. More...
#include <OgreHardwareIndexBuffer.h>
Public Member Functions | |
HardwareIndexBufferSharedPtr () | |
HardwareIndexBufferSharedPtr (HardwareIndexBuffer *buf) | |
void | bind (HardwareIndexBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE) |
Binds rep to the SharedPtr. | |
SharedPtr< Y > | dynamicCast () const |
HardwareIndexBuffer * | get () const |
HardwareIndexBuffer * | getPointer () const |
bool | isNull (void) const |
HardwareIndexBuffer & | operator* () const |
HardwareIndexBuffer * | operator-> () const |
void | setNull (void) |
void | setUseCount (unsigned value) |
SharedPtr< Y > | staticCast () const |
bool | unique () const |
unsigned int | useCount () const |
Protected Member Functions | |
void | destroy (void) |
IF YOU GET A CRASH HERE, YOU FORGOT TO FREE UP POINTERS BEFORE SHUTTING OGRE DOWN Use setNull() before shutdown or make sure your pointer goes out of scope before OGRE shuts down to avoid this. | |
void | release (void) |
void | swap (SharedPtr< HardwareIndexBuffer > &other) |
Protected Attributes | |
SharedPtrInfo * | pInfo |
HardwareIndexBuffer * | pRep |
Static Private Member Functions | |
static SharedPtrInfo * | createInfoForMethod (HardwareIndexBuffer *rep, SharedPtrFreeMethod method) |
Shared pointer implementation used to share index buffers.
Definition at line 79 of file OgreHardwareIndexBuffer.h.
Ogre::HardwareIndexBufferSharedPtr::HardwareIndexBufferSharedPtr | ( | ) |
Definition at line 82 of file OgreHardwareIndexBuffer.h.
|
explicit |
|
inherited |
Binds rep to the SharedPtr.
Definition at line 273 of file OgreSharedPtr.h.
|
staticprivateinherited |
Definition at line 149 of file OgreSharedPtr.h.
|
protectedinherited |
IF YOU GET A CRASH HERE, YOU FORGOT TO FREE UP POINTERS BEFORE SHUTTING OGRE DOWN Use setNull() before shutdown or make sure your pointer goes out of scope before OGRE shuts down to avoid this.
Definition at line 313 of file OgreSharedPtr.h.
|
inherited |
Definition at line 253 of file OgreSharedPtr.h.
|
inherited |
Definition at line 264 of file OgreSharedPtr.h.
|
inherited |
Definition at line 283 of file OgreSharedPtr.h.
|
inherited |
Definition at line 285 of file OgreSharedPtr.h.
|
inherited |
Definition at line 262 of file OgreSharedPtr.h.
|
inherited |
Definition at line 263 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 296 of file OgreSharedPtr.h.
|
inherited |
Definition at line 287 of file OgreSharedPtr.h.
|
inherited |
Definition at line 281 of file OgreSharedPtr.h.
|
inherited |
Definition at line 244 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 319 of file OgreSharedPtr.h.
|
inherited |
Definition at line 279 of file OgreSharedPtr.h.
|
inherited |
Definition at line 280 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 134 of file OgreSharedPtr.h.
|
protectedinherited |
Definition at line 133 of file OgreSharedPtr.h.