Last change
on this file since 91 was
88,
checked in by rosiere, 16 years ago
|
Almost complete design
with Test and test platform
|
-
Property svn:keywords set to
Id
|
File size:
528 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Debug.cpp 88 2008-12-10 18:31:39Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Common/include/Debug.h" |
---|
9 | #include "Common/include/Environment.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | |
---|
13 | static uint32_t _debug_depth = 0; |
---|
14 | |
---|
15 | #undef FUNCTION |
---|
16 | #define FUNCTION "debug_tab" |
---|
17 | std::string debug_tab (void) |
---|
18 | { |
---|
19 | return std::string(_debug_depth,'\t'); |
---|
20 | } |
---|
21 | |
---|
22 | #undef FUNCTION |
---|
23 | #define FUNCTION "debug_tab_inc" |
---|
24 | void debug_tab_inc (void) |
---|
25 | { |
---|
26 | // _debug_depth ++; |
---|
27 | } |
---|
28 | |
---|
29 | #undef FUNCTION |
---|
30 | #define FUNCTION "debug_tab_dec" |
---|
31 | void debug_tab_dec (void) |
---|
32 | { |
---|
33 | // _debug_depth --; |
---|
34 | } |
---|
35 | |
---|
36 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.