Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
fml::RefCountedThreadSafe< T > Class Template Reference

#include <ref_counted.h>

Inheritance diagram for fml::RefCountedThreadSafe< T >:
fml::internal::RefCountedThreadSafeBase flutter::RefCountedDartWrappable< Canvas > flutter::RefCountedDartWrappable< CanvasImage > flutter::RefCountedDartWrappable< CanvasPath > flutter::RefCountedDartWrappable< CanvasPathMeasure > flutter::RefCountedDartWrappable< Codec > flutter::RefCountedDartWrappable< ColorFilter > flutter::RefCountedDartWrappable< EngineLayer > flutter::RefCountedDartWrappable< FlutterGpuTestClass > flutter::RefCountedDartWrappable< FragmentProgram > flutter::RefCountedDartWrappable< ImageDescriptor > flutter::RefCountedDartWrappable< ImageFilter > flutter::RefCountedDartWrappable< ImmutableBuffer > flutter::RefCountedDartWrappable< NativeStringAttribute > flutter::RefCountedDartWrappable< Paragraph > flutter::RefCountedDartWrappable< ParagraphBuilder > flutter::RefCountedDartWrappable< Picture > flutter::RefCountedDartWrappable< PictureRecorder > flutter::RefCountedDartWrappable< Scene > flutter::RefCountedDartWrappable< SceneBuilder > flutter::RefCountedDartWrappable< SceneNode > flutter::RefCountedDartWrappable< SemanticsUpdate > flutter::RefCountedDartWrappable< SemanticsUpdateBuilder > flutter::RefCountedDartWrappable< Shader > flutter::RefCountedDartWrappable< Vertices > flutter::RefCountedDartWrappable< CommandBuffer > flutter::RefCountedDartWrappable< Context > flutter::RefCountedDartWrappable< DeviceBuffer > flutter::RefCountedDartWrappable< HostBuffer > flutter::RefCountedDartWrappable< RenderPass > flutter::RefCountedDartWrappable< RenderPipeline > flutter::RefCountedDartWrappable< ShaderLibrary > flutter::RefCountedDartWrappable< Texture > flutter::RefCountedDartWrappable< MyNativeClass > flutter::RefCountedDartWrappable< T >

Public Member Functions

void Release () const
 
- Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase
void AddRef () const
 
bool HasOneRef () const
 
void AssertHasOneRef () const
 

Protected Member Functions

 RefCountedThreadSafe ()
 
 ~RefCountedThreadSafe ()
 
- Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase
 RefCountedThreadSafeBase ()
 
 ~RefCountedThreadSafeBase ()
 
bool Release () const
 
void Adopt ()
 

Friends

template<typename U >
RefPtr< U > AdoptRef (U *)
 

Detailed Description

template<typename T>
class fml::RefCountedThreadSafe< T >

Definition at line 63 of file ref_counted.h.

Constructor & Destructor Documentation

◆ RefCountedThreadSafe()

template<typename T >
fml::RefCountedThreadSafe< T >::RefCountedThreadSafe ( )
inlineprotected

Definition at line 103 of file ref_counted.h.

103{}

◆ ~RefCountedThreadSafe()

template<typename T >
fml::RefCountedThreadSafe< T >::~RefCountedThreadSafe ( )
inlineprotected

Definition at line 108 of file ref_counted.h.

108{}

Member Function Documentation

◆ Release()

template<typename T >
void fml::RefCountedThreadSafe< T >::Release ( ) const
inline

Definition at line 71 of file ref_counted.h.

71 {
73 delete static_cast<const T*>(this);
74 }
75 }
#define T

Friends And Related Symbol Documentation

◆ AdoptRef

template<typename T >
template<typename U >
RefPtr< U > AdoptRef ( U *  )
friend

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