ros2_snapshot.snapshot.ros_model_builder module
Module for the ROSModelBuilder.
- class ros2_snapshot.snapshot.ros_model_builder.ROSModelBuilder(topic_types)
Bases:
objectClass responsible for creating and preparing BankBuilders.
Allows extraction of a fully populated ROSModel.
- extract_model()
Extract the ROSModel instance.
- Returns:
the extracted, populated ROSModel
- Return type:
- get_bank_builder(bank_builder_type)
Return a desired BankBuilder.
- Parameters:
bank_builder_type (BankType) – the key to retrieve the BankBuilder by
- Returns:
the desired BankBuilder
- Return type:
BankBuilder
- prepare()
Prepare the individual BankBuilders to help build the ROSModel.