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

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

#include <OgreHardwarePixelBuffer.h>

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

List of all members.

Public Member Functions

 HardwarePixelBufferSharedPtr ()
 HardwarePixelBufferSharedPtr (HardwarePixelBuffer *buf)
void bind (HardwarePixelBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr.
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.
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

Definition at line 196 of file OgreHardwarePixelBuffer.h.


Member Function Documentation

void Ogre::SharedPtr< HardwarePixelBuffer >::bind ( HardwarePixelBuffer 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< HardwarePixelBuffer >::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.

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

Definition at line 254 of file OgreSharedPtr.h.

Definition at line 273 of file OgreSharedPtr.h.

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

Definition at line 275 of file OgreSharedPtr.h.

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

Definition at line 252 of file OgreSharedPtr.h.

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

Definition at line 253 of file OgreSharedPtr.h.

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

Definition at line 286 of file OgreSharedPtr.h.

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

Definition at line 277 of file OgreSharedPtr.h.

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

Definition at line 271 of file OgreSharedPtr.h.

Definition at line 234 of file OgreSharedPtr.h.

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

Definition at line 309 of file OgreSharedPtr.h.

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

Definition at line 269 of file OgreSharedPtr.h.

unsigned int Ogre::SharedPtr< HardwarePixelBuffer >::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