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

Class Executable

source code

object --+
         |
        Executable

Executable is a generic container for exectuable commands.

Instance Methods
 
__init__(self, cmd, args, phase=PHASE_RUN)
x.__init__(...) initializes x; see help(type(x)) for signature
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=PHASE_RUN)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • cmd (str) - name of command to run
  • args ((str,)) - arguments to command
  • phase (str) - PHASE_SETUP|PHASE_RUN|PHASE_TEARDOWN. Indicates whether the command should be run before, during, or after launch.
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)