OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::v1::HardwareIndexBufferSharedPtr Class Reference

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

#include <OgreHardwareIndexBuffer.h>

+ Inheritance diagram for Ogre::v1::HardwareIndexBufferSharedPtr:

Public Types

typedef void(* unspecified_bool_type) (SharedPtr ***)
 

Public Member Functions

 HardwareIndexBufferSharedPtr ()
 
 HardwareIndexBufferSharedPtr (HardwareIndexBuffer *buf)
 
void bind (HardwareIndexBuffer *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
 Binds rep to the SharedPtr. More...
 
SharedPtr< Y > dynamicCast () const
 
HardwareIndexBufferget () const
 
HardwareIndexBuffergetPointer () const
 
bool isNull () const
 
 operator unspecified_bool_type () const
 
HardwareIndexBufferoperator* () const
 
HardwareIndexBufferoperator-> () const
 
void reset ()
 
void reset (HardwareIndexBuffer *rep)
 
void setNull ()
 
void setUseCount (unsigned value)
 
SharedPtr< Y > staticCast () const
 
bool unique () const
 
unsigned int use_count () const
 
unsigned int useCount () const
 

Static Public Member Functions

static void unspecified_bool (SharedPtr ***)
 

Detailed Description

Shared pointer implementation used to share index buffers.

Member Typedef Documentation

◆ unspecified_bool_type

typedef void(* Ogre::SharedPtr< HardwareIndexBuffer >::unspecified_bool_type) (SharedPtr ***)
inherited

Constructor & Destructor Documentation

◆ HardwareIndexBufferSharedPtr() [1/2]

Ogre::v1::HardwareIndexBufferSharedPtr::HardwareIndexBufferSharedPtr ( )
inline

◆ HardwareIndexBufferSharedPtr() [2/2]

Ogre::v1::HardwareIndexBufferSharedPtr::HardwareIndexBufferSharedPtr ( HardwareIndexBuffer buf)
explicit

Member Function Documentation

◆ bind()

void Ogre::SharedPtr< HardwareIndexBuffer >::bind ( HardwareIndexBuffer *  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
Deprecated:
this api will be dropped. use reset(T*) instead

◆ dynamicCast()

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

◆ get()

HardwareIndexBuffer * Ogre::SharedPtr< HardwareIndexBuffer >::get ( ) const
inlineinherited

◆ getPointer()

HardwareIndexBuffer * Ogre::SharedPtr< HardwareIndexBuffer >::getPointer ( ) const
inlineinherited
Deprecated:
use get() instead

◆ isNull()

◆ operator unspecified_bool_type()

Ogre::SharedPtr< HardwareIndexBuffer >::operator unspecified_bool_type ( ) const
inlineinherited

◆ operator*()

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

◆ operator->()

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

◆ reset() [1/2]

void Ogre::SharedPtr< HardwareIndexBuffer >::reset ( )
inlineinherited

◆ reset() [2/2]

void Ogre::SharedPtr< HardwareIndexBuffer >::reset ( HardwareIndexBuffer *  rep)
inlineinherited

◆ setNull()

void Ogre::SharedPtr< HardwareIndexBuffer >::setNull ( )
inlineinherited
Deprecated:
use reset() instead

◆ setUseCount()

void Ogre::SharedPtr< HardwareIndexBuffer >::setUseCount ( unsigned  value)
inlineinherited
Deprecated:
this API will be dropped

◆ staticCast()

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

◆ unique()

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

◆ unspecified_bool()

static void Ogre::SharedPtr< HardwareIndexBuffer >::unspecified_bool ( SharedPtr< HardwareIndexBuffer > ***  )
inlinestaticinherited

◆ use_count()

unsigned int Ogre::SharedPtr< HardwareIndexBuffer >::use_count ( ) const
inlineinherited

◆ useCount()

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

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