14#ifndef SIMICS_SYSTEMC_GASKET_TAG_H
15#define SIMICS_SYSTEMC_GASKET_TAG_H
17#include <simics/base/attr-value.h>
18#include <simics/cc-api.h>
51 virtual void addGasket(std::string
id, std::string type) = 0;
62 attr_value_t value) = 0;
70 void addGasket(std::string
id, std::string type)
override;
72 attr_value_t value)
override;
76 void addAttrList(std::string
id, attr_value_t attr);
77 void addSimulationAttr(
const std::string &
id);
79 std::map<std::string, std::string> id_to_class_;
80 std::map<std::string, attr_value_t> id_to_attr_;
81 ConfObjectRef adapter_;
This interface provides the means to create gaskets encapsulated in Simics objects.
Definition: gasket_tag.h:31
virtual void addGasket(std::string id, std::string type)=0
Add a new gasket to the simulation.
virtual ~GasketTagInterface()
Definition: gasket_tag.h:33
virtual void setGasketTag(std::string id, std::string name, attr_value_t value)=0
Set tags for the gasket.
Definition: gasket_tag.h:66
GasketTag(ConfObjectRef adapter)
void setGasketTag(std::string id, std::string name, attr_value_t value) override
Set tags for the gasket.
std::vector< ConfObjectRef > createGasketObjects()
void addGasket(std::string id, std::string type) override
Add a new gasket to the simulation.