7 #ifndef OTAWA_SIM_SIMULATOR_H
8 #define OTAWA_SIM_SIMULATOR_H
11 #include <elm/system/Plugin.h>
23 #define OTAWA_SIMULATOR_HOOK sim_plugin
24 #define OTAWA_SIMULATOR_NAME "sim_plugin"
25 #define OTAWA_SIMULATOR_VERSION Version(1, 0, 0)
elm::String header(const Simulator &sim, const elm::CString message)
Build the message with plug-in information.
Definition: sim_Simulator.cpp:95
static const PropList EMPTY
This is an empty proplist for convenience.
Definition: PropList.h:66
This class represents a plugin to use facilities provided by a simulator.
Definition: Simulator.h:36
Exception generated by a simulator.
Definition: Simulator.h:46
virtual State * instantiate(WorkSpace *fw, const PropList &props=PropList::EMPTY)=0
This method instantiate a new simulator using the given framework.
Base class of Otawa exceptions.
Definition: base.h:168
Identifier< bool > USE_MEMORY
Activate or unactivate the memory management.
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
Identifier< bool > USE_CONTROL
Activate or unactivate the control management.
cstring name
Definition: odisasm.cpp:107
Exception(void)
Build an empty exception.
Definition: base.cpp:36
This a list of properties.
Definition: PropList.h:63
virtual String message(void)
This class represents a running simulator.
Definition: State.h:38
Identifier< bool > IS_FUNCTIONAL
If supported by the simulator, enable or disable the functional part.
Identifier< bool > IS_STRUCTURAL
If supported by the simulator, enable or disable the structural part.
Simulator(elm::CString name, const elm::Version &version, const elm::Version &plugger_version)
Build a new simulator plugin.
Definition: sim_Simulator.cpp:57