Go to the documentation of this file.
51 const std::string& description) :
52 machine_(
machine), bem_(bem), description_(description) {
122 const std::string& paramName)
const {
124 return MapTools::valueForKey<string>(
141 const std::string& name,
const std::string& value) {
143 string errorMsg =
"Unrecognized IC/decoder plugin parameter: " +
160 const std::string& name,
161 const std::string& description) {
165 std::pair<string, string>(name, description));
bool hasParameterSet(const std::string &name) const
TTAMachine::Machine * machine
the architecture definition of the estimated processor
const BinaryEncoding & bem() const
const TTAMachine::Machine & machine_
The machine to generate.
void addParameter(const std::string &name, const std::string &description)
const BinaryEncoding & bem_
The binary encoding map.
std::string pluginDescription() const
#define assert(condition)
std::string description_
Description of the plugin.
std::string recognizedParameter(int index) const
void setParameter(const std::string &name, const std::string &value)
ICDecoderGeneratorPlugin(const TTAMachine::Machine &machine, const BinaryEncoding &bem, const std::string &description)
std::string errorMessage() const
virtual ~ICDecoderGeneratorPlugin()
std::string parameterValue(const std::string &name) const
std::string parameterDescription(const std::string ¶mName) const
StringMap parameterDescriptions_
Parameter descriptions.
StringMap parameterValues_
Parameters set.
int recognizedParameterCount() const
const TTAMachine::Machine & machine() const