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

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

#include <OgreHardwarePixelBuffer.h>

+ Inheritance diagram for Ogre::HardwarePixelBufferSharedPtr:
+ Collaboration diagram for Ogre::HardwarePixelBufferSharedPtr:

Public Member Functions

 HardwarePixelBufferSharedPtr ()
 
 HardwarePixelBufferSharedPtr (HardwarePixelBuffer *buf)
 
void bind (HardwarePixelBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr. More...
 
SharedPtr< Y > dynamicCast () const
 
HardwarePixelBufferget () const
 
HardwarePixelBuffergetPointer () const
 
bool isNull (void) const
 
HardwarePixelBufferoperator* () const
 
HardwarePixelBufferoperator-> () 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< HardwarePixelBuffer > &other)
 

Protected Attributes

SharedPtrInfopInfo
 
HardwarePixelBufferpRep
 

Detailed Description

Shared pointer implementation used to share pixel buffers.

Definition at line 193 of file OgreHardwarePixelBuffer.h.

Constructor & Destructor Documentation

Ogre::HardwarePixelBufferSharedPtr::HardwarePixelBufferSharedPtr ( )
inline

Definition at line 196 of file OgreHardwarePixelBuffer.h.

Ogre::HardwarePixelBufferSharedPtr::HardwarePixelBufferSharedPtr ( HardwarePixelBuffer buf)
explicit

Member Function Documentation

void Ogre::SharedPtr< HardwarePixelBuffer >::bind ( HardwarePixelBuffer 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< HardwarePixelBuffer >::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< HardwarePixelBuffer >::dynamicCast ( ) const
inlineinherited

Definition at line 243 of file OgreSharedPtr.h.

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

Definition at line 254 of file OgreSharedPtr.h.

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

Definition at line 273 of file OgreSharedPtr.h.

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

Definition at line 275 of file OgreSharedPtr.h.

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

Definition at line 252 of file OgreSharedPtr.h.

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

Definition at line 253 of file OgreSharedPtr.h.

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

Definition at line 286 of file OgreSharedPtr.h.

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

Definition at line 277 of file OgreSharedPtr.h.

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

Definition at line 271 of file OgreSharedPtr.h.

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

Definition at line 234 of file OgreSharedPtr.h.

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

Definition at line 309 of file OgreSharedPtr.h.

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

Definition at line 269 of file OgreSharedPtr.h.

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

Definition at line 270 of file OgreSharedPtr.h.

Member Data Documentation

SharedPtrInfo* Ogre::SharedPtr< HardwarePixelBuffer >::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: