Module Import alias Import alias Import alias ImportFrom alias Expr Str Assign NameStore Dict Assign NameStore Dict Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier identifier Return Call NameLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier identifier Return Call NameLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Global identifier TryExcept body With NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad NameLoad NameLoad TryExcept body Return Call NameLoad Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A time N/A roslib N/A rospy threading Lock N/A  ros_loader contains methods for dynamically loading ROS message classes at
runtime.  It's achieved by using roslib to load the manifest files for the
package that the respective class is contained in.

Methods typically return the requested class or instance, or None if not found
 N/A _loaded_msgs N/A N/A _loaded_srvs N/A N/A _msgs_lock N/A Lock N/A _srvs_lock N/A Lock N/A _manifest_lock N/A Lock InvalidTypeStringException N/A Exception N/A __init__ N/A N/A self typestring N/A N/A N/A N/A N/A Exception __init__ self N/A %s is not a valid type string typestring N/A N/A InvalidPackageException N/A Exception N/A __init__ N/A N/A self package original_exception N/A N/A N/A N/A N/A Exception __init__ self N/A Unable to load the manifest for package %s. Caused by: %s N/A package N/A original_exception message N/A N/A InvalidModuleException N/A Exception N/A __init__ N/A N/A self modname subname original_exception N/A N/A N/A N/A N/A Exception __init__ self N/A Unable to import %s.%s from package %s. Caused by: %s N/A modname subname modname N/A str original_exception N/A N/A InvalidClassException N/A Exception N/A __init__ N/A N/A self modname subname classname original_exception N/A N/A N/A N/A N/A Exception __init__ self N/A Unable to import %s class %s from package %s. Caused by %s N/A subname classname modname N/A str original_exception N/A N/A get_message_class N/A N/A typestring N/A N/A N/A  Loads the message type specified.

    Returns the loaded class, or throws exceptions on failure  N/A N/A _get_msg_class typestring N/A get_service_class N/A N/A typestring N/A N/A N/A  Loads the service type specified.

    Returns the loaded class, or None on failure  N/A N/A _get_srv_class typestring N/A get_message_instance N/A N/A typestring N/A N/A N/A  If not loaded, loads the specified type.
    Then returns an instance of it, or None.  N/A cls N/A get_message_class typestring N/A N/A cls N/A get_service_instance N/A N/A typestring N/A N/A N/A  If not loaded, loads the specified type.
    Then returns an instance of it, or None.  N/A cls N/A get_service_class typestring N/A N/A cls N/A get_service_request_instance N/A N/A typestring N/A N/A N/A cls N/A get_service_class typestring N/A N/A N/A cls _request_class N/A get_service_response_instance N/A N/A typestring N/A N/A N/A cls N/A get_service_class typestring N/A N/A N/A cls _response_class N/A _get_msg_class N/A N/A typestring N/A N/A N/A  If not loaded, loads the specified msg class then returns an instance
    of it

    Throws various exceptions if loading the msg class fails  N/A _loaded_msgs _msgs_lock N/A N/A _get_class typestring msg _loaded_msgs _msgs_lock N/A _get_srv_class N/A N/A typestring N/A N/A N/A  If not loaded, loads the specified srv class then returns an instance
    of it

    Throws various exceptions if loading the srv class fails  N/A _loaded_srvs _srvs_lock N/A N/A _get_class typestring srv _loaded_srvs _srvs_lock N/A _get_class N/A N/A typestring subname cache lock N/A N/A N/A  If not loaded, loads the specified class then returns an instance
    of it.

    Loaded classes are cached in the provided cache dict

    Throws various exceptions if loading the msg class fails  N/A cls N/A _get_from_cache cache lock typestring N/A N/A cls None N/A N/A cls N/A N/A modname classname N/A _splittype typestring N/A norm_typestring N/A N/A modname / classname N/A cls N/A _get_from_cache cache lock norm_typestring N/A N/A cls None N/A N/A cls N/A cls N/A _load_class modname subname classname N/A N/A _add_to_cache cache lock typestring cls N/A N/A _add_to_cache cache lock norm_typestring cls N/A cls N/A _load_class N/A N/A modname subname classname N/A N/A N/A  Loads the manifest and imports the module that contains the specified
    type.

    Logic is similar to that of roslib.message.get_message_class, but we want
    more expressive exceptions.

    Returns the loaded module, or None on failure  N/A loaded_modules N/A N/A N/A _manifest_lock N/A N/A N/A N/A N/A roslib launcher load_manifest modname N/A N/A N/A Exception N/A exc N/A N/A N/A InvalidPackageException modname exc N/A N/A N/A pypkg N/A __import__ N/A %s.%s N/A modname subname N/A N/A N/A Exception N/A exc N/A N/A N/A InvalidModuleException modname subname exc N/A N/A N/A N/A getattr N/A getattr pypkg subname classname N/A N/A N/A Exception N/A exc N/A N/A N/A InvalidClassException modname subname classname exc N/A _splittype N/A N/A typestring N/A N/A N/A  Split the string the / delimiter and strip out empty strings

    Performs similar logic to roslib.names.package_resource_name but is a bit
    more forgiving about excess slashes
     N/A splits N/A x N/A x N/A N/A typestring split / x N/A N/A N/A len splits 2 N/A N/A splits N/A N/A InvalidTypeStringException typestring N/A _add_to_cache N/A N/A cache lock key value N/A N/A N/A N/A N/A lock acquire N/A N/A cache N/A key value N/A N/A N/A lock release N/A _get_from_cache N/A N/A cache lock key N/A N/A N/A  Returns the value for the specified key from the cache.
    Locks the lock before doing anything. Returns None if key not in cache  N/A N/A N/A lock acquire N/A ret None N/A N/A key cache N/A N/A ret N/A cache N/A key N/A N/A N/A lock release N/A ret N/A