parameters: (self, caller_id)
return_statement: return 1, "current system state", retval
docstring: Retrieve list representation of system state (i.e. publishers, subscribers, and services).
          @param caller_id: ROS caller id    
          @type  caller_id: str
          @rtype: (int, str, [[str,[str]], [str,[str]], [str,[str]]])
          @return: (code, statusMessage, systemState).
  
             System state is in list representation::
               [publishers, subscribers, services].
          
             publishers is of the form::
               [ [topic1, [topic1Publisher1...topic1PublisherN]] ... ]
          
             subscribers is of the form::
               [ [topic1, [topic1Subscriber1...topic1SubscriberN]] ... ]
          
             services is of the form::
               [ [service1, [service1Provider1...service1ProviderN]] ... ]
docstring_summary: Retrieve list representation of system state (i.e. publishers, subscribers, and services).
          @param caller_id: ROS caller id    
          @type  caller_id: str
          @rtype: (int, str, [[str,[str]], [str,[str]], [str,[str]]])
          @return: (code, statusMessage, systemState).
docstring_tokens: Retrieve list representation of system state ( i . e . publishers subscribers and services ) . @param caller_id : ROS caller id @type caller_id : str @rtype : ( int str [[ str [ str ]] [ str [ str ]] [ str [ str ]]] ) @return : ( code statusMessage systemState ) .
function: def getSystemState(self, caller_id): 
          """
          Retrieve list representation of system state (i.e. publishers, subscribers, and services).
          @param caller_id: ROS caller id    
          @type  caller_id: str
          @rtype: (int, str, [[str,[str]], [str,[str]], [str,[str]]])
          @return: (code, statusMessage, systemState).
  
             System state is in list representation::
               [publishers, subscribers, services].
          
             publishers is of the form::
               [ [topic1, [topic1Publisher1...topic1PublisherN]] ... ]
          
             subscribers is of the form::
               [ [topic1, [topic1Subscriber1...topic1SubscriberN]] ... ]
          
             services is of the form::
               [ [service1, [service1Provider1...service1ProviderN]] ... ]
          """
          edges = []
          try: 
              self.ps_lock.acquire()
              retval = [r.get_state() for r in (self.publishers, self.subscribers, self.services)]
          finally:
              self.ps_lock.release()
          return 1, "current system state", retval
function_tokens: def getSystemState ( self , caller_id ) : edges = [ ] try : self . ps_lock . acquire ( ) retval = [ r . get_state ( ) for r in ( self . publishers , self . subscribers , self . services ) ] finally : self . ps_lock . release ( ) return 1 , "current system state" , retval