Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CVertexBufferManager::Handle Class Reference

#include <VertexBufferManager.h>

Collaboration diagram for CVertexBufferManager::Handle:

Public Member Functions

 Handle ()=default
 
 Handle (const Handle &)=delete
 
Handleoperator= (const Handle &)=delete
 
 Handle (CVertexBuffer::VBChunk *chunk)
 
 Handle (Handle &&other)
 
Handleoperator= (Handle &&other)
 
 ~Handle ()
 
bool IsValid () const
 
 operator bool () const
 
bool operator! () const
 
void Reset ()
 
CVertexBuffer::VBChunkoperator* () const
 
CVertexBuffer::VBChunkoperator-> () const
 
CVertexBuffer::VBChunkGet () const
 

Private Attributes

CVertexBuffer::VBChunkm_Chunk = nullptr
 

Friends

void swap (Handle &lhs, Handle &rhs)
 

Constructor & Destructor Documentation

◆ Handle() [1/4]

CVertexBufferManager::Handle::Handle ( )
default

◆ Handle() [2/4]

CVertexBufferManager::Handle::Handle ( const Handle )
delete

◆ Handle() [3/4]

CVertexBufferManager::Handle::Handle ( CVertexBuffer::VBChunk chunk)
explicit

◆ Handle() [4/4]

CVertexBufferManager::Handle::Handle ( Handle &&  other)

◆ ~Handle()

CVertexBufferManager::Handle::~Handle ( )
inline

Member Function Documentation

◆ Get()

CVertexBuffer::VBChunk * CVertexBufferManager::Handle::Get ( ) const
inline

◆ IsValid()

bool CVertexBufferManager::Handle::IsValid ( ) const
inline

◆ operator bool()

CVertexBufferManager::Handle::operator bool ( ) const
inlineexplicit

◆ operator!()

bool CVertexBufferManager::Handle::operator! ( ) const
inline

◆ operator*()

CVertexBuffer::VBChunk & CVertexBufferManager::Handle::operator* ( ) const
inline

◆ operator->()

CVertexBuffer::VBChunk * CVertexBufferManager::Handle::operator-> ( ) const
inline

◆ operator=() [1/2]

Handle & CVertexBufferManager::Handle::operator= ( const Handle )
delete

◆ operator=() [2/2]

CVertexBufferManager::Handle & CVertexBufferManager::Handle::operator= ( Handle &&  other)

◆ Reset()

void CVertexBufferManager::Handle::Reset ( )

Friends And Related Function Documentation

◆ swap

void swap ( Handle lhs,
Handle rhs 
)
friend

Member Data Documentation

◆ m_Chunk

CVertexBuffer::VBChunk* CVertexBufferManager::Handle::m_Chunk = nullptr
private

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