Last change
on this file since 141 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
|
Rev | Line | |
---|
[2] | 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 | |
---|
[81] | 18 | Parameters_test Parameters::msg_error(void) |
---|
[2] | 19 | { |
---|
| 20 | log_printf(FUNC,Counter,"msg_error","Begin"); |
---|
| 21 | |
---|
[81] | 22 | Parameters_test test ("Counter"); |
---|
[2] | 23 | |
---|
| 24 | if (_size_data < 1) |
---|
[81] | 25 | test.error("size_data must be > 0\n"); |
---|
[2] | 26 | |
---|
| 27 | if (_nb_port < 1) |
---|
[81] | 28 | test.error("nb_port must be > 0\n"); |
---|
[2] | 29 | |
---|
[81] | 30 | return test; |
---|
[2] | 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.