Otawa  0.10
FixedTextDecoder.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * FixedTextDecoder class interface
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2007-08, 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_PROG_FIXED_TEXT_DECODER_H
23 #define OTAWA_PROG_FIXED_TEXT_DECODER_H
24 
25 #include <otawa/proc/Processor.h>
26 
27 namespace otawa {
28 
29 // FixedTextDecoder class
30 class FixedTextDecoder: public Processor {
31 public:
33  FixedTextDecoder(void);
35 
36 protected:
37  virtual void processWorkSpace(WorkSpace *fw);
38  virtual void setup(WorkSpace *fw);
39 
40 private:
42 };
43 
44 } // otawa
45 
46 #endif // OTAWA_PROG_FIXED_TEXT_DECODER_H
static Registration< FixedTextDecoder > reg
Definition: FixedTextDecoder.h:34
Definition: Registration.h:138
FixedTextDecoder(void)
Constructor.
Definition: prog_FixedTextDecoder.cpp:46
virtual void setup(WorkSpace *fw)
This method is called before an anlysis to let the processor do some initialization.
Definition: prog_FixedTextDecoder.cpp:75
static FixedTextDecoder _
Definition: FixedTextDecoder.h:32
The processor class is implemented by all code processor.
Definition: Processor.h:49
t::uint32 size
Definition: FixedTextDecoder.h:41
Decode the text instruction for a simple RISC architecture, requiring fixed size and fixed alignement...
Definition: FixedTextDecoder.h:30
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 *fw)
Process the given framework.
Definition: prog_FixedTextDecoder.cpp:52
uint32_t uint32