Public Member Functions | Protected Member Functions | Protected Attributes
Ogre::HardwareIndexBufferSharedPtr Class Reference

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

#include <OgreHardwareIndexBuffer.h>

Inheritance diagram for Ogre::HardwareIndexBufferSharedPtr:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Shared pointer implementation used to share index buffers.

Definition at line 79 of file OgreHardwareIndexBuffer.h.


Constructor & Destructor Documentation

Definition at line 82 of file OgreHardwareIndexBuffer.h.


Member Function Documentation

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 263 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareIndexBuffer >::destroy ( void  ) [protected, inherited]

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 303 of file OgreSharedPtr.h.

Definition at line 243 of file OgreSharedPtr.h.

HardwareIndexBuffer * Ogre::SharedPtr< HardwareIndexBuffer >::get ( void  ) const [inherited]

Definition at line 254 of file OgreSharedPtr.h.

Definition at line 273 of file OgreSharedPtr.h.

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

Definition at line 275 of file OgreSharedPtr.h.

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

Definition at line 252 of file OgreSharedPtr.h.

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

Definition at line 253 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareIndexBuffer >::release ( void  ) [protected, inherited]

Definition at line 286 of file OgreSharedPtr.h.

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

Definition at line 277 of file OgreSharedPtr.h.

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

Definition at line 271 of file OgreSharedPtr.h.

Definition at line 234 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareIndexBuffer >::swap ( SharedPtr< HardwareIndexBuffer > &  other) [protected, inherited]

Definition at line 309 of file OgreSharedPtr.h.

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

Definition at line 269 of file OgreSharedPtr.h.

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

Definition at line 270 of file OgreSharedPtr.h.


Member Data Documentation

Definition at line 128 of file OgreSharedPtr.h.

Definition at line 127 of file OgreSharedPtr.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:15