OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::HardwareVertexBufferSharedPtr Class Reference

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

#include <OgreHardwareVertexBuffer.h>

+ Inheritance diagram for Ogre::HardwareVertexBufferSharedPtr:
+ Collaboration diagram for Ogre::HardwareVertexBufferSharedPtr:

Public Member Functions

 HardwareVertexBufferSharedPtr ()
 
 HardwareVertexBufferSharedPtr (HardwareVertexBuffer *buf)
 
void bind (HardwareVertexBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr. More...
 
SharedPtr< Y > dynamicCast () const
 
HardwareVertexBufferget () const
 
HardwareVertexBuffergetPointer () const
 
bool isNull (void) const
 
HardwareVertexBufferoperator* () const
 
HardwareVertexBufferoperator-> () 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. More...
 
void release (void)
 
void swap (SharedPtr< HardwareVertexBuffer > &other)
 

Protected Attributes

SharedPtrInfopInfo
 
HardwareVertexBufferpRep
 

Detailed Description

Shared pointer implementation used to share vertex buffers.

Definition at line 86 of file OgreHardwareVertexBuffer.h.

Constructor & Destructor Documentation

Ogre::HardwareVertexBufferSharedPtr::HardwareVertexBufferSharedPtr ( )
inline

Definition at line 89 of file OgreHardwareVertexBuffer.h.

Ogre::HardwareVertexBufferSharedPtr::HardwareVertexBufferSharedPtr ( HardwareVertexBuffer buf)
explicit

Member Function Documentation

void Ogre::SharedPtr< HardwareVertexBuffer >::bind ( HardwareVertexBuffer rep,
SharedPtrFreeMethod  inFreeMethod = SPFM_DELETE 
)
inlineinherited

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< HardwareVertexBuffer >::destroy ( void  )
inlineprotectedinherited

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.

SharedPtr<Y> Ogre::SharedPtr< HardwareVertexBuffer >::dynamicCast ( ) const
inlineinherited

Definition at line 243 of file OgreSharedPtr.h.

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::get ( void  ) const
inlineinherited

Definition at line 254 of file OgreSharedPtr.h.

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::getPointer ( ) const
inlineinherited

Definition at line 273 of file OgreSharedPtr.h.

bool Ogre::SharedPtr< HardwareVertexBuffer >::isNull ( void  ) const
inlineinherited

Definition at line 275 of file OgreSharedPtr.h.

HardwareVertexBuffer & Ogre::SharedPtr< HardwareVertexBuffer >::operator* ( ) const
inlineinherited

Definition at line 252 of file OgreSharedPtr.h.

HardwareVertexBuffer * Ogre::SharedPtr< HardwareVertexBuffer >::operator-> ( ) const
inlineinherited

Definition at line 253 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareVertexBuffer >::release ( void  )
inlineprotectedinherited

Definition at line 286 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareVertexBuffer >::setNull ( void  )
inlineinherited

Definition at line 277 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareVertexBuffer >::setUseCount ( unsigned  value)
inlineinherited

Definition at line 271 of file OgreSharedPtr.h.

SharedPtr<Y> Ogre::SharedPtr< HardwareVertexBuffer >::staticCast ( ) const
inlineinherited

Definition at line 234 of file OgreSharedPtr.h.

void Ogre::SharedPtr< HardwareVertexBuffer >::swap ( SharedPtr< HardwareVertexBuffer > &  other)
inlineprotectedinherited

Definition at line 309 of file OgreSharedPtr.h.

bool Ogre::SharedPtr< HardwareVertexBuffer >::unique ( ) const
inlineinherited

Definition at line 269 of file OgreSharedPtr.h.

unsigned int Ogre::SharedPtr< HardwareVertexBuffer >::useCount ( ) const
inlineinherited

Definition at line 270 of file OgreSharedPtr.h.

Member Data Documentation

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

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: