Lugdunum  0.1.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lug::Graphics::Vulkan::API::CommandPool Class Reference

#include <CommandPool.hpp>

Collaboration diagram for lug::Graphics::Vulkan::API::CommandPool:
[legend]

Public Member Functions

 CommandPool ()=default
 
 CommandPool (const CommandPool &)=delete
 
 CommandPool (CommandPool &&CommandPool)
 
CommandPooloperator= (const CommandPool &)=delete
 
CommandPooloperator= (CommandPool &&CommandPool)
 
 ~CommandPool ()
 
 operator VkCommandPool () const
 
const DevicegetDevice () const
 
const QueuegetQueue () const
 
bool reset (bool releaseRessources=false) const
 
void destroy ()
 

Private Member Functions

 CommandPool (VkCommandPool commandPool, const Device *device, const Queue *queue)
 

Private Attributes

VkCommandPool _commandPool {VK_NULL_HANDLE}
 
const Device_device {nullptr}
 
const Queue_queue {nullptr}
 

Friends

class Builder::CommandPool
 

Detailed Description

Definition at line 18 of file CommandPool.hpp.

Constructor & Destructor Documentation

◆ CommandPool() [1/4]

lug::Graphics::Vulkan::API::CommandPool::CommandPool ( )
default

◆ CommandPool() [2/4]

lug::Graphics::Vulkan::API::CommandPool::CommandPool ( const CommandPool )
delete

◆ CommandPool() [3/4]

lug::Graphics::Vulkan::API::CommandPool::CommandPool ( CommandPool &&  CommandPool)

Definition at line 13 of file CommandPool.cpp.

◆ ~CommandPool()

lug::Graphics::Vulkan::API::CommandPool::~CommandPool ( )

Definition at line 37 of file CommandPool.cpp.

◆ CommandPool() [4/4]

lug::Graphics::Vulkan::API::CommandPool::CommandPool ( VkCommandPool  commandPool,
const Device device,
const Queue queue 
)
explicitprivate

Definition at line 11 of file CommandPool.cpp.

Member Function Documentation

◆ operator=() [1/2]

CommandPool& lug::Graphics::Vulkan::API::CommandPool::operator= ( const CommandPool )
delete

◆ operator=() [2/2]

CommandPool & lug::Graphics::Vulkan::API::CommandPool::operator= ( CommandPool &&  CommandPool)

Definition at line 23 of file CommandPool.cpp.

◆ operator VkCommandPool()

lug::Graphics::Vulkan::API::CommandPool::operator VkCommandPool ( ) const
inlineexplicit

Definition at line 34 of file CommandPool.hpp.

◆ getDevice()

const Device * CommandPool::getDevice ( ) const
inline

Definition at line 1 of file CommandPool.inl.

◆ getQueue()

const Queue * CommandPool::getQueue ( ) const
inline

Definition at line 5 of file CommandPool.inl.

◆ reset()

bool lug::Graphics::Vulkan::API::CommandPool::reset ( bool  releaseRessources = false) const

Definition at line 41 of file CommandPool.cpp.

◆ destroy()

void lug::Graphics::Vulkan::API::CommandPool::destroy ( )

Definition at line 52 of file CommandPool.cpp.

Friends And Related Function Documentation

◆ Builder::CommandPool

friend class Builder::CommandPool
friend

Definition at line 19 of file CommandPool.hpp.

Member Data Documentation

◆ _commandPool

VkCommandPool lug::Graphics::Vulkan::API::CommandPool::_commandPool {VK_NULL_HANDLE}
private

Definition at line 50 of file CommandPool.hpp.

◆ _device

const Device* lug::Graphics::Vulkan::API::CommandPool::_device {nullptr}
private

Definition at line 51 of file CommandPool.hpp.

◆ _queue

const Queue* lug::Graphics::Vulkan::API::CommandPool::_queue {nullptr}
private

Definition at line 53 of file CommandPool.hpp.


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