OpenASIP  2.0
Classes | Namespaces | Macros
ICDecoderEstimatorPlugin.hh File Reference
#include "CostEstimationPlugin.hh"
#include "TransportPath.hh"
#include "SocketImplementationLocation.hh"
#include "BusImplementationLocation.hh"
Include dependency graph for ICDecoderEstimatorPlugin.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CostEstimator::ICDecoderEstimatorPlugin
 

Namespaces

 TTAMachine
 
 TTAProgram
 
 HDB
 
 IDF
 
 CostEstimator
 

Macros

#define EXPORT_ICDEC_ESTIMATOR(PLUGIN_NAME__)
 

Detailed Description

Declaration of ICDecoderEstimatorPlugin class.

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

Definition in file ICDecoderEstimatorPlugin.hh.

Macro Definition Documentation

◆ EXPORT_ICDEC_ESTIMATOR

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

Exports the given class as an IC&decoder estimator.

Note
The class name of the estimator MUST be [PLUGIN_NAME__]Estimator, thus an estimator exported with EXPORT_ICDEC_ESTIMATOR(Example) exports a class called ExampleEstimator.

Definition at line 107 of file ICDecoderEstimatorPlugin.hh.