Public Member Functions | Public Attributes
rosbridge_library.internal.services.ServiceCaller Class Reference
Inheritance diagram for rosbridge_library.internal.services.ServiceCaller:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def run

Public Attributes

 args
 daemon
 error
 service
 success

Detailed Description

Definition at line 47 of file services.py.


Constructor & Destructor Documentation

def rosbridge_library.internal.services.ServiceCaller.__init__ (   self,
  service,
  args,
  success_callback,
  error_callback 
)
Create a service caller for the specified service.  Use start()
to start in a separate thread or run() to run in this thread.

Keyword arguments:
service          -- the name of the service to call
args             -- arguments to pass to the service.  Can be an
ordered list, or a dict of name-value pairs.  Anything else will be
treated as though no arguments were provided (which is still valid for
some kinds of service)
success_callback -- a callback to call with the JSON result of the
service call
error_callback   -- a callback to call if an error occurs.  The
callback will be passed the exception that caused the failure

 

Definition at line 49 of file services.py.


Member Function Documentation

Definition at line 72 of file services.py.


Member Data Documentation

Definition at line 63 of file services.py.

Definition at line 63 of file services.py.

Definition at line 63 of file services.py.

Definition at line 63 of file services.py.

Definition at line 63 of file services.py.


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


rosbridge_library
Author(s): Jonathan Mace
autogenerated on Wed Sep 13 2017 03:18:07