Otawa  0.10
TextDecoder.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * Copyright (c) 2007, IRIT UPS.
4  *
5  * TextDecoder class interface
6  */
7 #ifndef OTAWA_PROG_TEXT_DECODER_H
8 #define OTAWA_PROG_TEXT_DECODER_H
9 
10 #include <otawa/proc/Processor.h>
11 #include <otawa/proc/Feature.h>
12 
13 namespace otawa {
14 
15 // TextDecoder class
16 class TextDecoder: public Processor {
17 public:
18  static TextDecoder _;
19  TextDecoder(void);
21  virtual void configure(const PropList& props);
22 
23 protected:
24  virtual void processWorkSpace(WorkSpace *fw);
26 private:
28 };
29 
30 // Features
32 
33 } // otawa
34 
35 #endif // OTAWA_PROG_TEXT_DECODER_H
Feature< TextDecoder > DECODED_TEXT
This feature ensures that text segment of the process has been decoded and, consequently, that instructions are available.
static TextDecoder _
Static access to the text decoder.
Definition: TextDecoder.h:18
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 configure(const PropList &props)
This method may be called for configuring a processor thanks to information passed in the property li...
Definition: prog_TextDecoder.cpp:137
virtual void processWorkSpace(WorkSpace *fw)
Process the given framework.
Definition: prog_TextDecoder.cpp:84
static Identifier< bool > FOLLOW_PATHS
This identifier is used to configure the TextDecoder.
Definition: TextDecoder.h:20
const PropList * conf_props
Definition: TextDecoder.h:27
bool follow_paths
Definition: TextDecoder.h:25
TextDecoder(void)
Constructor.
Definition: prog_TextDecoder.cpp:72
This a list of properties.
Definition: PropList.h:63
A feature is a set of facilities, usually provided using properties, available on a framework...
Definition: Feature.h:46
A default text decoder: try to find the most adapted text decoder.
Definition: TextDecoder.h:16