VkCV Framework  0.0.1
CV Vulkan framework
vkcv::Handle Class Reference
Inheritance diagram for vkcv::Handle:
Collaboration diagram for vkcv::Handle:

Public Member Functions

 Handle (const Handle &other)
 
 Handle (Handle &&other) noexcept
 
Handleoperator= (const Handle &other)
 
Handleoperator= (Handle &&other) noexcept
 
 operator bool () const
 
bool operator! () const
 

Protected Member Functions

 Handle (uint64_t id, const HandleDestroyFunction &destroy=nullptr)
 
uint64_t getId () const
 
uint64_t getRC () const
 

Private Attributes

uint64_t m_id
 
uint64_t * m_rc
 
HandleDestroyFunction m_destroy
 

Friends

std::ostream & operator<< (std::ostream &out, const Handle &handle)
 

Detailed Description

Member Function Documentation

◆ getId()

◆ getRC()

uint64_t vkcv::Handle::getRC ( ) const
protected

Returns the reference counter of a handle

Returns
Reference counter

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