Functions | Variables
roscompile.plugins Namespace Reference

Functions

def check_plugins (package)
 
def contains_library (xmls, library, pkg, name)
 
def lookup_library (build_rules, rel_fn)
 
def plugin_xml_by_package (package)
 

Variables

string PLUGIN_PATTERN = r'PLUGINLIB_EXPORT_CLASS\(([^:]+)::([^,]+),\s*([^:]+)::([^,]+)\)'
 
 PLUGIN_RE = re.compile(PLUGIN_PATTERN)
 

Function Documentation

◆ check_plugins()

def roscompile.plugins.check_plugins (   package)
Check that all the plugins are properly defined.

We have three dictionaries
  * The plugins that are defined by macros (defined_macros)
  * The plugins that have associated configuration files (existing_plugins)
  * The plugins that are linked by the manifest. (plugin_xml_by_package)
First, we reconcile the macros with the files.
Then we handle the manifest.
Then we make sure that the specific classes are in the configurations

Definition at line 36 of file plugins.py.

◆ contains_library()

def roscompile.plugins.contains_library (   xmls,
  library,
  pkg,
  name 
)

Definition at line 22 of file plugins.py.

◆ lookup_library()

def roscompile.plugins.lookup_library (   build_rules,
  rel_fn 
)

Definition at line 29 of file plugins.py.

◆ plugin_xml_by_package()

def roscompile.plugins.plugin_xml_by_package (   package)

Definition at line 14 of file plugins.py.

Variable Documentation

◆ PLUGIN_PATTERN

string roscompile.plugins.PLUGIN_PATTERN = r'PLUGINLIB_EXPORT_CLASS\(([^:]+)::([^,]+),\s*([^:]+)::([^,]+)\)'

Definition at line 10 of file plugins.py.

◆ PLUGIN_RE

roscompile.plugins.PLUGIN_RE = re.compile(PLUGIN_PATTERN)

Definition at line 11 of file plugins.py.



roscompile
Author(s):
autogenerated on Tue Jun 21 2022 03:01:39