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

Classes

class  is_equiv
 

Public Member Functions

def __del__ (self)
 Virtual destructor. More...
 
def __init__ (self)
 Constructor. More...
 
def add_master_manager (self, mgr)
 Getting a master manager. More...
 
def add_slave_manager (self, mgr)
 Getting a slave manager. More...
 
def create_component (self, module_name)
 Creating an RT-Component. More...
 
def createINSManager (self)
 喇根:true, 己窃:false. More...
 
def delete_component (self, instance_name)
 Deleting an RT-Component. More...
 
def findManager (self, host_port)
 Find the reference of Manager. More...
 
def fork (self)
 The copy of the process is generated. More...
 
def get_component_profiles (self)
 Getting RT-Component's profile list running on this manager. More...
 
def get_components (self)
 Getting RT-Component list running on this manager. More...
 
def get_configuration (self)
 Getting this manager's configuration. More...
 
def get_factory_profiles (self)
 Getting component factory profiles. More...
 
def get_loadable_modules (self)
 Getting loadable module profiles. More...
 
def get_loaded_modules (self)
 Getting loaded module profiles. More...
 
def get_master_managers (self)
 Getting master managers. More...
 
def get_profile (self)
 Getting this manager's profile. More...
 
def get_service (self, name)
 Get the reference of RTC. More...
 
def get_slave_managers (self)
 Getting slave managers. More...
 
def getObjRef (self)
 Get the reference of Manager. More...
 
def is_master (self)
 Whether this manager is master or not. More...
 
def load_module (self, pathname, initfunc)
 Loading a module. More...
 
def remove_master_manager (self, mgr)
 Removing a master manager. More...
 
def remove_slave_manager (self, mgr)
 Removing a slave manager. More...
 
def restart (self)
 This method restarts RTC. More...
 
def set_configuration (self, name, value)
 Setting manager's configuration. More...
 
def shutdown (self)
 This method shutdowns RTC. More...
 
def unload_module (self, pathname)
 Unloading a module. More...
 

Private Attributes

 _isMaster
 
 _masterMutex
 
 _masters
 
 _mgr
 
 _objref
 
 _owner
 
 _rtcout
 
 _slaveMutex
 
 _slaves
 

Detailed Description

 

Definition at line 28 of file ManagerServant.py.

Constructor & Destructor Documentation

◆ __init__()

def OpenRTM_aist.ManagerServant.ManagerServant.__init__ (   self)

Constructor.

Constructor

Definition at line 45 of file ManagerServant.py.

◆ __del__()

def OpenRTM_aist.ManagerServant.ManagerServant.__del__ (   self)

Virtual destructor.

Definition at line 103 of file ManagerServant.py.

Member Function Documentation

◆ add_master_manager()

def OpenRTM_aist.ManagerServant.ManagerServant.add_master_manager (   self,
  mgr 
)

Getting a master manager.

This operation returns a master manager with specified id. If the manager with the specified id does not exist, nil object reference would be returned.

Returns
A master manager

RTC::ReturnCode_t add_master_manager(RTM::Manager_ptr mgr);

Definition at line 666 of file ManagerServant.py.

◆ add_slave_manager()

def OpenRTM_aist.ManagerServant.ManagerServant.add_slave_manager (   self,
  mgr 
)

Getting a slave manager.

This operation add a slave manager to this manager.

Parameters
mgrA slave manager
Returns
ReturnCode_t

RTC::ReturnCode_t add_slave_manager(RTM::Manager_ptr mgr);

Definition at line 765 of file ManagerServant.py.

◆ create_component()

def OpenRTM_aist.ManagerServant.ManagerServant.create_component (   self,
  module_name 
)

Creating an RT-Component.

This operation creates RT-Component according to the string argument.

Returns
A created RT-Component

RTObject_ptr create_component(const char* module_name)

Definition at line 295 of file ManagerServant.py.

◆ createINSManager()

def OpenRTM_aist.ManagerServant.ManagerServant.createINSManager (   self)

喇根:true, 己窃:false.

Generate INSManager.

Returns
Successful:true, Failed:false

bool createINSManager();

Definition at line 899 of file ManagerServant.py.

◆ delete_component()

def OpenRTM_aist.ManagerServant.ManagerServant.delete_component (   self,
  instance_name 
)

Deleting an RT-Component.

This operation delete an RT-Component according to the string argument.

Returns
Return code

ReturnCode_t delete_component(const char* instance_name)

Definition at line 404 of file ManagerServant.py.

◆ findManager()

def OpenRTM_aist.ManagerServant.ManagerServant.findManager (   self,
  host_port 
)

Find the reference of Manager.

Returns
Manager reference

RTM::Manager_ptr findManager(const char* host_port);

Definition at line 924 of file ManagerServant.py.

◆ fork()

def OpenRTM_aist.ManagerServant.ManagerServant.fork (   self)

The copy of the process is generated.

Returns
ReturnCode_t

ReturnCode_t fork()

Definition at line 826 of file ManagerServant.py.

◆ get_component_profiles()

def OpenRTM_aist.ManagerServant.ManagerServant.get_component_profiles (   self)

Getting RT-Component's profile list running on this manager.

This operation returns RT-Component's profile list running on this manager.

Returns
A list of RT-Components' profiles

ComponentProfileList* get_component_profiles()

Definition at line 476 of file ManagerServant.py.

◆ get_components()

def OpenRTM_aist.ManagerServant.ManagerServant.get_components (   self)

Getting RT-Component list running on this manager.

This operation returns RT-Component list running on this manager.

Returns
A list of RT-Components

RTCList* get_components()

Definition at line 428 of file ManagerServant.py.

◆ get_configuration()

def OpenRTM_aist.ManagerServant.ManagerServant.get_configuration (   self)

Getting this manager's configuration.

This operation returns this manager's configuration.

Returns
Manager's configuration

NVList* get_configuration()

Definition at line 545 of file ManagerServant.py.

◆ get_factory_profiles()

def OpenRTM_aist.ManagerServant.ManagerServant.get_factory_profiles (   self)

Getting component factory profiles.

This operation returns component factory profiles from loaded RT-Component module factory profiles.

Returns
An RT-Component factory profile list.

ModuleProfileList* get_factory_profiles()

Definition at line 265 of file ManagerServant.py.

◆ get_loadable_modules()

def OpenRTM_aist.ManagerServant.ManagerServant.get_loadable_modules (   self)

Getting loadable module profiles.

This operation returns loadable module profiles.

Returns
A module profile list.

ModuleProfileList* get_loadable_modules()

Definition at line 203 of file ManagerServant.py.

◆ get_loaded_modules()

def OpenRTM_aist.ManagerServant.ManagerServant.get_loaded_modules (   self)

Getting loaded module profiles.

This operation returns loaded module profiles.

Returns
A module profile list.

ModuleProfileList* get_loaded_modules()

Definition at line 234 of file ManagerServant.py.

◆ get_master_managers()

def OpenRTM_aist.ManagerServant.ManagerServant.get_master_managers (   self)

Getting master managers.

This operation returns master manager list if this manager is slave. If this manager is master, an empty sequence would be returned.

Returns
Master manager list

RTM::ManagerList* get_master_managers();

Definition at line 635 of file ManagerServant.py.

◆ get_profile()

def OpenRTM_aist.ManagerServant.ManagerServant.get_profile (   self)

Getting this manager's profile.

This operation returns this manager's profile.

Returns
Manager's profile

ManagerProfile* get_profile()

Definition at line 519 of file ManagerServant.py.

◆ get_service()

def OpenRTM_aist.ManagerServant.ManagerServant.get_service (   self,
  name 
)

Get the reference of RTC.

Returns
RTC reference

Object_ptr get_service(const char* name)

Definition at line 871 of file ManagerServant.py.

◆ get_slave_managers()

def OpenRTM_aist.ManagerServant.ManagerServant.get_slave_managers (   self)

Getting slave managers.

This operation returns slave manager list if this manager is slave. If this manager is slave, an empty sequence would be returned.

Returns
Slave manager list

RTM::ManagerList* get_slave_managers();

Definition at line 739 of file ManagerServant.py.

◆ getObjRef()

def OpenRTM_aist.ManagerServant.ManagerServant.getObjRef (   self)

Get the reference of Manager.

Returns
Manager reference

Manager_ptr getObjRef() const

Definition at line 885 of file ManagerServant.py.

◆ is_master()

def OpenRTM_aist.ManagerServant.ManagerServant.is_master (   self)

Whether this manager is master or not.

It returns "True" if this manager is a master, and it returns "False" in other cases.

Returns
A boolean value that means it is master or not.

bool is_master();

Definition at line 601 of file ManagerServant.py.

◆ load_module()

def OpenRTM_aist.ManagerServant.ManagerServant.load_module (   self,
  pathname,
  initfunc 
)

Loading a module.

This operation loads a specified loadable module、and perform initialization with the specified function.

Parameters
pathnameA path to a loading module.
initfuncModule initialization function.
Returns
The return code.

ReturnCode_t load_module(const char* pathname, const char* initfunc)

Definition at line 153 of file ManagerServant.py.

◆ remove_master_manager()

def OpenRTM_aist.ManagerServant.ManagerServant.remove_master_manager (   self,
  mgr 
)

Removing a master manager.

This operation removes a master manager from this manager.

Parameters
mgrA master manager
Returns
ReturnCode_t

RTC::ReturnCode_t remove_master_manager(RTM::Manager_ptr mgr);

Definition at line 701 of file ManagerServant.py.

◆ remove_slave_manager()

def OpenRTM_aist.ManagerServant.ManagerServant.remove_slave_manager (   self,
  mgr 
)

Removing a slave manager.

This operation removes a slave manager from this manager.

Parameters
mgrA slave manager
Returns
ReturnCode_t

RTC::ReturnCode_t remove_slave_manager(RTM::Manager_ptr mgr);

Definition at line 801 of file ManagerServant.py.

◆ restart()

def OpenRTM_aist.ManagerServant.ManagerServant.restart (   self)

This method restarts RTC.

Returns
ReturnCode_t

ReturnCode_t restart()

Definition at line 856 of file ManagerServant.py.

◆ set_configuration()

def OpenRTM_aist.ManagerServant.ManagerServant.set_configuration (   self,
  name,
  value 
)

Setting manager's configuration.

This operation sets managers configuration.

Parameters
nameA configuration key name to be set
valueA configuration value to be set
Returns
Return code

ReturnCode_t set_configuration(const char* name, const char* value)

Definition at line 574 of file ManagerServant.py.

◆ shutdown()

def OpenRTM_aist.ManagerServant.ManagerServant.shutdown (   self)

This method shutdowns RTC.

Returns
ReturnCode_t

ReturnCode_t shutdown()

Definition at line 841 of file ManagerServant.py.

◆ unload_module()

def OpenRTM_aist.ManagerServant.ManagerServant.unload_module (   self,
  pathname 
)

Unloading a module.

This operation unloads a specified loadable module.

Parameters
pathnameA path to a loading module.
Returns
The return code.

ReturnCode_t unload_module(const char* pathname)

Definition at line 179 of file ManagerServant.py.

Member Data Documentation

◆ _isMaster

OpenRTM_aist.ManagerServant.ManagerServant._isMaster
private

Definition at line 49 of file ManagerServant.py.

◆ _masterMutex

OpenRTM_aist.ManagerServant.ManagerServant._masterMutex
private

Definition at line 52 of file ManagerServant.py.

◆ _masters

OpenRTM_aist.ManagerServant.ManagerServant._masters
private

Definition at line 50 of file ManagerServant.py.

◆ _mgr

OpenRTM_aist.ManagerServant.ManagerServant._mgr
private

Definition at line 46 of file ManagerServant.py.

◆ _objref

OpenRTM_aist.ManagerServant.ManagerServant._objref
private

Definition at line 54 of file ManagerServant.py.

◆ _owner

OpenRTM_aist.ManagerServant.ManagerServant._owner
private

Definition at line 47 of file ManagerServant.py.

◆ _rtcout

OpenRTM_aist.ManagerServant.ManagerServant._rtcout
private

Definition at line 48 of file ManagerServant.py.

◆ _slaveMutex

OpenRTM_aist.ManagerServant.ManagerServant._slaveMutex
private

Definition at line 53 of file ManagerServant.py.

◆ _slaves

OpenRTM_aist.ManagerServant.ManagerServant._slaves
private

Definition at line 51 of file ManagerServant.py.


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


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:08