Classes | |
class | mav_include |
Functions | |
def | copy_fixed_headers (directory, xml) |
def | enum_remove_prefix (prefix, s) |
def | fix_int8_t (v) |
def | generate (basename, xml_list) |
def | generate_gtestsuite_hpp (directory, xml) |
def | generate_main_hpp (directory, xml) |
def | generate_message_hpp (directory, m) |
def | generate_one (basename, xml) |
def | tmax (bit) |
Variables | |
EType = collections.namedtuple('EType', ('type', 'max')) | |
dictionary | MACROSES |
t = mavtemplate.MAVTemplate() | |
dictionary | TYPE_MAX |
parse a MAVLink protocol XML file and generate a C++ implementation Based on C implementation and require C-library for framing. Copyright Andrew Tridgell 2011 Copyright Vladimir Ermakov 2016 Released under GNU GPL version 3 or later
def pymavlink.generator.mavgen_cpp11.copy_fixed_headers | ( | directory, | |
xml | |||
) |
copy the fixed protocol headers to the target directory
Definition at line 274 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.enum_remove_prefix | ( | prefix, | |
s | |||
) |
remove prefix from enum entry
Definition at line 296 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.fix_int8_t | ( | v | ) |
convert unsigned char value to signed char
Definition at line 314 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.generate | ( | basename, | |
xml_list | |||
) |
generate serialization MAVLink C++ implemenation
Definition at line 449 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.generate_gtestsuite_hpp | ( | directory, | |
xml | |||
) |
generate gtestsuite.hpp per XML file
Definition at line 184 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.generate_main_hpp | ( | directory, | |
xml | |||
) |
generate main header per XML file
Definition at line 49 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.generate_message_hpp | ( | directory, | |
m | |||
) |
generate per-message header for a XML file
Definition at line 112 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.generate_one | ( | basename, | |
xml | |||
) |
generate headers for one XML file
Definition at line 319 of file mavgen_cpp11.py.
def pymavlink.generator.mavgen_cpp11.tmax | ( | bit | ) |
Definition at line 20 of file mavgen_cpp11.py.
pymavlink.generator.mavgen_cpp11.EType = collections.namedtuple('EType', ('type', 'max')) |
Definition at line 46 of file mavgen_cpp11.py.
dictionary pymavlink.generator.mavgen_cpp11.MACROSES |
Definition at line 40 of file mavgen_cpp11.py.
pymavlink.generator.mavgen_cpp11.t = mavtemplate.MAVTemplate() |
Definition at line 18 of file mavgen_cpp11.py.
dictionary pymavlink.generator.mavgen_cpp11.TYPE_MAX |
Definition at line 24 of file mavgen_cpp11.py.