Line | |
---|
1 | #ifdef STATISTICS |
---|
2 | /* |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * [ Description ] |
---|
6 | * |
---|
7 | */ |
---|
8 | |
---|
9 | #include "Behavioural/Generic/Counter/include/Statistics.h" |
---|
10 | |
---|
11 | #include <sstream> |
---|
12 | using namespace std; |
---|
13 | |
---|
14 | namespace morpheo { |
---|
15 | namespace behavioural { |
---|
16 | namespace generic { |
---|
17 | namespace counter { |
---|
18 | |
---|
19 | |
---|
20 | string Statistics::print_body (uint32_t depth) |
---|
21 | { |
---|
22 | log_printf(FUNC,Counter,"print_body","Begin"); |
---|
23 | |
---|
24 | string tab = string(depth,'\t'); |
---|
25 | ostringstream msg; |
---|
26 | |
---|
27 | msg << tab << ""; |
---|
28 | |
---|
29 | log_printf(FUNC,Counter,"print_body","End"); |
---|
30 | |
---|
31 | return msg.str(); |
---|
32 | }; |
---|
33 | |
---|
34 | }; // end namespace counter |
---|
35 | }; // end namespace generic |
---|
36 | |
---|
37 | }; // end namespace behavioural |
---|
38 | }; // end namespace morpheo |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.