OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ManagerServant.ManagerServant Class Reference
Inheritance diagram for OpenRTM_aist.ManagerServant.ManagerServant:

Classes

class  is_equiv
 

Public Member Functions

 __init__ (self)
 
 __del__ (self)
 
 exit (self)
 
 load_module (self, pathname, initfunc)
 
 unload_module (self, pathname)
 
 get_loadable_modules (self)
 
 get_loaded_modules (self)
 
 get_factory_profiles (self)
 
 create_component (self, module_name)
 
 delete_component (self, instance_name)
 
 get_components (self)
 
 get_component_profiles (self)
 
 get_profile (self)
 
 get_configuration (self)
 
 set_configuration (self, name, value)
 
 is_master (self)
 
 get_master_managers (self)
 
 add_master_manager (self, mgr)
 
 remove_master_manager (self, mgr)
 
 get_slave_managers (self)
 
 add_slave_manager (self, mgr)
 
 remove_slave_manager (self, mgr)
 
 fork (self)
 
 shutdown (self)
 
 restart (self)
 
 get_service (self, name)
 
 getObjRef (self)
 
 createINSManager (self)
 成功:true, 失敗:false
 
 findManager (self, host_port)
 
 get_components_by_name (self, name)
 
 findManagerByName (self, manager_name)
 
 getParameterByModulename (self, param_name, module_name)
 
 createComponentByManagerName (self, module_name)
 
 createComponentByAddress (self, module_name)
 
 updateMasterManager (self)
 

Detailed Description

 

Constructor & Destructor Documentation

◆ __init__()

OpenRTM_aist.ManagerServant.ManagerServant.__init__ ( self)

Constructor

Constructor

◆ __del__()

OpenRTM_aist.ManagerServant.ManagerServant.__del__ ( self)

Virtual destructor

Member Function Documentation

◆ add_master_manager()

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);

◆ add_slave_manager()

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);

◆ create_component()

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)

◆ createComponentByAddress()

OpenRTM_aist.ManagerServant.ManagerServant.createComponentByAddress ( self,
module_name )

Parameters
self
module_name
Returns
RTC.RTObject_ptr createComponentByAddress(string module_name)

◆ createComponentByManagerName()

OpenRTM_aist.ManagerServant.ManagerServant.createComponentByManagerName ( self,
module_name )

Parameters
self
module_name
Returns
RTC.RTObject_ptr createComponentByManagerName(string module_name)

◆ createINSManager()

OpenRTM_aist.ManagerServant.ManagerServant.createINSManager ( self)

成功:true, 失敗:false

Generate INSManager.

Returns
Successful:true, Failed:false

bool createINSManager();

◆ delete_component()

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)

◆ exit()

OpenRTM_aist.ManagerServant.ManagerServant.exit ( self)

◆ findManager()

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

Find the reference of Manager.

Returns
Manager reference

RTM.Manager_ptr findManager(const char* host_port);

◆ findManagerByName()

OpenRTM_aist.ManagerServant.ManagerServant.findManagerByName ( self,
manager_name )

Parameters
self
manager_name
Returns
RTC.Manager_ptr findManagerByName(string manager_name)

◆ fork()

OpenRTM_aist.ManagerServant.ManagerServant.fork ( self)

The copy of the process is generated.

Returns
ReturnCode_t

ReturnCode_t fork()

◆ get_component_profiles()

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()

◆ get_components()

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()

◆ get_components_by_name()

OpenRTM_aist.ManagerServant.ManagerServant.get_components_by_name ( self,
name )

Parameters
self
name
Returns
RTCList get_components_by_name(string name)

◆ get_configuration()

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()

◆ get_factory_profiles()

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()

◆ get_loadable_modules()

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()

◆ get_loaded_modules()

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()

◆ get_master_managers()

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();

◆ get_profile()

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()

◆ get_service()

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

Get the reference of RTC.

Returns
RTC reference

Object_ptr get_service(const char* name)

◆ get_slave_managers()

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();

◆ getObjRef()

OpenRTM_aist.ManagerServant.ManagerServant.getObjRef ( self)

Get the reference of Manager.

Returns
Manager reference

Manager_ptr getObjRef() const

◆ getParameterByModulename()

OpenRTM_aist.ManagerServant.ManagerServant.getParameterByModulename ( self,
param_name,
module_name )

Parameters
self
param_name
module_name
Returns
std.string getParameterByModulename(string param_name, string &module_name)

◆ is_master()

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();

◆ load_module()

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)

◆ remove_master_manager()

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);

◆ remove_slave_manager()

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);

◆ restart()

OpenRTM_aist.ManagerServant.ManagerServant.restart ( self)

This method restarts RTC.

Returns
ReturnCode_t

ReturnCode_t restart()

◆ set_configuration()

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)

◆ shutdown()

OpenRTM_aist.ManagerServant.ManagerServant.shutdown ( self)

This method shutdowns RTC.

Returns
ReturnCode_t

ReturnCode_t shutdown()

◆ unload_module()

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)

◆ updateMasterManager()

OpenRTM_aist.ManagerServant.ManagerServant.updateMasterManager ( self)

Parameters
selfvoid updateMasterManager()

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