Last change
on this file since 136 was
131,
checked in by rosiere, 15 years ago
|
1) add constant method
2) test with systemc 2.2.0
|
-
Property svn:keywords set to
Id
|
File size:
743 bytes
|
Rev | Line | |
---|
[112] | 1 | /* |
---|
| 2 | * $Id: Model.cpp 131 2009-07-08 18:40:08Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Model.h" |
---|
[118] | 9 | #include "Common/include/Debug.h" |
---|
[112] | 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "Model::Model" |
---|
| 16 | Model::Model (void) |
---|
| 17 | { |
---|
[129] | 18 | // log_begin(Behavioural,FUNCTION); |
---|
[118] | 19 | |
---|
[131] | 20 | default_type = MODEL_SYSTEMC; |
---|
| 21 | default_debug = false; |
---|
| 22 | |
---|
[118] | 23 | set_model(NAME_true ,MODEL_SYSTEMC,true ); |
---|
| 24 | set_model(NAME_false,MODEL_SYSTEMC,false); |
---|
| 25 | |
---|
[129] | 26 | // log_end(Behavioural,FUNCTION); |
---|
[112] | 27 | } |
---|
| 28 | |
---|
| 29 | #undef FUNCTION |
---|
| 30 | #define FUNCTION "Model::~Model" |
---|
| 31 | Model::~Model(void) |
---|
| 32 | { |
---|
[129] | 33 | // log_begin(Behavioural,FUNCTION); |
---|
| 34 | // log_end(Behavioural,FUNCTION); |
---|
[112] | 35 | } |
---|
| 36 | |
---|
| 37 | }; // end namespace behavioural |
---|
| 38 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.