Public Member Functions | Private Member Functions | Private Attributes | List of all members
app_manager.app_manager.AppManager Class Reference
Inheritance diagram for app_manager.app_manager.AppManager:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, robot_name, interface_master, app_list, exchange)
 
def app_monitor (self)
 
def handle_get_app_details (self, req)
 
def handle_install_app (self, req)
 
def handle_list_apps (self, req)
 
def handle_list_exchange_apps (self, req)
 
def handle_reload_app_list (self, req=None)
 
def handle_start_app (self, req)
 
def handle_stop_app (self, req)
 
def handle_uninstall_app (self, req)
 
def publish_exchange_list_apps (self)
 
def publish_list_apps (self)
 
def scoped_name (self, name)
 
def shutdown (self)
 
def stop_app (self, appname)
 

Private Member Functions

def _get_current_app (self)
 
def _set_current_app (self, app, app_definition)
 
def _stop_current (self)
 

Private Attributes

 _api_sync
 
 _app_interface
 
 _app_list
 
 _current_app
 
 _current_app_definition
 
 _exchange
 
 _exchange_list_apps_pub
 
 _get_app_details_srv
 
 _install_app_srv
 
 _interface_master
 
 _interface_sync
 
 _launch
 
 _list_apps_pub
 
 _list_apps_srv
 
 _list_exchange_apps_srv
 
 _reload_app_list_srv
 
 _robot_name
 
 _start_app_srv
 
 _status_pub
 
 _stop_app_srv
 
 _uninstall_app_srv
 

Detailed Description

Definition at line 54 of file app_manager.py.

Constructor & Destructor Documentation

def app_manager.app_manager.AppManager.__init__ (   self,
  robot_name,
  interface_master,
  app_list,
  exchange 
)

Definition at line 56 of file app_manager.py.

Member Function Documentation

def app_manager.app_manager.AppManager._get_current_app (   self)
private

Definition at line 115 of file app_manager.py.

def app_manager.app_manager.AppManager._set_current_app (   self,
  app,
  app_definition 
)
private

Definition at line 118 of file app_manager.py.

def app_manager.app_manager.AppManager._stop_current (   self)
private

Definition at line 250 of file app_manager.py.

def app_manager.app_manager.AppManager.app_monitor (   self)

Definition at line 274 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_get_app_details (   self,
  req 
)

Definition at line 131 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_install_app (   self,
  req 
)

Definition at line 158 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_list_apps (   self,
  req 
)

Definition at line 178 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_list_exchange_apps (   self,
  req 
)

Definition at line 134 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_reload_app_list (   self,
  req = None 
)

Definition at line 264 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_start_app (   self,
  req 
)

Definition at line 189 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_stop_app (   self,
  req 
)

Definition at line 260 of file app_manager.py.

def app_manager.app_manager.AppManager.handle_uninstall_app (   self,
  req 
)

Definition at line 168 of file app_manager.py.

def app_manager.app_manager.AppManager.publish_exchange_list_apps (   self)

Definition at line 151 of file app_manager.py.

def app_manager.app_manager.AppManager.publish_list_apps (   self)

Definition at line 145 of file app_manager.py.

def app_manager.app_manager.AppManager.scoped_name (   self,
  name 
)

Definition at line 128 of file app_manager.py.

def app_manager.app_manager.AppManager.shutdown (   self)

Definition at line 108 of file app_manager.py.

def app_manager.app_manager.AppManager.stop_app (   self,
  appname 
)

Definition at line 288 of file app_manager.py.

Member Data Documentation

app_manager.app_manager.AppManager._api_sync
private

Definition at line 92 of file app_manager.py.

app_manager.app_manager.AppManager._app_interface
private

Definition at line 65 of file app_manager.py.

app_manager.app_manager.AppManager._app_list
private

Definition at line 59 of file app_manager.py.

app_manager.app_manager.AppManager._current_app
private

Definition at line 60 of file app_manager.py.

app_manager.app_manager.AppManager._current_app_definition
private

Definition at line 60 of file app_manager.py.

app_manager.app_manager.AppManager._exchange
private

Definition at line 61 of file app_manager.py.

app_manager.app_manager.AppManager._exchange_list_apps_pub
private

Definition at line 80 of file app_manager.py.

app_manager.app_manager.AppManager._get_app_details_srv
private

Definition at line 82 of file app_manager.py.

app_manager.app_manager.AppManager._install_app_srv
private

Definition at line 83 of file app_manager.py.

app_manager.app_manager.AppManager._interface_master
private

Definition at line 58 of file app_manager.py.

app_manager.app_manager.AppManager._interface_sync
private

Definition at line 97 of file app_manager.py.

app_manager.app_manager.AppManager._launch
private

Definition at line 96 of file app_manager.py.

app_manager.app_manager.AppManager._list_apps_pub
private

Definition at line 71 of file app_manager.py.

app_manager.app_manager.AppManager._list_apps_srv
private

Definition at line 75 of file app_manager.py.

app_manager.app_manager.AppManager._list_exchange_apps_srv
private

Definition at line 81 of file app_manager.py.

app_manager.app_manager.AppManager._reload_app_list_srv
private

Definition at line 78 of file app_manager.py.

app_manager.app_manager.AppManager._robot_name
private

Definition at line 57 of file app_manager.py.

app_manager.app_manager.AppManager._start_app_srv
private

Definition at line 76 of file app_manager.py.

app_manager.app_manager.AppManager._status_pub
private

Definition at line 68 of file app_manager.py.

app_manager.app_manager.AppManager._stop_app_srv
private

Definition at line 77 of file app_manager.py.

app_manager.app_manager.AppManager._uninstall_app_srv
private

Definition at line 84 of file app_manager.py.


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


app_manager
Author(s): Jeremy Leibs, Ken Conley, Yuki Furuta
autogenerated on Tue Apr 2 2019 02:58:24