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