Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ui::PendingStructureChanges Struct Reference

Public Member Functions

 PendingStructureChanges (const AXNode *node)
 
bool DoesNodeExpectAnyStructureChanges () const
 
bool DoesNodeExpectSubtreeOrNodeWillBeDestroyed () const
 
bool DoesNodeExpectSubtreeWillBeDestroyed () const
 
bool DoesNodeExpectNodeWillBeDestroyed () const
 
bool DoesNodeExpectNodeWillBeCreated () const
 
bool DoesNodeRequireInit () const
 

Public Attributes

int32_t destroy_subtree_count
 
int32_t destroy_node_count
 
int32_t create_node_count
 
bool node_exists
 
std::optional< AXNode::AXIDparent_node_id
 
const AXNodeDatalast_known_data
 

Detailed Description

Definition at line 147 of file ax_tree.cc.

Constructor & Destructor Documentation

◆ PendingStructureChanges()

ui::PendingStructureChanges::PendingStructureChanges ( const AXNode node)
inlineexplicit

Definition at line 148 of file ax_tree.cc.

152 node_exists(!!node),
153 parent_node_id((node && node->parent())
154 ? std::optional<AXNode::AXID>{node->parent()->id()}
155 : std::nullopt),
156 last_known_data(node ? &node->data() : nullptr) {}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41
Definition ref_ptr.h:256
std::optional< AXNode::AXID > parent_node_id
Definition ax_tree.cc:224
const AXNodeData * last_known_data
Definition ax_tree.cc:231

Member Function Documentation

◆ DoesNodeExpectAnyStructureChanges()

bool ui::PendingStructureChanges::DoesNodeExpectAnyStructureChanges ( ) const
inline

Definition at line 160 of file ax_tree.cc.

160 {
164 }
bool DoesNodeExpectSubtreeWillBeDestroyed() const
Definition ax_tree.cc:176
bool DoesNodeExpectNodeWillBeDestroyed() const
Definition ax_tree.cc:182
bool DoesNodeExpectNodeWillBeCreated() const
Definition ax_tree.cc:186

◆ DoesNodeExpectNodeWillBeCreated()

bool ui::PendingStructureChanges::DoesNodeExpectNodeWillBeCreated ( ) const
inline

Definition at line 186 of file ax_tree.cc.

186{ return create_node_count; }

◆ DoesNodeExpectNodeWillBeDestroyed()

bool ui::PendingStructureChanges::DoesNodeExpectNodeWillBeDestroyed ( ) const
inline

Definition at line 182 of file ax_tree.cc.

182{ return destroy_node_count; }

◆ DoesNodeExpectSubtreeOrNodeWillBeDestroyed()

bool ui::PendingStructureChanges::DoesNodeExpectSubtreeOrNodeWillBeDestroyed ( ) const
inline

Definition at line 168 of file ax_tree.cc.

◆ DoesNodeExpectSubtreeWillBeDestroyed()

bool ui::PendingStructureChanges::DoesNodeExpectSubtreeWillBeDestroyed ( ) const
inline

Definition at line 176 of file ax_tree.cc.

176 {
178 }

◆ DoesNodeRequireInit()

bool ui::PendingStructureChanges::DoesNodeRequireInit ( ) const
inline

Definition at line 190 of file ax_tree.cc.

190{ return node_exists && !last_known_data; }

Member Data Documentation

◆ create_node_count

int32_t ui::PendingStructureChanges::create_node_count

Definition at line 216 of file ax_tree.cc.

◆ destroy_node_count

int32_t ui::PendingStructureChanges::destroy_node_count

Definition at line 208 of file ax_tree.cc.

◆ destroy_subtree_count

int32_t ui::PendingStructureChanges::destroy_subtree_count

Definition at line 200 of file ax_tree.cc.

◆ last_known_data

const AXNodeData* ui::PendingStructureChanges::last_known_data

Definition at line 231 of file ax_tree.cc.

◆ node_exists

bool ui::PendingStructureChanges::node_exists

Definition at line 220 of file ax_tree.cc.

◆ parent_node_id

std::optional<AXNode::AXID> ui::PendingStructureChanges::parent_node_id

Definition at line 224 of file ax_tree.cc.


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