Public Member Functions | Private Member Functions | Private Attributes
flexbe_core.behavior_library.BehaviorLibrary Class Reference

List of all members.

Public Member Functions

def __init__
def count_behaviors
def find_behavior
def get_behavior
def parse_packages

Private Member Functions

def _add_behavior_manifests

Private Attributes

 _behavior_lib
 _rp

Detailed Description

Provides a list of all known behavior manifests.

Definition at line 15 of file behavior_library.py.


Constructor & Destructor Documentation

Definition at line 20 of file behavior_library.py.


Member Function Documentation

def flexbe_core.behavior_library.BehaviorLibrary._add_behavior_manifests (   self,
  path,
  pkg = None 
) [private]
Recursively add all behavior manifests in the given folder to the internal library.
If a package name is specified, only manifests referring to this package are added.

@type path: string
@param path: Path of the folder to be traversed.

@type pkg: string
@param pkg: Optional name of a package to only add manifests referring to this package.

Definition at line 37 of file behavior_library.py.

Counts the available behaviors.

@return Number of behaviors.

Definition at line 107 of file behavior_library.py.

Searches for a behavior with the given name and returns it along with its ID.

@type be_name: string
@param be_name: Behavior ID to look up.

@return Tuple (be_id, be_entry) corresponding to the name or (None, None) if not found.

Definition at line 89 of file behavior_library.py.

Provides the library entry corresponding to the given ID.

@type be_id: int
@param be_id: Behavior ID to look up.

@return Corresponding library entry or None if not found.

Definition at line 72 of file behavior_library.py.

Parses all ROS packages to update the internal behavior library.

Definition at line 26 of file behavior_library.py.


Member Data Documentation

Definition at line 20 of file behavior_library.py.

Definition at line 20 of file behavior_library.py.


The documentation for this class was generated from the following file:


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Thu Jun 6 2019 19:32:27