|
OpenASIP 2.2
|
#include <CostEstimationPluginRegistry.hh>


Public Member Functions | |
| CostEstimationPluginRegistry () | |
| virtual | ~CostEstimationPluginRegistry () |
| T & | plugin (const std::string &pluginFileName, const std::string &pluginName) |
Private Types | |
| typedef std::map< std::string, T * > | PluginRegistry |
| type of the index of accessible plugins, maps the plugin file path to the plugin | |
Private Attributes | |
| PluginRegistry | registry_ |
| index of accessible plugins, maps the plugin file path to the plugin | |
| PluginTools | pluginTools_ |
| the plugin tools instance used to access the plugin files | |
Templated helper class for storing, accessing and caching of different types of cost estimation plugins.
The template parameter T is the type of the plugin to store.
Definition at line 51 of file CostEstimationPluginRegistry.hh.
|
private |
type of the index of accessible plugins, maps the plugin file path to the plugin
Definition at line 61 of file CostEstimationPluginRegistry.hh.
| CostEstimator::CostEstimationPluginRegistry< T >::CostEstimationPluginRegistry | ( | ) |
|
virtual |
| T & CostEstimator::CostEstimationPluginRegistry< T >::plugin | ( | const std::string & | pluginFileName, |
| const std::string & | pluginName | ||
| ) |
|
private |
the plugin tools instance used to access the plugin files
Definition at line 66 of file CostEstimationPluginRegistry.hh.
|
private |
index of accessible plugins, maps the plugin file path to the plugin
Definition at line 64 of file CostEstimationPluginRegistry.hh.