A class to actually migrate messages. More...
Public Member Functions | |
def | __init__ |
def | add_update_rule |
def | all_rules_valid |
def | expand_rules |
def | filter_rules_unique |
def | find_path |
def | find_target |
def | get_invalid_rules |
def | lookup_type |
def | make_new_half_rule |
def | make_old_half_rule |
def | make_update_rule |
def | migrate |
def | migrate_array |
def | migrate_raw |
def | scaffold_range |
Public Attributes | |
base_nodes | |
class_dict | |
extra_nodes | |
false_rule_loaded | |
first_type | |
found_paths | |
found_targets | |
rename_map | |
rulechains |
A class to actually migrate messages.
This is the big class that actually handles all of the fancy migration work. Better documentation to come later.
Definition at line 471 of file migration.py.
def rosbag.migration.MessageMigrator.__init__ | ( | self, | |
input_rule_files = [] , |
|||
plugins = True |
|||
) |
Definition at line 472 of file migration.py.
def rosbag.migration.MessageMigrator.add_update_rule | ( | self, | |
r | |||
) |
Definition at line 723 of file migration.py.
def rosbag.migration.MessageMigrator.all_rules_valid | ( | self | ) |
Definition at line 776 of file migration.py.
def rosbag.migration.MessageMigrator.expand_rules | ( | self, | |
rules | |||
) |
Definition at line 810 of file migration.py.
def rosbag.migration.MessageMigrator.filter_rules_unique | ( | self, | |
rules | |||
) |
Definition at line 800 of file migration.py.
def rosbag.migration.MessageMigrator.find_path | ( | self, | |
old_class, | |||
new_class | |||
) |
Definition at line 887 of file migration.py.
def rosbag.migration.MessageMigrator.find_target | ( | self, | |
old_class | |||
) |
Definition at line 846 of file migration.py.
Definition at line 782 of file migration.py.
def rosbag.migration.MessageMigrator.lookup_type | ( | self, | |
key | |||
) |
Definition at line 716 of file migration.py.
def rosbag.migration.MessageMigrator.make_new_half_rule | ( | self, | |
new_class | |||
) |
Definition at line 1259 of file migration.py.
def rosbag.migration.MessageMigrator.make_old_half_rule | ( | self, | |
old_class | |||
) |
Definition at line 1230 of file migration.py.
def rosbag.migration.MessageMigrator.make_update_rule | ( | self, | |
old_class, | |||
new_class | |||
) |
Definition at line 1126 of file migration.py.
def rosbag.migration.MessageMigrator.migrate | ( | self, | |
msg_from, | |||
msg_to | |||
) |
Definition at line 1064 of file migration.py.
def rosbag.migration.MessageMigrator.migrate_array | ( | self, | |
msg_from_array, | |||
msg_to_array | |||
) |
Definition at line 1094 of file migration.py.
def rosbag.migration.MessageMigrator.migrate_raw | ( | self, | |
msg_from, | |||
msg_to | |||
) |
Definition at line 1041 of file migration.py.
def rosbag.migration.MessageMigrator.scaffold_range | ( | self, | |
old_type, | |||
new_type | |||
) |
Definition at line 820 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 475 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.
Definition at line 472 of file migration.py.