Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
flutter::SemanticsUpdate Class Reference

#include <semantics_update.h>

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

Public Member Functions

 ~SemanticsUpdate () override
 
SemanticsNodeUpdates takeNodes ()
 
CustomAccessibilityActionUpdates takeActions ()
 
void dispose ()
 
- Public Member Functions inherited from flutter::RefCountedDartWrappable< SemanticsUpdate >
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
 
Dart_Handle CreateDartWrapper (DartState *dart_state)
 
void AssociateWithDartWrapper (Dart_Handle wrappable)
 
void ClearDartWrapper ()
 
Dart_WeakPersistentHandle dart_wrapper () const
 

Static Public Member Functions

static void create (Dart_Handle semantics_update_handle, SemanticsNodeUpdates nodes, CustomAccessibilityActionUpdates actions)
 

Additional Inherited Members

- Public Types inherited from tonic::DartWrappable
enum  DartNativeFields { kPeerIndex , 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

Definition at line 14 of file semantics_update.h.

Constructor & Destructor Documentation

◆ ~SemanticsUpdate()

flutter::SemanticsUpdate::~SemanticsUpdate ( )
overridedefault

Member Function Documentation

◆ create()

void flutter::SemanticsUpdate::create ( Dart_Handle  semantics_update_handle,
SemanticsNodeUpdates  nodes,
CustomAccessibilityActionUpdates  actions 
)
static

Definition at line 21 of file semantics_update.cc.

23 {
24 auto semantics_update = fml::MakeRefCounted<SemanticsUpdate>(
25 std::move(nodes), std::move(actions));
26 semantics_update->AssociateWithDartWrapper(semantics_update_handle);
27}

◆ dispose()

void flutter::SemanticsUpdate::dispose ( )

Definition at line 43 of file semantics_update.cc.

43 {
45}

◆ takeActions()

CustomAccessibilityActionUpdates flutter::SemanticsUpdate::takeActions ( )

Definition at line 39 of file semantics_update.cc.

39 {
40 return std::move(actions_);
41}

◆ takeNodes()

SemanticsNodeUpdates flutter::SemanticsUpdate::takeNodes ( )

Definition at line 35 of file semantics_update.cc.

35 {
36 return std::move(nodes_);
37}

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