Last change
on this file since 77 was
76,
checked in by rosiere, 17 years ago
|
Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script
|
File size:
670 bytes
|
Rev | Line | |
---|
[76] | 1 | #ifdef STATISTICS |
---|
| 2 | /* |
---|
| 3 | * $Id$ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | @NAMESPACE_BEGIN |
---|
| 14 | |
---|
| 15 | #undef FUNCTION |
---|
| 16 | #define FUNCTION "@COMPONENT::statistics_declaration" |
---|
| 17 | void @COMPONENT::statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics) |
---|
| 18 | { |
---|
| 19 | log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); |
---|
| 20 | |
---|
| 21 | _stat = new Stat (static_cast<std::string>(_name), |
---|
| 22 | "@COMPONENT", |
---|
| 23 | param_statistics); |
---|
| 24 | |
---|
| 25 | log_printf(FUNC,@COMPONENT,FUNCTION,"End"); |
---|
| 26 | }; |
---|
| 27 | |
---|
| 28 | @NAMESPACE_END |
---|
| 29 | }; // end namespace behavioural |
---|
| 30 | }; // end namespace morpheo |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.