Last change
on this file since 99 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
898 bytes
|
Line | |
---|
1 | #ifndef ENVIRONMENT_DATA_H |
---|
2 | #define ENVIRONMENT_DATA_H |
---|
3 | |
---|
4 | #include "Data_Parameters.h" |
---|
5 | #include "Entity.h" |
---|
6 | |
---|
7 | namespace environment { |
---|
8 | namespace data { |
---|
9 | |
---|
10 | class Data |
---|
11 | { |
---|
12 | private : std::string name; |
---|
13 | private : uint32_t nb_seg; |
---|
14 | private : Segment ** segment; |
---|
15 | private : Parameters * param; |
---|
16 | |
---|
17 | public : Data (std::string name, Parameters * param); |
---|
18 | public : ~Data (void); |
---|
19 | |
---|
20 | public : bool init (std::string section, const char * filename, const char ** list_section); |
---|
21 | public : void reset (void); |
---|
22 | public : bool read (uint32_t address, uint32_t size, char * & data_dest); |
---|
23 | public : bool write (uint32_t address, uint32_t size, char * & data_src); |
---|
24 | public : Entity entity (uint32_t address, uint32_t size); |
---|
25 | public : Entity entity (std::string name); |
---|
26 | public : friend std::ostream& operator<< (std::ostream& output, const Data & x); |
---|
27 | }; |
---|
28 | |
---|
29 | }; |
---|
30 | }; |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.