1 | /* |
---|
2 | * $Id: Parameters_msg_error.cpp 88 2008-12-10 18:31:39Z 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(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); break; |
---|
29 | case VICTIM_ROUND_ROBIN : test.error(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); break; |
---|
30 | case VICTIM_NLU : test.error(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); break; |
---|
31 | // case VICTIM_PSEUDO_LRU : test.error(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); break; |
---|
32 | case VICTIM_LRU : test.error(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); break; |
---|
33 | case VICTIM_FIFO : test.error(toString(_("Victim scheme \"%s\" is not supported. (Coming Soon)\n"),toString(_victim_scheme).c_str())); 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 |
---|