Last change
on this file since 81 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:
1.5 KB
|
Rev | Line | |
---|
[78] | 1 | /* |
---|
| 2 | * $Id: Parameters_msg_error.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Types.h" |
---|
| 9 | #include "Behavioural/Generic/Victim/include/Parameters.h" |
---|
| 10 | #include <sstream> |
---|
| 11 | |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace victim { |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | #undef FUNCTION |
---|
| 19 | #define FUNCTION "Victim::msg_error" |
---|
| 20 | Parameters_test Parameters::msg_error(void) |
---|
| 21 | { |
---|
| 22 | log_printf(FUNC,Victim,FUNCTION,"Begin"); |
---|
| 23 | |
---|
| 24 | Parameters_test test ("Victim"); |
---|
| 25 | |
---|
| 26 | switch (_victim_scheme) |
---|
| 27 | { |
---|
| 28 | case VICTIM_RANDOM : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 29 | case VICTIM_ROUND_ROBIN : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 30 | case VICTIM_NLU : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 31 | // case VICTIM_PSEUDO_LRU : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 32 | case VICTIM_LRU : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 33 | case VICTIM_FIFO : test.error("Victim scheme '"+toString(_victim_scheme)+"' is not supported. (Coming Soon)"); break; |
---|
| 34 | default : break; |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | log_printf(FUNC,Victim,FUNCTION,"End"); |
---|
| 38 | |
---|
| 39 | return test; |
---|
| 40 | }; |
---|
| 41 | |
---|
| 42 | }; // end namespace victim |
---|
| 43 | }; // end namespace generic |
---|
| 44 | |
---|
| 45 | }; // end namespace behavioural |
---|
| 46 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.