Flutter Engine
flutter::RefCountedDartWrappable< T > Class Template Reference

#include <dart_wrapper.h>

Inheritance diagram for flutter::RefCountedDartWrappable< T >:
fml::RefCountedThreadSafe< T > tonic::DartWrappable fml::internal::RefCountedThreadSafeBase

Public Member Functions

virtual void RetainDartWrappableReference () const override
 
virtual void ReleaseDartWrappableReference () const override
 
- Public Member Functions inherited from fml::RefCountedThreadSafe< T >
void Release () const
 
- Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase
void AddRef () const
 
bool HasOneRef () const
 
void AssertHasOneRef () const
 
- Public Member Functions inherited from tonic::DartWrappable
 DartWrappable ()
 
virtual const DartWrapperInfoGetDartWrapperInfo () const =0
 
virtual size_t GetAllocationSize () const
 
Dart_Handle CreateDartWrapper (DartState *dart_state)
 
void AssociateWithDartWrapper (Dart_Handle wrappable)
 
void ClearDartWrapper ()
 
Dart_WeakPersistentHandle dart_wrapper () const
 

Additional Inherited Members

- Public Types inherited from tonic::DartWrappable
enum  DartNativeFields {
  kPeerIndex,
  kWrapperInfoIndex,
  kNumberOfNativeFields
}
 
- Protected Member Functions inherited from fml::RefCountedThreadSafe< T >
 RefCountedThreadSafe ()
 
 ~RefCountedThreadSafe ()
 
- Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase
 RefCountedThreadSafeBase ()
 
 ~RefCountedThreadSafeBase ()
 
bool Release () const
 
void Adopt ()
 
- Protected Member Functions inherited from tonic::DartWrappable
virtual ~DartWrappable ()
 
- Static Protected Member Functions inherited from tonic::DartWrappable
static Dart_PersistentHandle GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info)
 

Detailed Description

template<typename T>
class flutter::RefCountedDartWrappable< T >

Definition at line 14 of file dart_wrapper.h.

Member Function Documentation

◆ ReleaseDartWrappableReference()

template<typename T>
virtual void flutter::RefCountedDartWrappable< T >::ReleaseDartWrappableReference ( ) const
inlineoverridevirtual

Implements tonic::DartWrappable.

Definition at line 21 of file dart_wrapper.h.

◆ RetainDartWrappableReference()

template<typename T>
virtual void flutter::RefCountedDartWrappable< T >::RetainDartWrappableReference ( ) const
inlineoverridevirtual

Implements tonic::DartWrappable.

Definition at line 17 of file dart_wrapper.h.


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