OpenASIP  2.0
Classes | Namespaces | Macros
RFCostEstimationPlugin.hh File Reference
#include <string>
#include "Exception.hh"
#include "CostEstimatorTypes.hh"
#include "CostEstimationPlugin.hh"
#include "RFImplementationLocation.hh"
Include dependency graph for RFCostEstimationPlugin.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CostEstimator::RFCostEstimationPlugin
 

Namespaces

 HDB
 
 TTAProgram
 
 TTAMachine
 
 CostEstimator
 

Macros

#define EXPORT_RF_COST_ESTIMATOR_PLUGIN(PLUGIN_NAME__)
 
#define DESCRIPTION(TEXT__)
 

Detailed Description

Declaration of RFCostEstimationPlugin class and definitions of CPP macros used to define and export RF cost estimation plugins.

Author
Pekka Jääskeläinen 2005 (pjaaskel-no.spam-cs.tut.fi)
Note
rating: red

Definition in file RFCostEstimationPlugin.hh.

Macro Definition Documentation

◆ DESCRIPTION

#define DESCRIPTION (   TEXT__)
Value:
public:\
virtual std::string description() const { return TEXT__; }\
int* XXXXXd_escrip__tion__

Defines the description string for the plugin.

Can be used only inside a plugin class definition.

Parameters
TEXT__The description string.

Definition at line 130 of file RFCostEstimationPlugin.hh.

◆ EXPORT_RF_COST_ESTIMATOR_PLUGIN

#define EXPORT_RF_COST_ESTIMATOR_PLUGIN (   PLUGIN_NAME__)
Value:
extern "C" { \
RFCostEstimationPlugin* create_estimator_plugin_##PLUGIN_NAME__(\
) { \
PLUGIN_NAME__* instance = new PLUGIN_NAME__(#PLUGIN_NAME__);\
return instance;\
}\
void delete_estimator_plugin_##PLUGIN_NAME__(\
RFCostEstimationPlugin* target) {\
delete target;\
}\
}

Exports the given class as a RF cost estimation plugin.

Definition at line 108 of file RFCostEstimationPlugin.hh.