ros2_snapshot.snapshot.builders.machine_bank_builder module

Classes associated with building a bank of machine models.

class ros2_snapshot.snapshot.builders.machine_bank_builder.MachineBankBuilder

Bases: _BankBuilder

Define a MachineBankBuilder.

which is responsible for collecting,

maintaining, and populating MachineBuilders for the purpose of extracting metamodel instances

prepare(**kwargs)

Prepare the internal MachineBankBuilder based on identified nodes.

Used for eventual metamodel extraction; internal changes to the state of the *EntityBuilders occur for the builders that are stored in the internal bank

Parameters:

kwargs (dict{param: value}) – keyword arguments needed by the underlying *EntityBuilders used in the preparation process