22 #ifndef OTAWA_PROC_DYNPROCESSOR_H_
23 #define OTAWA_PROC_DYNPROCESSOR_H_
33 inline const string&
name(
void)
const {
return _name; }
virtual void configure(const PropList &props)
This method may be called for configuring a processor thanks to information passed in the property li...
Definition: proc_Processor.cpp:407
elm::String name(void) const
Definition: Processor.h:91
Version version(void) const
Get the version of the processor.
Definition: DynProcessor.h:44
void configure(const PropList &props)
Configure the processor.
Definition: DynProcessor.h:45
string _name
Definition: DynProcessor.h:35
static const PropList EMPTY
This is an empty proplist for convenience.
Definition: PropList.h:66
Processor * proc
Definition: DynProcessor.h:49
const string & name(void) const
Get the name of the not found processor.
Definition: DynProcessor.h:33
Base class of Otawa exceptions.
Definition: base.h:168
The processor class is implemented by all code processor.
Definition: Processor.h:49
string name(void) const
Get the name of the processor.
Definition: DynProcessor.h:43
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This pseudo-processor allows to call processor based on their name.
Definition: DynProcessor.h:39
elm::Version version(void) const
Definition: Processor.h:92
ProcessorNotFound(string name)
Build the exception.
Definition: proc_DynProcessor.cpp:39
DynProcessor(cstring name)
Find the processor whose name is given.
Definition: proc_DynProcessor.cpp:67
~DynProcessor(void)
Definition: proc_DynProcessor.cpp:76
This a list of properties.
Definition: PropList.h:63
This exception is thrown when a code processor can not be found.
Definition: DynProcessor.h:30
void process(WorkSpace *ws, const PropList &props=PropList::EMPTY)
Process the given workspace on the processor.
Definition: proc_DynProcessor.cpp:107