Ogre::HardwarePixelBufferSharedPtr Class Reference
Core » RenderSystem

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

`#include <OgreHardwarePixelBuffer.h>`

Inheritance diagram for Ogre::HardwarePixelBufferSharedPtr:
[legend]

## 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
HardwarePixelBuffer * | get () const
HardwarePixelBuffer * | getPointer () const
bool | isNull (void) const
HardwarePixelBuffer & | operator* () const
HardwarePixelBuffer * | operator-> () 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

SharedPtrInfo * | pInfo
HardwarePixelBuffer * | pRep

## Detailed Description

Shared pointer implementation used to share pixel buffers.

Definition at line 193 of file OgreHardwarePixelBuffer.h.

## Constructor & Destructor Documentation

## HardwarePixelBufferSharedPtr() [1/2]

Ogre::HardwarePixelBufferSharedPtr::HardwarePixelBufferSharedPtr | ( |  | ) |

Definition at line 196 of file OgreHardwarePixelBuffer.h.

## HardwarePixelBufferSharedPtr() [2/2]

Ogre::HardwarePixelBufferSharedPtr::HardwarePixelBufferSharedPtr | ( | HardwarePixelBuffer * | buf | ) |

explicit

## Member Function Documentation

## bind()

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.

## destroy()

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.

## dynamicCast()

SharedPtr<Y> Ogre::SharedPtr< HardwarePixelBuffer >::dynamicCast | ( |  | ) | const

inherited

Definition at line 243 of file OgreSharedPtr.h.

## get()

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

inherited

Definition at line 254 of file OgreSharedPtr.h.

## getPointer()

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

inherited

Definition at line 273 of file OgreSharedPtr.h.

## isNull()

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

inherited

Definition at line 275 of file OgreSharedPtr.h.

## operator*()

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

inherited

Definition at line 252 of file OgreSharedPtr.h.

## operator->()

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

inherited

Definition at line 253 of file OgreSharedPtr.h.

## release()

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

protected inherited

Definition at line 286 of file OgreSharedPtr.h.

## setNull()

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

inherited

Definition at line 277 of file OgreSharedPtr.h.

## setUseCount()

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

inherited

Definition at line 271 of file OgreSharedPtr.h.

## staticCast()

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

inherited

Definition at line 234 of file OgreSharedPtr.h.

## swap()

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

protected inherited

Definition at line 309 of file OgreSharedPtr.h.

## unique()

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

inherited

Definition at line 269 of file OgreSharedPtr.h.

## useCount()

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

inherited

Definition at line 270 of file OgreSharedPtr.h.

## Member Data Documentation

## pInfo

SharedPtrInfo* Ogre::SharedPtr< HardwarePixelBuffer >::pInfo

protected inherited

Definition at line 128 of file OgreSharedPtr.h.

## pRep

HardwarePixelBuffer * Ogre::SharedPtr< HardwarePixelBuffer >::pRep

protected inherited

Definition at line 127 of file OgreSharedPtr.h.

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

- OgreHardwarePixelBuffer.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.