SDL  2.0
VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch > Class Template Reference

#include <vulkan.hpp>

Public Member Functions

 PoolFree (OwnerType owner=OwnerType(), PoolType pool=PoolType(), Dispatch const &dispatch=Dispatch())
 
OwnerType getOwner () const
 
PoolType getPool () const
 

Protected Member Functions

template<typename T >
void destroy (T t)
 

Private Attributes

OwnerType m_owner
 
PoolType m_pool
 
Dispatch const * m_dispatch
 

Detailed Description

template<typename OwnerType, typename PoolType, typename Dispatch>
class VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >

Definition at line 2591 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PoolFree()

template<typename OwnerType, typename PoolType, typename Dispatch>
VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::PoolFree ( OwnerType  owner = OwnerType(),
PoolType  pool = PoolType(),
Dispatch const &  dispatch = Dispatch() 
)
inline

Definition at line 2594 of file vulkan.hpp.

2595  : m_owner( owner )
2596  , m_pool( pool )
2597  , m_dispatch( &dispatch )
2598  {}
Dispatch const * m_dispatch
Definition: vulkan.hpp:2613

Member Function Documentation

◆ destroy()

template<typename OwnerType, typename PoolType, typename Dispatch>
template<typename T >
void VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::destroy ( T  t)
inlineprotected

Definition at line 2605 of file vulkan.hpp.

2606  {
2607  m_owner.free( m_pool, t, *m_dispatch );
2608  }
Dispatch const * m_dispatch
Definition: vulkan.hpp:2613
GLdouble GLdouble t
Definition: SDL_opengl.h:2071

◆ getOwner()

template<typename OwnerType, typename PoolType, typename Dispatch>
OwnerType VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::getOwner ( ) const
inline

Definition at line 2600 of file vulkan.hpp.

2600 { return m_owner; }

◆ getPool()

template<typename OwnerType, typename PoolType, typename Dispatch>
PoolType VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::getPool ( ) const
inline

Definition at line 2601 of file vulkan.hpp.

2601 { return m_pool; }

Field Documentation

◆ m_dispatch

template<typename OwnerType, typename PoolType, typename Dispatch>
Dispatch const* VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::m_dispatch
private

Definition at line 2613 of file vulkan.hpp.

◆ m_owner

template<typename OwnerType, typename PoolType, typename Dispatch>
OwnerType VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::m_owner
private

Definition at line 2611 of file vulkan.hpp.

◆ m_pool

template<typename OwnerType, typename PoolType, typename Dispatch>
PoolType VULKAN_HPP_NAMESPACE::PoolFree< OwnerType, PoolType, Dispatch >::m_pool
private

Definition at line 2612 of file vulkan.hpp.


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