00001 #ifndef __LOAD_GRAPH_H__ 00002 #define __LOAD_GRAPH_H__ 00003 00004 00005 namespace control { 00006 class Controller; 00007 } 00008 00009 namespace graphloader { 00010 00011 enum 00012 { 00013 PROCESSOR_ID, 00014 PROCESSOR_NAME, 00015 DEP_DEST, 00016 DEP_SLOT, 00017 DEP_SOURCE, 00018 PARAM_DEST, 00019 PARAM_NAME, 00020 00021 PARAM_VALUE_INT, 00022 PARAM_VALUE_FLOAT, 00023 PARAM_VALUE_BOOL, 00024 PARAM_VALUE_CHROMATICITY, 00025 PARAM_VALUE_STRING, 00026 00027 OUTPUT_ID, 00028 00029 END 00030 }; 00031 00032 00033 bool LoadGraph(const std::string &fn, control::Controller *cnt, int32_t &out); 00034 00035 00036 } 00037 00038 #endif