Package roslaunch :: Module core :: Class Executable
[frames] | no frames]

Class Executable

source code

object --+
         |
        Executable
Known Subclasses:

Executable is a generic container for exectuable commands.

Instance Methods
 
__init__(self, cmd, args, phase='run')
:param cmd: name of command to run, ``str`` :param args: arguments to command, ``(str,)`` :param phase: PHASE_SETUP|PHASE_RUN|PHASE_TEARDOWN.
source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, cmd, args, phase='run')
(Constructor)

source code 

:param cmd: name of command to run, ``str``
:param args: arguments to command, ``(str,)``
:param phase: PHASE_SETUP|PHASE_RUN|PHASE_TEARDOWN. Indicates whether the
    command should be run before, during, or after launch, ``str``

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)