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

#include <Fence.hpp>

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

Public Member Functions

 Fence ()=default
 
 Fence (const Fence &)=delete
 
 Fence (Fence &&fence)
 
Fenceoperator= (const Fence &)=delete
 
Fenceoperator= (Fence &&fence)
 
 ~Fence ()
 
 operator VkFence () const
 
VkResult getStatus () const
 
bool reset () const
 
bool wait () const
 
void destroy ()
 

Private Member Functions

 Fence (VkFence fence, const Device *device)
 

Private Attributes

VkFence _fence {VK_NULL_HANDLE}
 
const Device_device {nullptr}
 

Friends

class Builder::Fence
 

Detailed Description

Definition at line 17 of file Fence.hpp.

Constructor & Destructor Documentation

◆ Fence() [1/4]

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

◆ Fence() [2/4]

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

◆ Fence() [3/4]

lug::Graphics::Vulkan::API::Fence::Fence ( Fence &&  fence)

Definition at line 13 of file Fence.cpp.

◆ ~Fence()

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

Definition at line 31 of file Fence.cpp.

◆ Fence() [4/4]

lug::Graphics::Vulkan::API::Fence::Fence ( VkFence  fence,
const Device device 
)
explicitprivate

Definition at line 11 of file Fence.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Fence & lug::Graphics::Vulkan::API::Fence::operator= ( Fence &&  fence)

Definition at line 20 of file Fence.cpp.

◆ operator VkFence()

lug::Graphics::Vulkan::API::Fence::operator VkFence ( ) const
inlineexplicit

Definition at line 31 of file Fence.hpp.

◆ getStatus()

VkResult lug::Graphics::Vulkan::API::Fence::getStatus ( ) const

Definition at line 35 of file Fence.cpp.

◆ reset()

bool lug::Graphics::Vulkan::API::Fence::reset ( ) const

Definition at line 39 of file Fence.cpp.

◆ wait()

bool lug::Graphics::Vulkan::API::Fence::wait ( ) const

Definition at line 50 of file Fence.cpp.

◆ destroy()

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

Definition at line 61 of file Fence.cpp.

Friends And Related Function Documentation

◆ Builder::Fence

friend class Builder::Fence
friend

Definition at line 18 of file Fence.hpp.

Member Data Documentation

◆ _fence

VkFence lug::Graphics::Vulkan::API::Fence::_fence {VK_NULL_HANDLE}
private

Definition at line 45 of file Fence.hpp.

◆ _device

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

Definition at line 46 of file Fence.hpp.


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