Last change
on this file since 90 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
File size:
1.0 KB
|
Rev | Line | |
---|
[76] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/@DIRECTORY/include/Parameters.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | @NAMESPACE_BEGIN |
---|
| 13 | |
---|
| 14 | #undef FUNCTION |
---|
| 15 | #define FUNCTION "@COMPONENT::Parameters" |
---|
[88] | 16 | Parameters::Parameters (bool is_toplevel) |
---|
[76] | 17 | { |
---|
[82] | 18 | log_begin(@COMPONENT,FUNCTION); |
---|
[88] | 19 | |
---|
[76] | 20 | test(); |
---|
[88] | 21 | |
---|
| 22 | if (is_toplevel) |
---|
| 23 | { |
---|
| 24 | copy(); |
---|
| 25 | } |
---|
| 26 | |
---|
[82] | 27 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 28 | }; |
---|
| 29 | |
---|
[78] | 30 | // #undef FUNCTION |
---|
| 31 | // #define FUNCTION "@COMPONENT::Parameters (copy)" |
---|
| 32 | // Parameters::Parameters (Parameters & param) |
---|
| 33 | // { |
---|
[82] | 34 | // log_begin(@COMPONENT,FUNCTION); |
---|
[78] | 35 | // test(); |
---|
[82] | 36 | // log_end(@COMPONENT,FUNCTION); |
---|
[78] | 37 | // }; |
---|
[76] | 38 | |
---|
| 39 | #undef FUNCTION |
---|
| 40 | #define FUNCTION "@COMPONENT::~Parameters" |
---|
[88] | 41 | Parameters::~Parameters (void) |
---|
[76] | 42 | { |
---|
[82] | 43 | log_begin(@COMPONENT,FUNCTION); |
---|
| 44 | log_end(@COMPONENT,FUNCTION); |
---|
[76] | 45 | }; |
---|
| 46 | |
---|
[88] | 47 | #undef FUNCTION |
---|
| 48 | #define FUNCTION "@COMPONENT::copy" |
---|
| 49 | void Parameters::copy (void) |
---|
| 50 | { |
---|
| 51 | log_begin(@COMPONENT,FUNCTION); |
---|
| 52 | log_end(@COMPONENT,FUNCTION); |
---|
| 53 | }; |
---|
| 54 | |
---|
[76] | 55 | @NAMESPACE_END |
---|
| 56 | }; // end namespace behavioural |
---|
| 57 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.