ros2_snapshot.snapshot.builders.node_bank_builder module

Module for NodeBankBuilder.

Responsible for collecting, maintaining, and populating NodeBuilder instances

class ros2_snapshot.snapshot.builders.node_bank_builder.NodeBankBuilder

Bases: _BankBuilder

Define a NodeBankBuilder.

Responsible for collecting, maintaining, and populating NodeBuilders for the purpose of extracting metamodel instances

extract_node_bank_metamodel()

Extract and return an instance of the NodeBank.

Extracted and populated from this builder (built by this builder); only pure Node instances (no subtypes) are part of this bank

Returns:

an extracted instance of this builder’s NodeBank

Return type:

NodeBank

get_node_builder()

Get node builder.