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, enable_topic_remapping=True, sigint_timeout=15.0, sigterm_timeout=2.0)
 
def app_monitor (self, is_launch)
 
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_plugin_processes
 
 _current_plugins
 
 _current_process
 
 _default_launch
 
 _enable_app_replacement
 
 _enable_topic_remapping
 
 _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_insts
 
 _plugin_launch
 
 _plugins
 
 _reload_app_list_srv
 
 _robot_name
 
 _sigint_timeout
 
 _sigterm_timeout
 
 _start_app_srv
 
 _start_time
 
 _status_pub
 
 _stop_app_srv
 
 _stopped
 
 _stopping
 
 _timeout
 
 _uninstall_app_srv
 

Detailed Description

Definition at line 125 of file app_manager.py.

Constructor & Destructor Documentation

◆ __init__()

def app_manager.app_manager.AppManager.__init__ (   self,
  robot_name,
  interface_master,
  app_list,
  exchange,
  plugins = None,
  enable_app_replacement = True,
  enable_topic_remapping = True,
  sigint_timeout = 15.0,
  sigterm_timeout = 2.0 
)

Definition at line 127 of file app_manager.py.

Member Function Documentation

◆ __stop_current()

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

Definition at line 583 of file app_manager.py.

◆ _get_current_app()

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

Definition at line 237 of file app_manager.py.

◆ _set_current_app()

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

Definition at line 240 of file app_manager.py.

◆ _stop_current()

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

Definition at line 561 of file app_manager.py.

◆ app_monitor()

def app_manager.app_manager.AppManager.app_monitor (   self,
  is_launch 
)

Definition at line 682 of file app_manager.py.

◆ handle_get_app_details()

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

Definition at line 253 of file app_manager.py.

◆ handle_install_app()

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

Definition at line 280 of file app_manager.py.

◆ handle_list_apps()

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

Definition at line 300 of file app_manager.py.

◆ handle_list_exchange_apps()

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

Definition at line 256 of file app_manager.py.

◆ handle_reload_app_list()

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

Definition at line 672 of file app_manager.py.

◆ handle_start_app()

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

Definition at line 311 of file app_manager.py.

◆ handle_stop_app()

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

Definition at line 667 of file app_manager.py.

◆ handle_uninstall_app()

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

Definition at line 290 of file app_manager.py.

◆ publish_exchange_list_apps()

def app_manager.app_manager.AppManager.publish_exchange_list_apps (   self)

Definition at line 273 of file app_manager.py.

◆ publish_list_apps()

def app_manager.app_manager.AppManager.publish_list_apps (   self)

Definition at line 267 of file app_manager.py.

◆ scoped_name()

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

Definition at line 250 of file app_manager.py.

◆ shutdown()

def app_manager.app_manager.AppManager.shutdown (   self)

Definition at line 229 of file app_manager.py.

◆ stop_app()

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

Definition at line 727 of file app_manager.py.

Member Data Documentation

◆ _api_sync

app_manager.app_manager.AppManager._api_sync
private

Definition at line 168 of file app_manager.py.

◆ _app_interface

app_manager.app_manager.AppManager._app_interface
private

Definition at line 141 of file app_manager.py.

◆ _app_list

app_manager.app_manager.AppManager._app_list
private

Definition at line 130 of file app_manager.py.

◆ _current_app

app_manager.app_manager.AppManager._current_app
private

Definition at line 131 of file app_manager.py.

◆ _current_app_definition

app_manager.app_manager.AppManager._current_app_definition
private

Definition at line 131 of file app_manager.py.

◆ _current_plugin_processes

app_manager.app_manager.AppManager._current_plugin_processes
private

Definition at line 181 of file app_manager.py.

◆ _current_plugins

app_manager.app_manager.AppManager._current_plugins
private

Definition at line 180 of file app_manager.py.

◆ _current_process

app_manager.app_manager.AppManager._current_process
private

Definition at line 178 of file app_manager.py.

◆ _default_launch

app_manager.app_manager.AppManager._default_launch
private

Definition at line 213 of file app_manager.py.

◆ _enable_app_replacement

app_manager.app_manager.AppManager._enable_app_replacement
private

Definition at line 134 of file app_manager.py.

◆ _enable_topic_remapping

app_manager.app_manager.AppManager._enable_topic_remapping
private

Definition at line 135 of file app_manager.py.

◆ _exchange

app_manager.app_manager.AppManager._exchange
private

Definition at line 132 of file app_manager.py.

◆ _exchange_list_apps_pub

app_manager.app_manager.AppManager._exchange_list_apps_pub
private

Definition at line 156 of file app_manager.py.

◆ _exit_code

app_manager.app_manager.AppManager._exit_code
private

Definition at line 175 of file app_manager.py.

◆ _get_app_details_srv

app_manager.app_manager.AppManager._get_app_details_srv
private

Definition at line 158 of file app_manager.py.

◆ _install_app_srv

app_manager.app_manager.AppManager._install_app_srv
private

Definition at line 159 of file app_manager.py.

◆ _interface_master

app_manager.app_manager.AppManager._interface_master
private

Definition at line 129 of file app_manager.py.

◆ _interface_sync

app_manager.app_manager.AppManager._interface_sync
private

Definition at line 174 of file app_manager.py.

◆ _launch

app_manager.app_manager.AppManager._launch
private

Definition at line 172 of file app_manager.py.

◆ _list_apps_pub

app_manager.app_manager.AppManager._list_apps_pub
private

Definition at line 147 of file app_manager.py.

◆ _list_apps_srv

app_manager.app_manager.AppManager._list_apps_srv
private

Definition at line 151 of file app_manager.py.

◆ _list_exchange_apps_srv

app_manager.app_manager.AppManager._list_exchange_apps_srv
private

Definition at line 157 of file app_manager.py.

◆ _plugin_context

app_manager.app_manager.AppManager._plugin_context
private

Definition at line 182 of file app_manager.py.

◆ _plugin_insts

app_manager.app_manager.AppManager._plugin_insts
private

Definition at line 183 of file app_manager.py.

◆ _plugin_launch

app_manager.app_manager.AppManager._plugin_launch
private

Definition at line 173 of file app_manager.py.

◆ _plugins

app_manager.app_manager.AppManager._plugins
private

Definition at line 133 of file app_manager.py.

◆ _reload_app_list_srv

app_manager.app_manager.AppManager._reload_app_list_srv
private

Definition at line 154 of file app_manager.py.

◆ _robot_name

app_manager.app_manager.AppManager._robot_name
private

Definition at line 128 of file app_manager.py.

◆ _sigint_timeout

app_manager.app_manager.AppManager._sigint_timeout
private

Definition at line 136 of file app_manager.py.

◆ _sigterm_timeout

app_manager.app_manager.AppManager._sigterm_timeout
private

Definition at line 137 of file app_manager.py.

◆ _start_app_srv

app_manager.app_manager.AppManager._start_app_srv
private

Definition at line 152 of file app_manager.py.

◆ _start_time

app_manager.app_manager.AppManager._start_time
private

Definition at line 184 of file app_manager.py.

◆ _status_pub

app_manager.app_manager.AppManager._status_pub
private

Definition at line 144 of file app_manager.py.

◆ _stop_app_srv

app_manager.app_manager.AppManager._stop_app_srv
private

Definition at line 153 of file app_manager.py.

◆ _stopped

app_manager.app_manager.AppManager._stopped
private

Definition at line 176 of file app_manager.py.

◆ _stopping

app_manager.app_manager.AppManager._stopping
private

Definition at line 177 of file app_manager.py.

◆ _timeout

app_manager.app_manager.AppManager._timeout
private

Definition at line 179 of file app_manager.py.

◆ _uninstall_app_srv

app_manager.app_manager.AppManager._uninstall_app_srv
private

Definition at line 160 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 Oct 14 2022 02:14:26