Chromium Embedded Framework (CEF)  115.2.0+g096e3eb+chromium-115.0.5790.13
base::RefCountedData< T > Class Template Reference

A thread-safe wrapper for some piece of data so we can place other things in scoped_refptrs<>. More...

#include "include/base/cef_ref_counted.h"

Inheritance diagram for base::RefCountedData< T >:
base::RefCountedThreadSafe< base::RefCountedData< T > >

Public Member Functions

 RefCountedData ()
 
 RefCountedData (const T &in_value)
 
 RefCountedData (T &&in_value)
 
template<typename... Args>
 RefCountedData (in_place_t, Args &&... args)
 
- Public Member Functions inherited from base::RefCountedThreadSafe< base::RefCountedData< T > >
 RefCountedThreadSafe ()
 
 RefCountedThreadSafe (const RefCountedThreadSafe &)=delete
 
RefCountedThreadSafeoperator= (const RefCountedThreadSafe &)=delete
 
void AddRef () const
 
void Release () const
 

Public Attributes

data
 

Friends

class base::RefCountedThreadSafe< base::RefCountedData< T > >
 

Additional Inherited Members

- Static Public Attributes inherited from base::RefCountedThreadSafe< base::RefCountedData< T > >
static constexpr cef_subtle::StartRefCountFromZeroTag kRefCountPreference
 
- Protected Member Functions inherited from base::RefCountedThreadSafe< base::RefCountedData< T > >
 ~RefCountedThreadSafe ()=default
 

Detailed Description

template<typename T>
class base::RefCountedData< T >

A thread-safe wrapper for some piece of data so we can place other things in scoped_refptrs<>.

Constructor & Destructor Documentation

◆ RefCountedData() [1/4]

template<typename T >
base::RefCountedData< T >::RefCountedData ( )
inline

◆ RefCountedData() [2/4]

template<typename T >
base::RefCountedData< T >::RefCountedData ( const T &  in_value)
inline

◆ RefCountedData() [3/4]

template<typename T >
base::RefCountedData< T >::RefCountedData ( T &&  in_value)
inline

◆ RefCountedData() [4/4]

template<typename T >
template<typename... Args>
base::RefCountedData< T >::RefCountedData ( in_place_t  ,
Args &&...  args 
)
inlineexplicit

Friends And Related Function Documentation

◆ base::RefCountedThreadSafe< base::RefCountedData< T > >

template<typename T >
friend class base::RefCountedThreadSafe< base::RefCountedData< T > >
friend

Member Data Documentation

◆ data

template<typename T >
T base::RefCountedData< T >::data

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