Go to the source code of this file.
Namespaces | |
generate_nerian_config_cpp | |
Variables | |
string | generate_nerian_config_cpp.CODE_TEMPLATE |
generate_nerian_config_cpp.infile = sys.stdin | |
generate_nerian_config_cpp.outfile = sys.stdout | |
string | generate_nerian_config_cpp.paramchange = '\n' |
string | generate_nerian_config_cpp.setdefaults = '\n' |
string | generate_nerian_config_cpp.setparam = '\n' |
string | generate_nerian_config_cpp.TEMPLATE_PARAMETER_CHANGE |
string | generate_nerian_config_cpp.TEMPLATE_SETDEFAULTS |
string | generate_nerian_config_cpp.TEMPLATE_SETPARAM = ''' getNH().setParam(node_name + "/{varname}", cfg["{varname}"].getValue<{typ}>());''' |
generate_nerian_config_cpp.typ = line.split(',')[1].strip().split('_')[0] | |
generate_nerian_config_cpp.varname = line.split('"')[1] | |
list | generate_nerian_config_cpp.varnames_and_types = [] |