Kale
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
Kale::Vulkan::ParentResource< Parent > Class Template Reference

#include <ParentResource.hpp>

Public Member Functions

virtual ~ParentResource ()
 
void freeChildren ()
 

Protected Attributes

std::list< ChildResource< Parent > * > resources
 

Friends

class ChildResource< Parent >
 

Detailed Description

template<typename Parent>
class Kale::Vulkan::ParentResource< Parent >

Forward declaration of parent resource

Represents a single parent resource which manages several child resources

Definition at line 35 of file ParentResource.hpp.

Constructor & Destructor Documentation

◆ ~ParentResource()

template<typename Parent >
virtual Kale::Vulkan::ParentResource< Parent >::~ParentResource ( )
inlinevirtual

Frees all children resources

Definition at line 49 of file ParentResource.hpp.

Member Function Documentation

◆ freeChildren()

template<typename Parent >
void Kale::Vulkan::ParentResource< Parent >::freeChildren ( )
inline

Frees all children resources

Definition at line 56 of file ParentResource.hpp.

Friends And Related Symbol Documentation

◆ ChildResource< Parent >

template<typename Parent >
friend class ChildResource< Parent >
friend

Definition at line 41 of file ParentResource.hpp.

Member Data Documentation

◆ resources

template<typename Parent >
std::list<ChildResource<Parent>*> Kale::Vulkan::ParentResource< Parent >::resources
protected

All child resources being managed by this parent resource

Definition at line 41 of file ParentResource.hpp.


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