Last change
on this file since 75 was
75,
checked in by rosiere, 16 years ago
|
Update all component (except front_end) to :
- new statistics model
- no namespace std
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Read_unit/Read_unit/Read_queue/include/Parameters.h" |
---|
9 | #include <sstream> |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | namespace core { |
---|
14 | namespace multi_execute_loop { |
---|
15 | namespace execute_loop { |
---|
16 | namespace multi_read_unit { |
---|
17 | namespace read_unit { |
---|
18 | namespace read_queue { |
---|
19 | |
---|
20 | |
---|
21 | std::string Parameters::msg_error(void) |
---|
22 | { |
---|
23 | log_printf(FUNC,Read_queue,"msg_error","Begin"); |
---|
24 | |
---|
25 | std::string msg = ""; |
---|
26 | |
---|
27 | // if (_size_queue < 2) |
---|
28 | // { |
---|
29 | // msg += " - The read_queue must be have less a depth of 2"; |
---|
30 | // msg += " * size_queue : " + toString(_size_queue) + "\n"; |
---|
31 | // } |
---|
32 | |
---|
33 | if (_nb_type < 2) |
---|
34 | { |
---|
35 | msg += " - The number of type must be > 1"; |
---|
36 | } |
---|
37 | if (_nb_operation < 2) |
---|
38 | { |
---|
39 | msg += " - The number of operation must be > 1"; |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | return msg; |
---|
44 | |
---|
45 | log_printf(FUNC,Read_queue,"msg_error","End"); |
---|
46 | }; |
---|
47 | |
---|
48 | }; // end namespace read_queue |
---|
49 | }; // end namespace read_unit |
---|
50 | }; // end namespace multi_read_unit |
---|
51 | }; // end namespace execute_loop |
---|
52 | }; // end namespace multi_execute_loop |
---|
53 | }; // end namespace core |
---|
54 | |
---|
55 | }; // end namespace behavioural |
---|
56 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.