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

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

constructor

Definition at line 76 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.__del__ (   self)

destructor

Definition at line 114 of file ModuleManager.py.

Member Function Documentation

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

Definition at line 448 of file ModuleManager.py.

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

Add module load path.

Definition at line 419 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.allowAbsolutePath (   self)

Allow absolute load path.

Definition at line 547 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.allowModuleDownload (   self)

Allow module download.

Definition at line 579 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.disallowAbsolutePath (   self)

Forbid absolute load path.

Definition at line 562 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.disallowModuleDownload (   self)

Forbid module download.

Definition at line 594 of file ModuleManager.py.

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

Check file existance.

Definition at line 639 of file ModuleManager.py.

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

Search file from load path.

Definition at line 613 of file ModuleManager.py.

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

Create initialize function symbol.

Definition at line 665 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadableModules (   self)

Get loadable module names.

Definition at line 511 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadedModules (   self)

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

Definition at line 439 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadPath (   self)

Get default module load path.

Definition at line 403 of file ModuleManager.py.

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.

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

Set default module load path.

Definition at line 385 of file ModuleManager.py.

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.

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

Unload module.

Definition at line 318 of file ModuleManager.py.

def OpenRTM_aist.ModuleManager.ModuleManager.unloadAll (   self)

Unload all modules.

Definition at line 338 of file ModuleManager.py.

Member Data Documentation

OpenRTM_aist.ModuleManager.ModuleManager._absoluteAllowed
private

Definition at line 90 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._configPath
private

Definition at line 79 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._downloadAllowed
private

Definition at line 93 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._initFuncPrefix
private

Definition at line 97 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._initFuncSuffix
private

Definition at line 96 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._loadPath
private

Definition at line 84 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._mgr
private

Definition at line 100 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._modules
private

Definition at line 98 of file ModuleManager.py.

OpenRTM_aist.ModuleManager.ModuleManager._properties
private

Definition at line 77 of file ModuleManager.py.

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 Thu Jun 6 2019 19:11:37