00001 #ifndef BCAP_MAPID_H_ 00002 #define BCAP_MAPID_H_ 00003 00036 #include "../bcap_funcid.h" 00037 00042 struct MAP_ID 00043 { 00044 int32_t relation_id; 00045 int return_flag; 00046 }; 00047 00048 static const struct MAP_ID m_map_id[] = 00049 { 00050 { 0, 0 }, 00051 { ID_SERVICE_STOP, 0 }, // ID_SERVICE_START 00052 { -1, 0 }, // ID_SERVICE_STOP 00053 { ID_CONTROLLER_DISCONNECT, 1 }, // ID_CONTROLLER_CONNECT 00054 { -1, 0 }, // ID_CONTROLLER_DISCONNECT 00055 { ID_EXTENSION_RELEASE, 1 }, // ID_CONTROLLER_GETEXTENSION 00056 { ID_FILE_RELEASE, 1 }, // ID_CONTROLLER_GETFILE 00057 { ID_ROBOT_RELEASE, 1 }, // ID_CONTROLLER_GETROBOT 00058 { ID_TASK_RELEASE, 1 }, // ID_CONTROLLER_GETTASK 00059 { ID_VARIABLE_RELEASE, 1 }, // ID_CONTROLLER_GETVARIABLE 00060 { ID_COMMAND_RELEASE, 1 }, // ID_CONTROLLER_GETCOMMAND 00061 { 0, 1 }, // ID_CONTROLLER_GETEXTENSIONNAMES 00062 { 0, 1 }, // ID_CONTROLLER_GETFILENAMES 00063 { 0, 1 }, // ID_CONTROLLER_GETROBOTNAMES 00064 { 0, 1 }, // ID_CONTROLLER_GETTASKNAMES 00065 { 0, 1 }, // ID_CONTROLLER_GETVARIABLENAMES 00066 { 0, 1 }, // ID_CONTROLLER_GETCOMMANDNAMES 00067 { 0, 1 }, // ID_CONTROLLER_EXECUTE 00068 { ID_MESSAGE_RELEASE, 1 }, // ID_CONTROLLER_GETMESSAGE 00069 { 0, 1 }, // ID_CONTROLLER_GETATTRIBUTE 00070 { 0, 1 }, // ID_CONTROLLER_GETHELP 00071 { 0, 1 }, // ID_CONTROLLER_GETNAME 00072 { 0, 1 }, // ID_CONTROLLER_GETTAG 00073 { 0, 0 }, // ID_CONTROLLER_PUTTAG 00074 { 0, 1 }, // ID_CONTROLLER_GETID 00075 { 0, 0 }, // ID_CONTROLLER_PUTID 00076 { ID_VARIABLE_RELEASE, 1 }, // ID_EXTENSION_GETVARIABLE 00077 { 0, 1 }, // ID_EXTENSION_GETVARIABLENAMES 00078 { 0, 1 }, // ID_EXTENSION_EXECUTE 00079 { 0, 1 }, // ID_EXTENSION_GETATTRIBUTE 00080 { 0, 1 }, // ID_EXTENSION_GETHELP 00081 { 0, 1 }, // ID_EXTENSION_GETNAME 00082 { 0, 1 }, // ID_EXTENSION_GETTAG 00083 { 0, 0 }, // ID_EXTENSION_PUTTAG 00084 { 0, 1 }, // ID_EXTENSION_GETID 00085 { 0, 0 }, // ID_EXTENSION_PUTID 00086 { -1, 0 }, // ID_EXTENSION_RELEASE 00087 { ID_FILE_RELEASE, 1 }, // ID_FILE_GETFILE 00088 { ID_VARIABLE_RELEASE, 1 }, // ID_FILE_GETVARIABLE 00089 { 0, 1 }, // ID_FILE_GETFILENAMES 00090 { 0, 1 }, // ID_FILE_GETVARIABLENAMES 00091 { 0, 1 }, // ID_FILE_EXECUTE 00092 { 0, 0 }, // ID_FILE_COPY 00093 { 0, 0 }, // ID_FILE_DELETE 00094 { 0, 0 }, // ID_FILE_MOVE 00095 { 0, 1 }, // ID_FILE_RUN 00096 { 0, 1 }, // ID_FILE_GETDATECREATED 00097 { 0, 1 }, // ID_FILE_GETDATELASTACCESSED 00098 { 0, 1 }, // ID_FILE_GETDATELASTMODIFIED 00099 { 0, 1 }, // ID_FILE_GETPATH 00100 { 0, 1 }, // ID_FILE_GETSIZE 00101 { 0, 1 }, // ID_FILE_GETTYPE 00102 { 0, 1 }, // ID_FILE_GETVALUE 00103 { 0, 0 }, // ID_FILE_PUTVALUE 00104 { 0, 1 }, // ID_FILE_GETATTRIBUTE 00105 { 0, 1 }, // ID_FILE_GETHELP 00106 { 0, 1 }, // ID_FILE_GETNAME 00107 { 0, 1 }, // ID_FILE_GETTAG 00108 { 0, 0 }, // ID_FILE_PUTTAG 00109 { 0, 1 }, // ID_FILE_GETID 00110 { 0, 0 }, // ID_FILE_PUTID 00111 { -1, 0 }, // ID_FILE_RELEASE 00112 { ID_VARIABLE_RELEASE, 1 }, // ID_ROBOT_GETVARIABLE 00113 { 0, 1 }, // ID_ROBOT_GETVARIABLENAMES 00114 { 0, 1 }, // ID_ROBOT_EXECUTE 00115 { 0, 0 }, // ID_ROBOT_ACCELERATE 00116 { 0, 0 }, // ID_ROBOT_CHANGE 00117 { 0, 0 }, // ID_ROBOT_CHUCK 00118 { 0, 0 }, // ID_ROBOT_DRIVE 00119 { 0, 0 }, // ID_ROBOT_GOHOME 00120 { 0, 0 }, // ID_ROBOT_HALT 00121 { 0, 0 }, // ID_ROBOT_HOLD 00122 { 0, 0 }, // ID_ROBOT_MOVE 00123 { 0, 0 }, // ID_ROBOT_ROTATE 00124 { 0, 0 }, // ID_ROBOT_SPEED 00125 { 0, 0 }, // ID_ROBOT_UNCHUCK 00126 { 0, 0 }, // ID_ROBOT_UNHOLD 00127 { 0, 1 }, // ID_ROBOT_GETATTRIBUTE 00128 { 0, 1 }, // ID_ROBOT_GETHELP 00129 { 0, 1 }, // ID_ROBOT_GETNAME 00130 { 0, 1 }, // ID_ROBOT_GETTAG 00131 { 0, 0 }, // ID_ROBOT_PUTTAG 00132 { 0, 1 }, // ID_ROBOT_GETID 00133 { 0, 0 }, // ID_ROBOT_PUTID 00134 { -1, 0 }, // ID_ROBOT_RELEASE 00135 { ID_VARIABLE_RELEASE, 1 }, // ID_TASK_GETVARIABLE 00136 { 0, 1 }, // ID_TASK_GETVARIABLENAMES 00137 { 0, 1 }, // ID_TASK_EXECUTE 00138 { 0, 0 }, // ID_TASK_START 00139 { 0, 0 }, // ID_TASK_STOP 00140 { 0, 0 }, // ID_TASK_DELETE 00141 { 0, 1 }, // ID_TASK_GETFILENAME 00142 { 0, 1 }, // ID_TASK_GETATTRIBUTE 00143 { 0, 1 }, // ID_TASK_GETHELP 00144 { 0, 1 }, // ID_TASK_GETNAME 00145 { 0, 1 }, // ID_TASK_GETTAG 00146 { 0, 0 }, // ID_TASK_PUTTAG 00147 { 0, 1 }, // ID_TASK_GETID 00148 { 0, 0 }, // ID_TASK_PUTID 00149 { -1, 0 }, // ID_TASK_RELEASE 00150 { 0, 1 }, // ID_VARIABLE_GETDATETIME 00151 { 0, 1 }, // ID_VARIABLE_GETVALUE 00152 { 0, 0 }, // ID_VARIABLE_PUTVALUE 00153 { 0, 1 }, // ID_VARIABLE_GETATTRIBUTE 00154 { 0, 1 }, // ID_VARIABLE_GETHELP 00155 { 0, 1 }, // ID_VARIABLE_GETNAME 00156 { 0, 1 }, // ID_VARIABLE_GETTAG 00157 { 0, 0 }, // ID_VARIABLE_PUTTAG 00158 { 0, 1 }, // ID_VARIABLE_GETID 00159 { 0, 0 }, // ID_VARIABLE_PUTID 00160 { 0, 1 }, // ID_VARIABLE_GETMICROSECOND 00161 { -1, 0 }, // ID_VARIABLE_RELEASE 00162 { 0, 0 }, // ID_COMMAND_EXECUTE 00163 { 0, 0 }, // ID_COMMAND_CANCEL 00164 { 0, 1 }, // ID_COMMAND_GETTIMEOUT 00165 { 0, 0 }, // ID_COMMAND_PUTTIMEOUT 00166 { 0, 1 }, // ID_COMMAND_GETSTATE 00167 { 0, 1 }, // ID_COMMAND_GETPARAMETERS 00168 { 0, 0 }, // ID_COMMAND_PUTPARAMETERS 00169 { 0, 1 }, // ID_COMMAND_GETRESULT 00170 { 0, 1 }, // ID_COMMAND_GETATTRIBUTE 00171 { 0, 1 }, // ID_COMMAND_GETHELP 00172 { 0, 1 }, // ID_COMMAND_GETNAME 00173 { 0, 1 }, // ID_COMMAND_GETTAG 00174 { 0, 1 }, // ID_COMMAND_PUTTAG 00175 { 0, 1 }, // ID_COMMAND_GETID 00176 { 0, 0 }, // ID_COMMAND_PUTID 00177 { -1, 0 }, // ID_COMMAND_RELEASE 00178 { 0, 0 }, // ID_MESSAGE_REPLY 00179 { 0, 0 }, // ID_MESSAGE_CLEAR 00180 { 0, 1 }, // ID_MESSAGE_GETDATETIME 00181 { 0, 1 }, // ID_MESSAGE_GETDESCRIPTION 00182 { 0, 1 }, // ID_MESSAGE_GETDESTINATION 00183 { 0, 1 }, // ID_MESSAGE_GETNUMBER 00184 { 0, 1 }, // ID_MESSAGE_GETSERIALNUMBER 00185 { 0, 1 }, // ID_MESSAGE_GETSOURCE 00186 { 0, 1 }, // ID_MESSAGE_GETVALUE 00187 { -1, 0 }, // ID_MESSAGE_RELEASE 00188 }; 00189 00190 #endif /* BCAP_MAPID_H_ */