Static Public Member Functions | Static Public Attributes
rqt_launch::name_surrogate::NamesSurrogate Class Reference

List of all members.

Static Public Member Functions

def is_global
def is_private
def ns_join

Static Public Attributes

string PRIV_NAME = '~'
string SEP = '/'

Detailed Description

Because some functions in roslib.names cannot be referred in the original
rxlaunch code, the codes of those function are copied here. This class
should not be used for any other purpose than to be used within this .py
file.

:author: Isaac Saito

Definition at line 4 of file name_surrogate.py.


Member Function Documentation

Test if name is a global graph resource name. 116 117
@param name: must be a legal name in canonical form 118
@type name: str 119
@return: True if name is a globally referenced name (i.e. /ns/name) 120
@rtype: bool

Definition at line 19 of file name_surrogate.py.

126 Test if name is a private graph resource name. 127 128
@param name: must be a legal name in canonical form 129
@type name: str 130 @return bool: True if name is a privately
    referenced name (i.e. ~name) 131 

Definition at line 30 of file name_surrogate.py.

def rqt_launch::name_surrogate::NamesSurrogate::ns_join (   ns,
  name 
) [static]
Taken from
http://ros.org/rosdoclite/groovy/api/roslib/html/python/roslib.names-pysrc.html#ns_join
since roslib.names is not found for some reason, and also the entire
module seems deprecated.

Join a namespace and name. If name is unjoinable (i.e. ~private or
162 /global) it will be returned without joining 163 164
@param ns: namespace ('/' and '~' are both legal). If ns is the empty
string, name will be returned. 165
@type ns: str 166
@param name str: a legal name 167
@return str: name concatenated to ns, or name if it's 168 unjoinable. 169
@rtype: str 170

Definition at line 38 of file name_surrogate.py.


Member Data Documentation

Definition at line 15 of file name_surrogate.py.

Definition at line 16 of file name_surrogate.py.


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


rqt_launch
Author(s): Isaac Saito, Stuart Glaser
autogenerated on Thu Jun 6 2019 21:28:15