src/ExecMsg.h
branchv_0
changeset 31 c64e1588f428
parent 30 56409232e1a1
child 32 bccda5688d71
equal deleted inserted replaced
30:56409232e1a1 31:c64e1588f428
     1 // This file was generated from the specification.
       
     2 
       
     3 #include <map>
       
     4 #include <string>
       
     5 
       
     6 namespace relpipe {
       
     7 namespace in {
       
     8 namespace filesystem {
       
     9 
       
    10 class ExecMsg {
       
    11 public:
       
    12 
       
    13 	static const int VERSION_SUPPORTED;
       
    14 	static const int WAITING_FOR_VERSION;
       
    15 	static const int VERSION_ACCEPTED;
       
    16 	static const int RELATION_START;
       
    17 	static const int INPUT_ATTRIBUTE_METADATA;
       
    18 	static const int OUTPUT_ATTRIBUTE_ALIAS;
       
    19 	static const int OPTION;
       
    20 	static const int COMPLETION_REQUEST;
       
    21 	static const int COMPLETION;
       
    22 	static const int COMPLETION_END;
       
    23 	static const int WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA;
       
    24 	static const int OUTPUT_ATTRIBUTE_METADATA;
       
    25 	static const int WAITING_FOR_INPUT_ATTRIBUTES;
       
    26 	static const int INPUT_ATTRIBUTE;
       
    27 	static const int WAITING_FOR_OUTPUT_ATTRIBUTES;
       
    28 	static const int OUTPUT_ATTRIBUTE;
       
    29 	static const int EXECUTOR_ERROR;
       
    30 	static const int PROCESS_ERROR;
       
    31 	static const int PROCESS_WARNING;
       
    32 	static const int RELATION_END;
       
    33 
       
    34 	static std::map<int, std::wstring> getMessageNames() {
       
    35 		std::map<int, std::wstring> m;
       
    36 
       
    37 		m[VERSION_SUPPORTED] = L"VERSION_SUPPORTED";
       
    38 		m[WAITING_FOR_VERSION] = L"WAITING_FOR_VERSION";
       
    39 		m[VERSION_ACCEPTED] = L"VERSION_ACCEPTED";
       
    40 		m[RELATION_START] = L"RELATION_START";
       
    41 		m[INPUT_ATTRIBUTE_METADATA] = L"INPUT_ATTRIBUTE_METADATA";
       
    42 		m[OUTPUT_ATTRIBUTE_ALIAS] = L"OUTPUT_ATTRIBUTE_ALIAS";
       
    43 		m[OPTION] = L"OPTION";
       
    44 		m[COMPLETION_REQUEST] = L"COMPLETION_REQUEST";
       
    45 		m[COMPLETION] = L"COMPLETION";
       
    46 		m[COMPLETION_END] = L"COMPLETION_END";
       
    47 		m[WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA] = L"WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA";
       
    48 		m[OUTPUT_ATTRIBUTE_METADATA] = L"OUTPUT_ATTRIBUTE_METADATA";
       
    49 		m[WAITING_FOR_INPUT_ATTRIBUTES] = L"WAITING_FOR_INPUT_ATTRIBUTES";
       
    50 		m[INPUT_ATTRIBUTE] = L"INPUT_ATTRIBUTE";
       
    51 		m[WAITING_FOR_OUTPUT_ATTRIBUTES] = L"WAITING_FOR_OUTPUT_ATTRIBUTES";
       
    52 		m[OUTPUT_ATTRIBUTE] = L"OUTPUT_ATTRIBUTE";
       
    53 		m[EXECUTOR_ERROR] = L"EXECUTOR_ERROR";
       
    54 		m[PROCESS_ERROR] = L"PROCESS_ERROR";
       
    55 		m[PROCESS_WARNING] = L"PROCESS_WARNING";
       
    56 		m[RELATION_END] = L"RELATION_END";
       
    57 
       
    58 		return m;
       
    59 	}
       
    60 
       
    61 };
       
    62 
       
    63 const int ExecMsg::VERSION_SUPPORTED = 100;
       
    64 const int ExecMsg::WAITING_FOR_VERSION = 101;
       
    65 const int ExecMsg::VERSION_ACCEPTED = 102;
       
    66 const int ExecMsg::RELATION_START = 103;
       
    67 const int ExecMsg::INPUT_ATTRIBUTE_METADATA = 104;
       
    68 const int ExecMsg::OUTPUT_ATTRIBUTE_ALIAS = 105;
       
    69 const int ExecMsg::OPTION = 106;
       
    70 const int ExecMsg::COMPLETION_REQUEST = 107;
       
    71 const int ExecMsg::COMPLETION = 108;
       
    72 const int ExecMsg::COMPLETION_END = 109;
       
    73 const int ExecMsg::WAITING_FOR_OUTPUT_ATTRIBUTES_METADATA = 110;
       
    74 const int ExecMsg::OUTPUT_ATTRIBUTE_METADATA = 111;
       
    75 const int ExecMsg::WAITING_FOR_INPUT_ATTRIBUTES = 112;
       
    76 const int ExecMsg::INPUT_ATTRIBUTE = 113;
       
    77 const int ExecMsg::WAITING_FOR_OUTPUT_ATTRIBUTES = 114;
       
    78 const int ExecMsg::OUTPUT_ATTRIBUTE = 115;
       
    79 const int ExecMsg::EXECUTOR_ERROR = 116;
       
    80 const int ExecMsg::PROCESS_ERROR = 117;
       
    81 const int ExecMsg::PROCESS_WARNING = 118;
       
    82 const int ExecMsg::RELATION_END = 120;
       
    83 
       
    84 }
       
    85 }
       
    86 }