Functions | Variables
makerule Namespace Reference

Functions

def print_trans

Variables

list all_rules = []
list append_rule = [rulefile]
list extra_rules = []
tuple f = open(args[0])
tuple migrations = rosbag.migration.checkmessages(mm, [old_class])
tuple mm = rosbag.migration.MessageMigrator(args[2:]+append_rule,not options.noplugins)
tuple new_class = genpy.message.get_message_class(new_type)
tuple new_rule = mm.make_update_rule(r.old_class, new_class)
list new_rules = [r for r in mm.expand_rules(R.sub_rules) if r.valid == False]
tuple new_type = raw_input('>')
tuple old_class = genpy.dynamic.generate_dynamic(old_type,old_full_text)
tuple old_full_text = f.read()
tuple old_type = type_match.groups()
string output = ''
tuple parser = optparse.OptionParser(usage='usage: makerule.py msg.saved [-a] output_rulefile [rulefile1, rulefile2, ...] [-n]')
tuple pat = re.compile(r"\[(.*)]:")
tuple R = new_rule(mm, 'GENERATED.' + new_rule.__name__)
list rulefile = args[1]
tuple rules_left = mm.filter_rules_unique(all_rules)
tuple type_line = f.readline()
tuple type_match = pat.match(type_line)

Function Documentation

def makerule.print_trans (   old,
  new,
  indent 
)

Definition at line 45 of file makerule.py.


Variable Documentation

Definition at line 110 of file makerule.py.

Definition at line 74 of file makerule.py.

Definition at line 131 of file makerule.py.

tuple makerule::f = open(args[0])

Definition at line 78 of file makerule.py.

Definition at line 102 of file makerule.py.

tuple makerule::mm = rosbag.migration.MessageMigrator(args[2:]+append_rule,not options.noplugins)

Definition at line 100 of file makerule.py.

tuple makerule::new_class = genpy.message.get_message_class(new_type)

Definition at line 137 of file makerule.py.

tuple makerule::new_rule = mm.make_update_rule(r.old_class, new_class)

Definition at line 142 of file makerule.py.

list makerule::new_rules = [r for r in mm.expand_rules(R.sub_rules) if r.valid == False]

Definition at line 145 of file makerule.py.

tuple makerule::new_type = raw_input('>')

Definition at line 136 of file makerule.py.

tuple makerule::old_class = genpy.dynamic.generate_dynamic(old_type,old_full_text)

Definition at line 94 of file makerule.py.

tuple makerule::old_full_text = f.read()

Definition at line 91 of file makerule.py.

tuple makerule::old_type = type_match.groups()

Definition at line 90 of file makerule.py.

string makerule::output = ''

Definition at line 123 of file makerule.py.

tuple makerule::parser = optparse.OptionParser(usage='usage: makerule.py msg.saved [-a] output_rulefile [rulefile1, rulefile2, ...] [-n]')

Definition at line 55 of file makerule.py.

tuple makerule::pat = re.compile(r"\[(.*)]:")

Definition at line 84 of file makerule.py.

tuple makerule::R = new_rule(mm, 'GENERATED.' + new_rule.__name__)

Definition at line 143 of file makerule.py.

list makerule::rulefile = args[1]

Definition at line 63 of file makerule.py.

tuple makerule::rules_left = mm.filter_rules_unique(all_rules)

Definition at line 124 of file makerule.py.

tuple makerule::type_line = f.readline()

Definition at line 83 of file makerule.py.

tuple makerule::type_match = pat.match(type_line)

Definition at line 85 of file makerule.py.



rosbag
Author(s): Tim Field, Jeremy Leibs, James Bowman
autogenerated on Fri Aug 28 2015 12:33:52