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