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

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

#include <OgreHardwareCounterBuffer.h>

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

List of all members.

Public Member Functions

 HardwareCounterBufferSharedPtr ()
 HardwareCounterBufferSharedPtr (HardwareCounterBuffer *buf)
void bind (HardwareCounterBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr.
SharedPtr< Y > dynamicCast () const
HardwareCounterBufferget () const
HardwareCounterBuffergetPointer () const
bool isNull (void) const
HardwareCounterBufferoperator* () const
HardwareCounterBufferoperator-> () 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< HardwareCounterBuffer > &other)

Protected Attributes

SharedPtrInfopInfo
HardwareCounterBufferpRep

Detailed Description

Shared pointer implementation used to share counter buffers.

Definition at line 68 of file OgreHardwareCounterBuffer.h.


Member Function Documentation

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

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

Definition at line 254 of file OgreSharedPtr.h.

Definition at line 273 of file OgreSharedPtr.h.

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

Definition at line 275 of file OgreSharedPtr.h.

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

Definition at line 252 of file OgreSharedPtr.h.

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

Definition at line 253 of file OgreSharedPtr.h.

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

Definition at line 286 of file OgreSharedPtr.h.

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

Definition at line 277 of file OgreSharedPtr.h.

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

Definition at line 271 of file OgreSharedPtr.h.

Definition at line 234 of file OgreSharedPtr.h.

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

Definition at line 309 of file OgreSharedPtr.h.

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

Definition at line 269 of file OgreSharedPtr.h.

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