Otawa  0.10
ILPSystemGetter.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * ILPSystemGetter class interface
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2007, IRIT UPS.
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with OTAWA; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 #ifndef OTAWA_IPET_ILP_SYSTEM_GETTER
23 #define OTAWA_IPET_ILP_SYSTEM_GETTER
24 
25 #include <otawa/proc/Processor.h>
26 #include <otawa/proc/Feature.h>
27 #include <otawa/prop/Identifier.h>
28 
29 namespace otawa {
30 
31 // Extern declaration
32 namespace ilp {
33  class System;
34 }
35 
36 namespace ipet {
37 
38 // SystemGetter class
39 class ILPSystemGetter: public Processor {
40 public:
41  ILPSystemGetter(void);
42 protected:
43  string plugin_name;
44  virtual void processWorkSpace(WorkSpace *ws);
45  virtual void configure(const PropList &props);
46 };
47 
48 } } // otawa::ipet
49 
50 #endif // OTAWA_IPET_ILP_SYSTEM_GETTER
This processor looks for an ILP plugin and build a new system that will be used by other IPET process...
Definition: ILPSystemGetter.h:39
virtual void configure(const PropList &props)
This method may be called for configuring a processor thanks to information passed in the property li...
Definition: ipet_ILPSystemGetter.cpp:72
WorkSpace * ws
Definition: Processor.h:185
string plugin_name
Definition: ILPSystemGetter.h:43
The processor class is implemented by all code processor.
Definition: Processor.h:49
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
virtual void processWorkSpace(WorkSpace *ws)
Process the given framework.
Definition: ipet_ILPSystemGetter.cpp:56
ILPSystemGetter(void)
Build the processor.
Definition: ipet_ILPSystemGetter.cpp:48
This a list of properties.
Definition: PropList.h:63