Last change
on this file since 119 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
761 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
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 | |
---|
12 | namespace morpheo { |
---|
13 | namespace behavioural { |
---|
14 | namespace generic { |
---|
15 | namespace counter { |
---|
16 | |
---|
17 | |
---|
18 | Parameters_test Parameters::msg_error(void) |
---|
19 | { |
---|
20 | log_printf(FUNC,Counter,"msg_error","Begin"); |
---|
21 | |
---|
22 | Parameters_test test ("Counter"); |
---|
23 | |
---|
24 | if (_size_data < 1) |
---|
25 | test.error("size_data must be > 0\n"); |
---|
26 | |
---|
27 | if (_nb_port < 1) |
---|
28 | test.error("nb_port must be > 0\n"); |
---|
29 | |
---|
30 | return test; |
---|
31 | |
---|
32 | log_printf(FUNC,Counter,"msg_error","End"); |
---|
33 | }; |
---|
34 | |
---|
35 | }; // end namespace counter |
---|
36 | }; // end namespace generic |
---|
37 | |
---|
38 | }; // end namespace behavioural |
---|
39 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.