Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
OpenRTM_aist.ModuleManager.ModuleManager Class Reference

ModuleManager class More...

Classes

class  DLL
 
class  DLLEntity
 
class  DLLPred
 
class  Error
 
class  FileNotFound
 
class  InvalidArguments
 
class  InvalidOperation
 
class  ModuleNotFound
 
class  NotAllowedOperation
 
class  NotFound
 
class  SymbolNotFound
 

Public Member Functions

def __del__ (self)
 destructor More...
 
def __init__ (self, prop)
 constructor More...
 
def addLoadpath (self, load_path)
 Add module load path. More...
 
def allowAbsolutePath (self)
 Allow absolute load path. More...
 
def allowModuleDownload (self)
 Allow module download. More...
 
def disallowAbsolutePath (self)
 Forbid absolute load path. More...
 
def disallowModuleDownload (self)
 Forbid module download. More...
 
def fileExist (self, filename)
 Check file existance. More...
 
def findFile (self, fname, load_path)
 Search file from load path. More...
 
def getInitFuncName (self, file_path)
 Create initialize function symbol. More...
 
def getLoadableModules (self)
 Get loadable module names. More...
 
def getLoadedModules (self)
 Get loaded module names std::vector<coil::Properties> getLoadedModules();. More...
 
def getLoadPath (self)
 Get default module load path. More...
 
def load (self, file_name, init_func=None)
 Load module. More...
 
def setLoadpath (self, load_path_list)
 Set default module load path. More...
 
def symbol (self, file_name, func_name)
 Look up a named symbol in the module. More...
 
def unload (self, file_name)
 Unload module. More...
 
def unloadAll (self)
 Unload all modules. More...
 

Private Member Functions

def __getRtcProfile (self, fname)
 

Private Attributes

 _absoluteAllowed
 
 _configPath
 
 _downloadAllowed
 
 _initFuncPrefix
 
 _initFuncSuffix
 
 _loadPath
 
 _mgr
 
 _modules
 
 _properties
 
 _rtcout
 

Detailed Description

ModuleManager class

 

Definition at line 54 of file ModuleManager.py.

Constructor & Destructor Documentation

◆ __init__()

def OpenRTM_aist.ModuleManager.ModuleManager.__init__ (   self,
  prop 
)

constructor

Definition at line 76 of file ModuleManager.py.

◆ __del__()

def OpenRTM_aist.ModuleManager.ModuleManager.__del__ (   self)

destructor

Definition at line 114 of file ModuleManager.py.

Member Function Documentation

◆ __getRtcProfile()

def OpenRTM_aist.ModuleManager.ModuleManager.__getRtcProfile (   self,
  fname 
)
private

Definition at line 448 of file ModuleManager.py.

◆ addLoadpath()

def OpenRTM_aist.ModuleManager.ModuleManager.addLoadpath (   self,
  load_path 
)

Add module load path.

Definition at line 419 of file ModuleManager.py.

◆ allowAbsolutePath()

def OpenRTM_aist.ModuleManager.ModuleManager.allowAbsolutePath (   self)

Allow absolute load path.

Definition at line 547 of file ModuleManager.py.

◆ allowModuleDownload()

def OpenRTM_aist.ModuleManager.ModuleManager.allowModuleDownload (   self)

Allow module download.

Definition at line 579 of file ModuleManager.py.

◆ disallowAbsolutePath()

def OpenRTM_aist.ModuleManager.ModuleManager.disallowAbsolutePath (   self)

Forbid absolute load path.

Definition at line 562 of file ModuleManager.py.

◆ disallowModuleDownload()

def OpenRTM_aist.ModuleManager.ModuleManager.disallowModuleDownload (   self)

Forbid module download.

Definition at line 594 of file ModuleManager.py.

◆ fileExist()

def OpenRTM_aist.ModuleManager.ModuleManager.fileExist (   self,
  filename 
)

Check file existance.

Definition at line 639 of file ModuleManager.py.

◆ findFile()

def OpenRTM_aist.ModuleManager.ModuleManager.findFile (   self,
  fname,
  load_path 
)

Search file from load path.

Definition at line 613 of file ModuleManager.py.

◆ getInitFuncName()

def OpenRTM_aist.ModuleManager.ModuleManager.getInitFuncName (   self,
  file_path 
)

Create initialize function symbol.

Definition at line 665 of file ModuleManager.py.

◆ getLoadableModules()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadableModules (   self)

Get loadable module names.

Definition at line 511 of file ModuleManager.py.

◆ getLoadedModules()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadedModules (   self)

Get loaded module names std::vector<coil::Properties> getLoadedModules();.

Definition at line 439 of file ModuleManager.py.

◆ getLoadPath()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadPath (   self)

Get default module load path.

Definition at line 403 of file ModuleManager.py.

◆ load()

def OpenRTM_aist.ModuleManager.ModuleManager.load (   self,
  file_name,
  init_func = None 
)

Load module.

std::string ModuleManager::load(const std::string& file_name, const std::string& init_func)

Definition at line 245 of file ModuleManager.py.

◆ setLoadpath()

def OpenRTM_aist.ModuleManager.ModuleManager.setLoadpath (   self,
  load_path_list 
)

Set default module load path.

Definition at line 385 of file ModuleManager.py.

◆ symbol()

def OpenRTM_aist.ModuleManager.ModuleManager.symbol (   self,
  file_name,
  func_name 
)

Look up a named symbol in the module.

Definition at line 360 of file ModuleManager.py.

◆ unload()

def OpenRTM_aist.ModuleManager.ModuleManager.unload (   self,
  file_name 
)

Unload module.

Definition at line 318 of file ModuleManager.py.

◆ unloadAll()

def OpenRTM_aist.ModuleManager.ModuleManager.unloadAll (   self)

Unload all modules.

Definition at line 338 of file ModuleManager.py.

Member Data Documentation

◆ _absoluteAllowed

OpenRTM_aist.ModuleManager.ModuleManager._absoluteAllowed
private

Definition at line 90 of file ModuleManager.py.

◆ _configPath

OpenRTM_aist.ModuleManager.ModuleManager._configPath
private

Definition at line 79 of file ModuleManager.py.

◆ _downloadAllowed

OpenRTM_aist.ModuleManager.ModuleManager._downloadAllowed
private

Definition at line 93 of file ModuleManager.py.

◆ _initFuncPrefix

OpenRTM_aist.ModuleManager.ModuleManager._initFuncPrefix
private

Definition at line 97 of file ModuleManager.py.

◆ _initFuncSuffix

OpenRTM_aist.ModuleManager.ModuleManager._initFuncSuffix
private

Definition at line 96 of file ModuleManager.py.

◆ _loadPath

OpenRTM_aist.ModuleManager.ModuleManager._loadPath
private

Definition at line 84 of file ModuleManager.py.

◆ _mgr

OpenRTM_aist.ModuleManager.ModuleManager._mgr
private

Definition at line 100 of file ModuleManager.py.

◆ _modules

OpenRTM_aist.ModuleManager.ModuleManager._modules
private

Definition at line 98 of file ModuleManager.py.

◆ _properties

OpenRTM_aist.ModuleManager.ModuleManager._properties
private

Definition at line 77 of file ModuleManager.py.

◆ _rtcout

OpenRTM_aist.ModuleManager.ModuleManager._rtcout
private

Definition at line 99 of file ModuleManager.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