Package rosdep :: Module base_rosdep :: Class RosdepBaseOS
[frames] | no frames]

Class RosdepBaseOS

source code

roslib.os_detect.OSBase --+
                          |
                         RosdepBaseOS
Known Subclasses:

This is the class which defines the API for a Rosdep OS implementation. It inherits from roslib.os_detect.OSBase for os detection code and provides the interface to native package managers.

Instance Methods
 
strip_detected_packages(self, packages)
Take a list of packages and return the subset of that list which is not installed.
source code
 
generate_package_install_command(self, packages, default_yes)
Return the install command necessary for installing all the packages in the list packages as a string.
source code

Inherited from roslib.os_detect.OSBase: check_presence, get_name, get_version

Method Details

strip_detected_packages(self, packages)

source code 

Take a list of packages and return the subset of that list which is not installed. (If undetectable keep the package in the list.)

generate_package_install_command(self, packages, default_yes)

source code 

Return the install command necessary for installing all the packages in the list packages as a string. The option default_yes will pass through an apt-get -y equivilant to the package manager to allow this call to be non interactive in scripts.