Module rosdistro :: Class Variant
[frames] | no frames]

Class Variant

source code

object --+
         |
        Variant

A variant defines a specific set of stacks ("metapackage", in Debian parlance). For example, "base", "pr2". These variants can extend another variant.

Instance Methods
 
__init__(self, variant_name, variants_props)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, variant_name, variants_props)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • variant_name (str) - name of variant to load from distro file
  • variants_props - dictionary mapping variant names to the rosdistro map for that variant
Overrides: object.__init__