Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Graphics::ScopedMapping< T > Struct Template Reference

#include <BufferCommon.h>

Collaboration diagram for Graphics::ScopedMapping< T >:
Collaboration graph
[legend]

Public Member Functions

 ScopedMapping (void *data, Mappable *map)
 
 ~ScopedMapping ()
 
 ScopedMapping (const ScopedMapping &)=delete
 
ScopedMappingoperator= (const ScopedMapping)=delete
 
T * operator-> ()
 
T * data ()
 
 operator bool () const
 
bool isValid () const
 

Protected Attributes

T * m_data
 
Mappablem_map
 

Constructor & Destructor Documentation

◆ ScopedMapping() [1/2]

template<typename T >
Graphics::ScopedMapping< T >::ScopedMapping ( void *  data,
Mappable map 
)
inline

◆ ~ScopedMapping()

template<typename T >
Graphics::ScopedMapping< T >::~ScopedMapping ( )
inline
Here is the call graph for this function:

◆ ScopedMapping() [2/2]

template<typename T >
Graphics::ScopedMapping< T >::ScopedMapping ( const ScopedMapping< T > &  )
delete

Member Function Documentation

◆ data()

template<typename T >
T * Graphics::ScopedMapping< T >::data ( )
inline

◆ isValid()

template<typename T >
bool Graphics::ScopedMapping< T >::isValid ( ) const
inline

◆ operator bool()

template<typename T >
Graphics::ScopedMapping< T >::operator bool ( ) const
inline
Here is the call graph for this function:

◆ operator->()

template<typename T >
T * Graphics::ScopedMapping< T >::operator-> ( )
inline

◆ operator=()

template<typename T >
ScopedMapping & Graphics::ScopedMapping< T >::operator= ( const ScopedMapping< T >  )
delete

Member Data Documentation

◆ m_data

template<typename T >
T* Graphics::ScopedMapping< T >::m_data
protected

◆ m_map

template<typename T >
Mappable* Graphics::ScopedMapping< T >::m_map
protected

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