Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Generic/Counter/include/Parameters.h" |
---|
9 | #include "Behavioural/Generic/Counter/include/Types.h" |
---|
10 | #include <sstream> |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | namespace morpheo { |
---|
14 | namespace behavioural { |
---|
15 | namespace generic { |
---|
16 | namespace counter { |
---|
17 | |
---|
18 | |
---|
19 | string Parameters::msg_error(void) |
---|
20 | { |
---|
21 | log_printf(FUNC,Counter,"msg_error","Begin"); |
---|
22 | |
---|
23 | string msg = ""; |
---|
24 | |
---|
25 | if (_size_data < 1) |
---|
26 | { |
---|
27 | msg += " - size_data must be > 0\n"; |
---|
28 | msg += " * size_data : " + toString(_size_data) + "\n"; |
---|
29 | } |
---|
30 | |
---|
31 | if (_nb_port < 1) |
---|
32 | { |
---|
33 | msg += " - nb_port must be > 0\n"; |
---|
34 | msg += " * nb_port : " + toString(_nb_port) + "\n"; |
---|
35 | } |
---|
36 | |
---|
37 | return msg; |
---|
38 | |
---|
39 | log_printf(FUNC,Counter,"msg_error","End"); |
---|
40 | }; |
---|
41 | |
---|
42 | }; // end namespace counter |
---|
43 | }; // end namespace generic |
---|
44 | |
---|
45 | }; // end namespace behavioural |
---|
46 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.