HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_IntrusiveNonThreadSafeCounterPolicy Struct Reference

NON Thread-safe policy for UT_IntrusiveRefCounter. More...

#include <UT_IntrusivePtr.h>

Public Types

using type = uint32
 
using pod_type = uint32
 

Static Public Member Functions

static SYS_FORCE_INLINE uint32 load (const type &counter) noexcept
 
static SYS_FORCE_INLINE void increment (type &counter) noexcept
 
static SYS_FORCE_INLINE void increment (type &counter, pod_type refs_to_add) noexcept
 
static SYS_FORCE_INLINE uint32 decrement (type &counter) noexcept
 
static SYS_FORCE_INLINE uint32 decrement (type &counter, pod_type refs_to_remove) noexcept
 
static SYS_FORCE_INLINE bool conditionalIncrement (type &counter) noexcept
 

Detailed Description

NON Thread-safe policy for UT_IntrusiveRefCounter.

Definition at line 195 of file UT_IntrusivePtr.h.

Member Typedef Documentation

Member Function Documentation

static SYS_FORCE_INLINE bool UT_IntrusiveNonThreadSafeCounterPolicy::conditionalIncrement ( type counter)
inlinestaticnoexcept

Definition at line 226 of file UT_IntrusivePtr.h.

static SYS_FORCE_INLINE uint32 UT_IntrusiveNonThreadSafeCounterPolicy::decrement ( type counter)
inlinestaticnoexcept

Definition at line 215 of file UT_IntrusivePtr.h.

static SYS_FORCE_INLINE uint32 UT_IntrusiveNonThreadSafeCounterPolicy::decrement ( type counter,
pod_type  refs_to_remove 
)
inlinestaticnoexcept

Definition at line 220 of file UT_IntrusivePtr.h.

static SYS_FORCE_INLINE void UT_IntrusiveNonThreadSafeCounterPolicy::increment ( type counter)
inlinestaticnoexcept

Definition at line 204 of file UT_IntrusivePtr.h.

static SYS_FORCE_INLINE void UT_IntrusiveNonThreadSafeCounterPolicy::increment ( type counter,
pod_type  refs_to_add 
)
inlinestaticnoexcept

Definition at line 209 of file UT_IntrusivePtr.h.

static SYS_FORCE_INLINE uint32 UT_IntrusiveNonThreadSafeCounterPolicy::load ( const type counter)
inlinestaticnoexcept

Definition at line 201 of file UT_IntrusivePtr.h.


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