Blender V4.3
blender::ImplicitSharedValue< T > Class Template Reference

#include <BLI_implicit_sharing.hh>

Inherits blender::ImplicitSharingInfo.

Public Member Functions

template<typename... Args>
 ImplicitSharedValue (Args &&...args)
 
- Public Member Functions inherited from blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
 
bool is_mutable () const
 
bool is_expired () const
 
void add_user () const
 
void add_weak_user () const
 
void tag_ensured_mutable () const
 
int64_t version () const
 
int strong_users () const
 
void remove_user_and_delete_if_last () const
 
void remove_weak_user_and_delete_if_last () const
 

Public Attributes

T data
 

Detailed Description

template<typename T>
class blender::ImplicitSharedValue< T >

Utility for creating an allocated shared resource, to be used like: new ImplicitSharedValue<T>(args);

Definition at line 208 of file BLI_implicit_sharing.hh.

Constructor & Destructor Documentation

◆ ImplicitSharedValue()

template<typename T >
template<typename... Args>
blender::ImplicitSharedValue< T >::ImplicitSharedValue ( Args &&... args)
inline

Definition at line 213 of file BLI_implicit_sharing.hh.

Member Data Documentation

◆ data

template<typename T >
T blender::ImplicitSharedValue< T >::data

Definition at line 210 of file BLI_implicit_sharing.hh.


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