IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::detail::RefCounted Class Reference

#include <ice/detail/refcounted.hxx>

Public Member Functions

 RefCounted (ice::Allocator &alloc) noexcept
virtual ~RefCounted () noexcept
auto allocator () const noexcept -> ice::Allocator &
auto rc_add (this auto &self, RCPassKey const &pass_key) noexcept
void rc_sub (RCPassKey const &pass_key) noexcept
auto rc_stats (RCPassKey const &pass_key) const noexcept -> ice::RefCountStats
bool rc_unclaimed (RCPassKey const &pass_key) const noexcept
auto rc_claim (this auto &self, RCPassKey const &pass_key) noexcept
auto rc_extract (this auto &self, RCPassKey const &pass_key) noexcept
void rc_delete_extracted () noexcept

Constructor & Destructor Documentation

◆ RefCounted()

ice::detail::RefCounted::RefCounted ( ice::Allocator & alloc)
noexcept

◆ ~RefCounted()

virtual ice::detail::RefCounted::~RefCounted ( )
virtualnoexcept

Member Function Documentation

◆ allocator()

auto ice::detail::RefCounted::allocator ( ) const -> ice::Allocator &
inlinenoexcept

◆ rc_add()

auto ice::detail::RefCounted::rc_add ( this auto & self,
RCPassKey const & pass_key )
inlinenoexcept

◆ rc_claim()

auto ice::detail::RefCounted::rc_claim ( this auto & self,
RCPassKey const & pass_key )
inlinenoexcept

◆ rc_delete_extracted()

void ice::detail::RefCounted::rc_delete_extracted ( )
noexcept

◆ rc_extract()

auto ice::detail::RefCounted::rc_extract ( this auto & self,
RCPassKey const & pass_key )
inlinenoexcept

◆ rc_stats()

auto ice::detail::RefCounted::rc_stats ( RCPassKey const & pass_key) const -> ice::RefCountStats
noexcept

◆ rc_sub()

void ice::detail::RefCounted::rc_sub ( RCPassKey const & pass_key)
noexcept

◆ rc_unclaimed()

bool ice::detail::RefCounted::rc_unclaimed ( RCPassKey const & pass_key) const
noexcept

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