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, plugins=None, enable_app_replacement=True)
 
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 __stop_current (self)
 
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
 
 _current_plugins
 
 _enable_app_replacement
 
 _exchange
 
 _exchange_list_apps_pub
 
 _exit_code
 
 _get_app_details_srv
 
 _install_app_srv
 
 _interface_master
 
 _interface_sync
 
 _launch
 
 _list_apps_pub
 
 _list_apps_srv
 
 _list_exchange_apps_srv
 
 _plugin_context
 
 _plugin_launch
 
 _plugins
 
 _reload_app_list_srv
 
 _robot_name
 
 _start_app_srv
 
 _start_time
 
 _status_pub
 
 _stop_app_srv
 
 _stopped
 
 _uninstall_app_srv
 

Detailed Description

Definition at line 118 of file app_manager.py.

Constructor & Destructor Documentation

def app_manager.app_manager.AppManager.__init__ (   self,
  robot_name,
  interface_master,
  app_list,
  exchange,
  plugins = None,
  enable_app_replacement = True 
)

Definition at line 123 of file app_manager.py.

Member Function Documentation

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

Definition at line 451 of file app_manager.py.

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

Definition at line 191 of file app_manager.py.

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

Definition at line 194 of file app_manager.py.

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

Definition at line 435 of file app_manager.py.

def app_manager.app_manager.AppManager.app_monitor (   self)

Definition at line 535 of file app_manager.py.

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

Definition at line 207 of file app_manager.py.

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

Definition at line 234 of file app_manager.py.

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

Definition at line 254 of file app_manager.py.

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

Definition at line 210 of file app_manager.py.

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

Definition at line 525 of file app_manager.py.

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

Definition at line 265 of file app_manager.py.

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

Definition at line 520 of file app_manager.py.

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

Definition at line 244 of file app_manager.py.

def app_manager.app_manager.AppManager.publish_exchange_list_apps (   self)

Definition at line 227 of file app_manager.py.

def app_manager.app_manager.AppManager.publish_list_apps (   self)

Definition at line 221 of file app_manager.py.

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

Definition at line 204 of file app_manager.py.

def app_manager.app_manager.AppManager.shutdown (   self)

Definition at line 183 of file app_manager.py.

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

Definition at line 566 of file app_manager.py.

Member Data Documentation

app_manager.app_manager.AppManager._api_sync
private

Definition at line 161 of file app_manager.py.

app_manager.app_manager.AppManager._app_interface
private

Definition at line 134 of file app_manager.py.

app_manager.app_manager.AppManager._app_list
private

Definition at line 126 of file app_manager.py.

app_manager.app_manager.AppManager._current_app
private

Definition at line 127 of file app_manager.py.

app_manager.app_manager.AppManager._current_app_definition
private

Definition at line 127 of file app_manager.py.

app_manager.app_manager.AppManager._current_plugins
private

Definition at line 170 of file app_manager.py.

app_manager.app_manager.AppManager._enable_app_replacement
private

Definition at line 130 of file app_manager.py.

app_manager.app_manager.AppManager._exchange
private

Definition at line 128 of file app_manager.py.

app_manager.app_manager.AppManager._exchange_list_apps_pub
private

Definition at line 149 of file app_manager.py.

app_manager.app_manager.AppManager._exit_code
private

Definition at line 168 of file app_manager.py.

app_manager.app_manager.AppManager._get_app_details_srv
private

Definition at line 151 of file app_manager.py.

app_manager.app_manager.AppManager._install_app_srv
private

Definition at line 152 of file app_manager.py.

app_manager.app_manager.AppManager._interface_master
private

Definition at line 125 of file app_manager.py.

app_manager.app_manager.AppManager._interface_sync
private

Definition at line 167 of file app_manager.py.

app_manager.app_manager.AppManager._launch
private

Definition at line 165 of file app_manager.py.

app_manager.app_manager.AppManager._list_apps_pub
private

Definition at line 140 of file app_manager.py.

app_manager.app_manager.AppManager._list_apps_srv
private

Definition at line 144 of file app_manager.py.

app_manager.app_manager.AppManager._list_exchange_apps_srv
private

Definition at line 150 of file app_manager.py.

app_manager.app_manager.AppManager._plugin_context
private

Definition at line 171 of file app_manager.py.

app_manager.app_manager.AppManager._plugin_launch
private

Definition at line 166 of file app_manager.py.

app_manager.app_manager.AppManager._plugins
private

Definition at line 129 of file app_manager.py.

app_manager.app_manager.AppManager._reload_app_list_srv
private

Definition at line 147 of file app_manager.py.

app_manager.app_manager.AppManager._robot_name
private

Definition at line 124 of file app_manager.py.

app_manager.app_manager.AppManager._start_app_srv
private

Definition at line 145 of file app_manager.py.

app_manager.app_manager.AppManager._start_time
private

Definition at line 172 of file app_manager.py.

app_manager.app_manager.AppManager._status_pub
private

Definition at line 137 of file app_manager.py.

app_manager.app_manager.AppManager._stop_app_srv
private

Definition at line 146 of file app_manager.py.

app_manager.app_manager.AppManager._stopped
private

Definition at line 169 of file app_manager.py.

app_manager.app_manager.AppManager._uninstall_app_srv
private

Definition at line 153 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 Fri Mar 5 2021 03:07:47