OpenRTM-aist-Python 2.0.0
Classes | Public Member Functions | List of all members
OpenRTM_aist.ModuleManager.ModuleManager Class Reference

@biref 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 __init__ (self, prop)
 
def __del__ (self)
 
def load (self, file_name, init_func=None)
 
def unload (self, file_name)
 
def unloadAll (self)
 
def symbol (self, file_name, func_name)
 
def setLoadpath (self, load_path_list)
 
def getLoadPath (self)
 
def addLoadpath (self, load_path)
 
def getLoadedModules (self)
 
def getModuleList (self, lang, modules)
 
def addNewFile (self, fpath, modules, lang)
 
def getModuleProfiles (self, lang, modules, modprops)
 
def removeInvalidModules (self)
 
def deleteSamePath (self, paths)
 
def getLoadableModules (self)
 
def allowAbsolutePath (self)
 
def disallowAbsolutePath (self)
 
def allowModuleDownload (self)
 
def disallowModuleDownload (self)
 
def findFile (self, fname, load_path)
 
def fileExist (self, filename)
 
def getInitFuncName (self, file_path)
 

Detailed Description

@biref ModuleManager class

 

Constructor & Destructor Documentation

◆ __init__()

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

constructor

◆ __del__()

def OpenRTM_aist.ModuleManager.ModuleManager.__del__ (   self)

destructor

Member Function Documentation

◆ addLoadpath()

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

Add module load path

◆ addNewFile()

def OpenRTM_aist.ModuleManager.ModuleManager.addNewFile (   self,
  fpath,
  modules,
  lang 
)

Adding file path not existing cache

◆ allowAbsolutePath()

def OpenRTM_aist.ModuleManager.ModuleManager.allowAbsolutePath (   self)

Allow absolute load path

◆ allowModuleDownload()

def OpenRTM_aist.ModuleManager.ModuleManager.allowModuleDownload (   self)

Allow module download

◆ deleteSamePath()

def OpenRTM_aist.ModuleManager.ModuleManager.deleteSamePath (   self,
  paths 
)

◆ disallowAbsolutePath()

def OpenRTM_aist.ModuleManager.ModuleManager.disallowAbsolutePath (   self)

Forbid absolute load path

◆ disallowModuleDownload()

def OpenRTM_aist.ModuleManager.ModuleManager.disallowModuleDownload (   self)

Forbid module download

◆ fileExist()

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

Check file existance

◆ findFile()

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

Search file from load path

◆ getInitFuncName()

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

Create initialize function symbol

◆ getLoadableModules()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadableModules (   self)

Get loadable module names

◆ getLoadedModules()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadedModules (   self)

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

◆ getLoadPath()

def OpenRTM_aist.ModuleManager.ModuleManager.getLoadPath (   self)

Get default module load path

◆ getModuleList()

def OpenRTM_aist.ModuleManager.ModuleManager.getModuleList (   self,
  lang,
  modules 
)

Getting loadable file list on the loadpath for given language

◆ getModuleProfiles()

def OpenRTM_aist.ModuleManager.ModuleManager.getModuleProfiles (   self,
  lang,
  modules,
  modprops 
)

Getting loadable file list on the loadpath for given language

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

◆ removeInvalidModules()

def OpenRTM_aist.ModuleManager.ModuleManager.removeInvalidModules (   self)

Removing incalid module profiles

◆ setLoadpath()

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

Set default module load path

◆ symbol()

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

Look up a named symbol in the module

◆ unload()

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

Unload module

◆ unloadAll()

def OpenRTM_aist.ModuleManager.ModuleManager.unloadAll (   self)

Unload all modules


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