#include <vltrader.h>
Public Member Functions | |
| vlTrader (vlPluginManager &pluginMgr) | |
| Default constructor. | |
| ~vlTrader () | |
| Default destructor. | |
| vlPlugin * | getPlugin (const std::string &serviceGroup, const std::string &service) |
| Returns a plugin which belongs to serviceGroup and which has registered the "service". | |
| std::vector< vlPlugin * > | getPluginsForGroup (const std::string &serviceGroup) |
| Returns all plugins that belong to "serviceGroup". | |
| vlVolProcessor * | getVolProcessor (const std::string &service) |
| Returns a vol processor plugin for the given service. | |
Protected Member Functions | |
| vlPlugin * | loadPlugin (vlPluginManager::PluginNode *pluginNode) |
| Loads plugin which corresponds to pluginNode. | |
Protected Attributes | |
| vlPluginManager & | m_pluginMgr |
| Refernce to the plugin manager. | |
|
|
Definition at line 53 of file vltrader.cpp. |
|
|
Definition at line 59 of file vltrader.cpp. |
|
||||||||||||
|
If multiple plugins are available, then the best match plugin will be returned. As of this writing, the best match algorithm is not implemented. Right now, you will simply get the first plugin (in the order it was loaded) that satisfies this request. Definition at line 64 of file vltrader.cpp. References vlPluginManager::baseList(), loadPlugin(), vlPluginManager::loadPlugins(), and m_pluginMgr. Referenced by vlVolume::createData(), getVolProcessor(), vlVolume::resizeData(), vlVolInterpolators< DataType, vlLayout::Linear >::getNativeInterpolator(), vlVolInterpolators< DataType, vlLayout::Linear >::getVirtualInterpolator(), vlVolVoxelOps< DataType, vlLayout::Linear >::getNativeVoxelOp(), and vlVolVoxelOps< DataType, vlLayout::Linear >::getVirtualVoxelOp(). |
|
|
The plugins are stored in std::vector. Definition at line 126 of file vltrader.cpp. References vlPluginManager::baseList(), loadPlugin(), vlPluginManager::loadPlugins(), and m_pluginMgr. Referenced by vlKernel::getFileExtensionsKDEStyle(), vlVolume::read(), vlVolume::readImages(), vlVolume::readInfo(), vlVolume::readSubvolumes(), and vlVolume::write(). |
|
|
This is simply a shortcut to calling getPlugin(service, "VolProcessor"); Definition at line 184 of file vltrader.cpp. References getPlugin(). Referenced by CreateVolume(). |
|
|
Definition at line 191 of file vltrader.cpp. References vlLibFactory::create(), vlPluginManager::PluginNode::entryFunc(), vlPluginManager::PluginNode::factory(), vlPluginManager::PluginNode::fileName(), vlPluginManager::PluginNode::isLoaded(), moduleType, vlPluginManager::PluginNode::setFactory(), and vlPluginManager::PluginNode::setLoaded(). Referenced by getPlugin(), and getPluginsForGroup(). |
|
|
Definition at line 75 of file vltrader.h. Referenced by getPlugin(), and getPluginsForGroup(). |
1.3.3