OGRE  1.9.0
Ogre::HardwareIndexBufferSharedPtr Class Reference

Shared pointer implementation used to share index buffers. More...

#include <OgreHardwareIndexBuffer.h>

Inheritance diagram for Ogre::HardwareIndexBufferSharedPtr:

Public Member Functions

 HardwareIndexBufferSharedPtr ()
 
 HardwareIndexBufferSharedPtr (HardwareIndexBuffer *buf)
 
void bind (HardwareIndexBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr.
 
SharedPtr< Y > dynamicCast () const
 
HardwareIndexBufferget () const
 
HardwareIndexBuffergetPointer () const
 
bool isNull (void) const
 
HardwareIndexBufferoperator* () const
 
HardwareIndexBufferoperator-> () 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

SharedPtrInfopInfo
 
HardwareIndexBufferpRep
 

Static Private Member Functions

static SharedPtrInfocreateInfoForMethod (HardwareIndexBuffer *rep, SharedPtrFreeMethod method)
 

Detailed Description

Shared pointer implementation used to share index buffers.

Definition at line 79 of file OgreHardwareIndexBuffer.h.

Constructor & Destructor Documentation

◆ HardwareIndexBufferSharedPtr() [1/2]

Ogre::HardwareIndexBufferSharedPtr::HardwareIndexBufferSharedPtr ( )

◆ HardwareIndexBufferSharedPtr() [2/2]

Ogre::HardwareIndexBufferSharedPtr::HardwareIndexBufferSharedPtr ( HardwareIndexBuffer * buf)
explicit

Member Function Documentation

◆ bind()

void Ogre::SharedPtr< HardwareIndexBuffer >::bind ( HardwareIndexBuffer * rep,
SharedPtrFreeMethod inFreeMethod = SPFM_DELETE )
inherited

Binds rep to the SharedPtr.

Remarks
Assumes that the SharedPtr is uninitialised!
Warning
The object must not be bound into a SharedPtr elsewhere

Definition at line 273 of file OgreSharedPtr.h.

◆ createInfoForMethod()

static SharedPtrInfo * Ogre::SharedPtr< HardwareIndexBuffer >::createInfoForMethod ( HardwareIndexBuffer * rep,
SharedPtrFreeMethod method )
staticprivateinherited

Definition at line 149 of file OgreSharedPtr.h.

◆ destroy()

void Ogre::SharedPtr< HardwareIndexBuffer >::destroy ( void )
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.

◆ dynamicCast()

SharedPtr< Y > Ogre::SharedPtr< HardwareIndexBuffer >::dynamicCast ( ) const
inherited

Definition at line 253 of file OgreSharedPtr.h.

◆ get()

Definition at line 264 of file OgreSharedPtr.h.

◆ getPointer()

HardwareIndexBuffer * Ogre::SharedPtr< HardwareIndexBuffer >::getPointer ( ) const
inherited

Definition at line 283 of file OgreSharedPtr.h.

◆ isNull()

bool Ogre::SharedPtr< HardwareIndexBuffer >::isNull ( void ) const
inherited

Definition at line 285 of file OgreSharedPtr.h.

◆ operator*()

HardwareIndexBuffer & Ogre::SharedPtr< HardwareIndexBuffer >::operator* ( ) const
inherited

Definition at line 262 of file OgreSharedPtr.h.

◆ operator->()

HardwareIndexBuffer * Ogre::SharedPtr< HardwareIndexBuffer >::operator-> ( ) const
inherited

Definition at line 263 of file OgreSharedPtr.h.

◆ release()

void Ogre::SharedPtr< HardwareIndexBuffer >::release ( void )
protectedinherited

Definition at line 296 of file OgreSharedPtr.h.

◆ setNull()

void Ogre::SharedPtr< HardwareIndexBuffer >::setNull ( void )
inherited

Definition at line 287 of file OgreSharedPtr.h.

◆ setUseCount()

void Ogre::SharedPtr< HardwareIndexBuffer >::setUseCount ( unsigned value)
inherited

Definition at line 281 of file OgreSharedPtr.h.

◆ staticCast()

SharedPtr< Y > Ogre::SharedPtr< HardwareIndexBuffer >::staticCast ( ) const
inherited

Definition at line 244 of file OgreSharedPtr.h.

◆ swap()

void Ogre::SharedPtr< HardwareIndexBuffer >::swap ( SharedPtr< HardwareIndexBuffer > & other)
protectedinherited

Definition at line 319 of file OgreSharedPtr.h.

◆ unique()

bool Ogre::SharedPtr< HardwareIndexBuffer >::unique ( ) const
inherited

Definition at line 279 of file OgreSharedPtr.h.

◆ useCount()

unsigned int Ogre::SharedPtr< HardwareIndexBuffer >::useCount ( ) const
inherited

Definition at line 280 of file OgreSharedPtr.h.

Member Data Documentation

◆ pInfo

SharedPtrInfo* Ogre::SharedPtr< HardwareIndexBuffer >::pInfo
protectedinherited

Definition at line 134 of file OgreSharedPtr.h.

◆ pRep

Definition at line 133 of file OgreSharedPtr.h.


The documentation for this class was generated from the following file: