00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __cplusplus
00020 #include "stdlib.h"
00021 #endif
00022 #include "string.h"
00023
00024 #include "tolua++.h"
00025
00026
00027 TOLUA_API int tolua_interfaces_VisualDisplay2DInterface_open (lua_State* tolua_S);
00028
00029 #include <interfaces/VisualDisplay2DInterface.h>
00030 using namespace fawkes;
00031
00032
00033 #ifdef __cplusplus
00034
00035 static int tolua_collect_fawkes__VisualDisplay2DInterface__AddCartTextMessage (lua_State* tolua_S)
00036 {
00037 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
00038 Mtolua_delete(self);
00039 return 0;
00040 }
00041
00042 static int tolua_collect_fawkes__VisualDisplay2DInterface__DeleteAllMessage (lua_State* tolua_S)
00043 {
00044 fawkes::VisualDisplay2DInterface::DeleteAllMessage* self = (fawkes::VisualDisplay2DInterface::DeleteAllMessage*) tolua_tousertype(tolua_S,1,0);
00045 Mtolua_delete(self);
00046 return 0;
00047 }
00048
00049 static int tolua_collect_fawkes__VisualDisplay2DInterface__AddCartLineMessage (lua_State* tolua_S)
00050 {
00051 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00052 Mtolua_delete(self);
00053 return 0;
00054 }
00055
00056 static int tolua_collect_fawkes__VisualDisplay2DInterface__AddCartRectMessage (lua_State* tolua_S)
00057 {
00058 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
00059 Mtolua_delete(self);
00060 return 0;
00061 }
00062
00063 static int tolua_collect_fawkes__VisualDisplay2DInterface__DeleteObjectMessage (lua_State* tolua_S)
00064 {
00065 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* self = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) tolua_tousertype(tolua_S,1,0);
00066 Mtolua_delete(self);
00067 return 0;
00068 }
00069
00070 static int tolua_collect_fawkes__VisualDisplay2DInterface__AddCartCircleMessage (lua_State* tolua_S)
00071 {
00072 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00073 Mtolua_delete(self);
00074 return 0;
00075 }
00076 #endif
00077
00078
00079
00080 static void tolua_reg_types (lua_State* tolua_S)
00081 {
00082 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::AddCartTextMessage");
00083 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface");
00084 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage");
00085 tolua_usertype(tolua_S,"Message");
00086 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::DeleteAllMessage");
00087 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage");
00088 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::AddCartRectMessage");
00089 tolua_usertype(tolua_S,"fawkes::VisualDisplay2DInterface::AddCartLineMessage");
00090 tolua_usertype(tolua_S,"Interface");
00091 }
00092
00093
00094 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00
00095 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00(lua_State* tolua_S)
00096 {
00097 #ifndef TOLUA_RELEASE
00098 tolua_Error tolua_err;
00099 if (
00100 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00101 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00102 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00103 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
00104 !tolua_isstring(tolua_S,5,0,&tolua_err) ||
00105 !tolua_isnoobj(tolua_S,6,&tolua_err)
00106 )
00107 goto tolua_lerror;
00108 else
00109 #endif
00110 {
00111 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
00112 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
00113 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,4,0));
00114 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,5,0));
00115 {
00116 fawkes::VisualDisplay2DInterface::AddCartLineMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartLineMessage)(&ini_x,&ini_y,ini_style,ini_color));
00117 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartLineMessage");
00118 tolua_pushnumber(tolua_S,(lua_Number)ini_x);
00119 tolua_pushnumber(tolua_S,(lua_Number)ini_y);
00120 }
00121 }
00122 return 3;
00123 #ifndef TOLUA_RELEASE
00124 tolua_lerror:
00125 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00126 return 0;
00127 #endif
00128 }
00129 #endif //#ifndef TOLUA_DISABLE
00130
00131
00132 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00_local
00133 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00_local(lua_State* tolua_S)
00134 {
00135 #ifndef TOLUA_RELEASE
00136 tolua_Error tolua_err;
00137 if (
00138 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00139 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00140 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00141 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
00142 !tolua_isstring(tolua_S,5,0,&tolua_err) ||
00143 !tolua_isnoobj(tolua_S,6,&tolua_err)
00144 )
00145 goto tolua_lerror;
00146 else
00147 #endif
00148 {
00149 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
00150 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
00151 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,4,0));
00152 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,5,0));
00153 {
00154 fawkes::VisualDisplay2DInterface::AddCartLineMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartLineMessage)(&ini_x,&ini_y,ini_style,ini_color));
00155 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartLineMessage");
00156 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00157 tolua_pushnumber(tolua_S,(lua_Number)ini_x);
00158 tolua_pushnumber(tolua_S,(lua_Number)ini_y);
00159 }
00160 }
00161 return 3;
00162 #ifndef TOLUA_RELEASE
00163 tolua_lerror:
00164 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00165 return 0;
00166 #endif
00167 }
00168 #endif //#ifndef TOLUA_DISABLE
00169
00170
00171 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01
00172 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01(lua_State* tolua_S)
00173 {
00174 tolua_Error tolua_err;
00175 if (
00176 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00177 !tolua_isnoobj(tolua_S,2,&tolua_err)
00178 )
00179 goto tolua_lerror;
00180 else
00181 {
00182 {
00183 fawkes::VisualDisplay2DInterface::AddCartLineMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartLineMessage)());
00184 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartLineMessage");
00185 }
00186 }
00187 return 1;
00188 tolua_lerror:
00189 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00(tolua_S);
00190 }
00191 #endif //#ifndef TOLUA_DISABLE
00192
00193
00194 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01_local
00195 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01_local(lua_State* tolua_S)
00196 {
00197 tolua_Error tolua_err;
00198 if (
00199 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00200 !tolua_isnoobj(tolua_S,2,&tolua_err)
00201 )
00202 goto tolua_lerror;
00203 else
00204 {
00205 {
00206 fawkes::VisualDisplay2DInterface::AddCartLineMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartLineMessage)());
00207 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartLineMessage");
00208 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00209 }
00210 }
00211 return 1;
00212 tolua_lerror:
00213 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00_local(tolua_S);
00214 }
00215 #endif //#ifndef TOLUA_DISABLE
00216
00217
00218 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_delete00
00219 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_delete00(lua_State* tolua_S)
00220 {
00221 #ifndef TOLUA_RELEASE
00222 tolua_Error tolua_err;
00223 if (
00224 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00225 !tolua_isnoobj(tolua_S,2,&tolua_err)
00226 )
00227 goto tolua_lerror;
00228 else
00229 #endif
00230 {
00231 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00232 #ifndef TOLUA_RELEASE
00233 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00234 #endif
00235 Mtolua_delete(self);
00236 }
00237 return 0;
00238 #ifndef TOLUA_RELEASE
00239 tolua_lerror:
00240 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00241 return 0;
00242 #endif
00243 }
00244 #endif //#ifndef TOLUA_DISABLE
00245
00246
00247 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_x00
00248 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_x00(lua_State* tolua_S)
00249 {
00250 #ifndef TOLUA_RELEASE
00251 tolua_Error tolua_err;
00252 if (
00253 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00254 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00255 !tolua_isnoobj(tolua_S,3,&tolua_err)
00256 )
00257 goto tolua_lerror;
00258 else
00259 #endif
00260 {
00261 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00262 int index = ((int) tolua_tonumber(tolua_S,2,0));
00263 #ifndef TOLUA_RELEASE
00264 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
00265 #endif
00266 {
00267 float tolua_ret = (float) self->x(index);
00268 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00269 }
00270 }
00271 return 1;
00272 #ifndef TOLUA_RELEASE
00273 tolua_lerror:
00274 tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
00275 return 0;
00276 #endif
00277 }
00278 #endif //#ifndef TOLUA_DISABLE
00279
00280
00281 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_x00
00282 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_x00(lua_State* tolua_S)
00283 {
00284 #ifndef TOLUA_RELEASE
00285 tolua_Error tolua_err;
00286 if (
00287 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00288 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00289 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00290 !tolua_isnoobj(tolua_S,4,&tolua_err)
00291 )
00292 goto tolua_lerror;
00293 else
00294 #endif
00295 {
00296 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00297 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
00298 const float new_x = ((const float) tolua_tonumber(tolua_S,3,0));
00299 #ifndef TOLUA_RELEASE
00300 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
00301 #endif
00302 {
00303 self->set_x(index,new_x);
00304 }
00305 }
00306 return 0;
00307 #ifndef TOLUA_RELEASE
00308 tolua_lerror:
00309 tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
00310 return 0;
00311 #endif
00312 }
00313 #endif //#ifndef TOLUA_DISABLE
00314
00315
00316 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_x00
00317 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_x00(lua_State* tolua_S)
00318 {
00319 #ifndef TOLUA_RELEASE
00320 tolua_Error tolua_err;
00321 if (
00322 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00323 !tolua_isnoobj(tolua_S,2,&tolua_err)
00324 )
00325 goto tolua_lerror;
00326 else
00327 #endif
00328 {
00329 const fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00330 #ifndef TOLUA_RELEASE
00331 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
00332 #endif
00333 {
00334 int tolua_ret = (int) self->maxlenof_x();
00335 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00336 }
00337 }
00338 return 1;
00339 #ifndef TOLUA_RELEASE
00340 tolua_lerror:
00341 tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
00342 return 0;
00343 #endif
00344 }
00345 #endif //#ifndef TOLUA_DISABLE
00346
00347
00348 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_y00
00349 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_y00(lua_State* tolua_S)
00350 {
00351 #ifndef TOLUA_RELEASE
00352 tolua_Error tolua_err;
00353 if (
00354 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00355 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00356 !tolua_isnoobj(tolua_S,3,&tolua_err)
00357 )
00358 goto tolua_lerror;
00359 else
00360 #endif
00361 {
00362 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00363 int index = ((int) tolua_tonumber(tolua_S,2,0));
00364 #ifndef TOLUA_RELEASE
00365 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
00366 #endif
00367 {
00368 float tolua_ret = (float) self->y(index);
00369 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00370 }
00371 }
00372 return 1;
00373 #ifndef TOLUA_RELEASE
00374 tolua_lerror:
00375 tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
00376 return 0;
00377 #endif
00378 }
00379 #endif //#ifndef TOLUA_DISABLE
00380
00381
00382 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_y00
00383 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_y00(lua_State* tolua_S)
00384 {
00385 #ifndef TOLUA_RELEASE
00386 tolua_Error tolua_err;
00387 if (
00388 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00389 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00390 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00391 !tolua_isnoobj(tolua_S,4,&tolua_err)
00392 )
00393 goto tolua_lerror;
00394 else
00395 #endif
00396 {
00397 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00398 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
00399 const float new_y = ((const float) tolua_tonumber(tolua_S,3,0));
00400 #ifndef TOLUA_RELEASE
00401 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
00402 #endif
00403 {
00404 self->set_y(index,new_y);
00405 }
00406 }
00407 return 0;
00408 #ifndef TOLUA_RELEASE
00409 tolua_lerror:
00410 tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
00411 return 0;
00412 #endif
00413 }
00414 #endif //#ifndef TOLUA_DISABLE
00415
00416
00417 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_y00
00418 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_y00(lua_State* tolua_S)
00419 {
00420 #ifndef TOLUA_RELEASE
00421 tolua_Error tolua_err;
00422 if (
00423 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00424 !tolua_isnoobj(tolua_S,2,&tolua_err)
00425 )
00426 goto tolua_lerror;
00427 else
00428 #endif
00429 {
00430 const fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00431 #ifndef TOLUA_RELEASE
00432 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
00433 #endif
00434 {
00435 int tolua_ret = (int) self->maxlenof_y();
00436 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00437 }
00438 }
00439 return 1;
00440 #ifndef TOLUA_RELEASE
00441 tolua_lerror:
00442 tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
00443 return 0;
00444 #endif
00445 }
00446 #endif //#ifndef TOLUA_DISABLE
00447
00448
00449 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_style00
00450 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_style00(lua_State* tolua_S)
00451 {
00452 #ifndef TOLUA_RELEASE
00453 tolua_Error tolua_err;
00454 if (
00455 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00456 !tolua_isnoobj(tolua_S,2,&tolua_err)
00457 )
00458 goto tolua_lerror;
00459 else
00460 #endif
00461 {
00462 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00463 #ifndef TOLUA_RELEASE
00464 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'style'", NULL);
00465 #endif
00466 {
00467 fawkes::VisualDisplay2DInterface::LineStyle tolua_ret = (fawkes::VisualDisplay2DInterface::LineStyle) self->style();
00468 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00469 }
00470 }
00471 return 1;
00472 #ifndef TOLUA_RELEASE
00473 tolua_lerror:
00474 tolua_error(tolua_S,"#ferror in function 'style'.",&tolua_err);
00475 return 0;
00476 #endif
00477 }
00478 #endif //#ifndef TOLUA_DISABLE
00479
00480
00481 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_style00
00482 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_style00(lua_State* tolua_S)
00483 {
00484 #ifndef TOLUA_RELEASE
00485 tolua_Error tolua_err;
00486 if (
00487 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00488 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00489 !tolua_isnoobj(tolua_S,3,&tolua_err)
00490 )
00491 goto tolua_lerror;
00492 else
00493 #endif
00494 {
00495 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00496 const fawkes::VisualDisplay2DInterface::LineStyle new_style = ((const fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,2,0));
00497 #ifndef TOLUA_RELEASE
00498 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_style'", NULL);
00499 #endif
00500 {
00501 self->set_style(new_style);
00502 }
00503 }
00504 return 0;
00505 #ifndef TOLUA_RELEASE
00506 tolua_lerror:
00507 tolua_error(tolua_S,"#ferror in function 'set_style'.",&tolua_err);
00508 return 0;
00509 #endif
00510 }
00511 #endif //#ifndef TOLUA_DISABLE
00512
00513
00514 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_style00
00515 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_style00(lua_State* tolua_S)
00516 {
00517 #ifndef TOLUA_RELEASE
00518 tolua_Error tolua_err;
00519 if (
00520 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00521 !tolua_isnoobj(tolua_S,2,&tolua_err)
00522 )
00523 goto tolua_lerror;
00524 else
00525 #endif
00526 {
00527 const fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00528 #ifndef TOLUA_RELEASE
00529 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_style'", NULL);
00530 #endif
00531 {
00532 int tolua_ret = (int) self->maxlenof_style();
00533 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00534 }
00535 }
00536 return 1;
00537 #ifndef TOLUA_RELEASE
00538 tolua_lerror:
00539 tolua_error(tolua_S,"#ferror in function 'maxlenof_style'.",&tolua_err);
00540 return 0;
00541 #endif
00542 }
00543 #endif //#ifndef TOLUA_DISABLE
00544
00545
00546 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_color00
00547 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_color00(lua_State* tolua_S)
00548 {
00549 #ifndef TOLUA_RELEASE
00550 tolua_Error tolua_err;
00551 if (
00552 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00553 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00554 !tolua_isnoobj(tolua_S,3,&tolua_err)
00555 )
00556 goto tolua_lerror;
00557 else
00558 #endif
00559 {
00560 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00561 int index = ((int) tolua_tonumber(tolua_S,2,0));
00562 #ifndef TOLUA_RELEASE
00563 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'color'", NULL);
00564 #endif
00565 {
00566 unsigned int tolua_ret = (unsigned int) self->color(index);
00567 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00568 }
00569 }
00570 return 1;
00571 #ifndef TOLUA_RELEASE
00572 tolua_lerror:
00573 tolua_error(tolua_S,"#ferror in function 'color'.",&tolua_err);
00574 return 0;
00575 #endif
00576 }
00577 #endif //#ifndef TOLUA_DISABLE
00578
00579
00580 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_color00
00581 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_color00(lua_State* tolua_S)
00582 {
00583 #ifndef TOLUA_RELEASE
00584 tolua_Error tolua_err;
00585 if (
00586 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00587 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00588 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00589 !tolua_isnoobj(tolua_S,4,&tolua_err)
00590 )
00591 goto tolua_lerror;
00592 else
00593 #endif
00594 {
00595 fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00596 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
00597 unsigned const char new_color = ((unsigned const char) tolua_tonumber(tolua_S,3,0));
00598 #ifndef TOLUA_RELEASE
00599 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_color'", NULL);
00600 #endif
00601 {
00602 self->set_color(index,new_color);
00603 }
00604 }
00605 return 0;
00606 #ifndef TOLUA_RELEASE
00607 tolua_lerror:
00608 tolua_error(tolua_S,"#ferror in function 'set_color'.",&tolua_err);
00609 return 0;
00610 #endif
00611 }
00612 #endif //#ifndef TOLUA_DISABLE
00613
00614
00615 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_color00
00616 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_color00(lua_State* tolua_S)
00617 {
00618 #ifndef TOLUA_RELEASE
00619 tolua_Error tolua_err;
00620 if (
00621 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartLineMessage",0,&tolua_err) ||
00622 !tolua_isnoobj(tolua_S,2,&tolua_err)
00623 )
00624 goto tolua_lerror;
00625 else
00626 #endif
00627 {
00628 const fawkes::VisualDisplay2DInterface::AddCartLineMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartLineMessage*) tolua_tousertype(tolua_S,1,0);
00629 #ifndef TOLUA_RELEASE
00630 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_color'", NULL);
00631 #endif
00632 {
00633 int tolua_ret = (int) self->maxlenof_color();
00634 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00635 }
00636 }
00637 return 1;
00638 #ifndef TOLUA_RELEASE
00639 tolua_lerror:
00640 tolua_error(tolua_S,"#ferror in function 'maxlenof_color'.",&tolua_err);
00641 return 0;
00642 #endif
00643 }
00644 #endif //#ifndef TOLUA_DISABLE
00645
00646
00647 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00
00648 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00(lua_State* tolua_S)
00649 {
00650 #ifndef TOLUA_RELEASE
00651 tolua_Error tolua_err;
00652 if (
00653 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00654 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00655 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00656 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
00657 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
00658 !tolua_isstring(tolua_S,6,0,&tolua_err) ||
00659 !tolua_isnoobj(tolua_S,7,&tolua_err)
00660 )
00661 goto tolua_lerror;
00662 else
00663 #endif
00664 {
00665 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
00666 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
00667 float ini_radius = ((float) tolua_tonumber(tolua_S,4,0));
00668 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,5,0));
00669 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,6,0));
00670 {
00671 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartCircleMessage)(ini_x,ini_y,ini_radius,ini_style,ini_color));
00672 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage");
00673 }
00674 }
00675 return 1;
00676 #ifndef TOLUA_RELEASE
00677 tolua_lerror:
00678 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00679 return 0;
00680 #endif
00681 }
00682 #endif //#ifndef TOLUA_DISABLE
00683
00684
00685 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00_local
00686 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00_local(lua_State* tolua_S)
00687 {
00688 #ifndef TOLUA_RELEASE
00689 tolua_Error tolua_err;
00690 if (
00691 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00692 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00693 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00694 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
00695 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
00696 !tolua_isstring(tolua_S,6,0,&tolua_err) ||
00697 !tolua_isnoobj(tolua_S,7,&tolua_err)
00698 )
00699 goto tolua_lerror;
00700 else
00701 #endif
00702 {
00703 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
00704 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
00705 float ini_radius = ((float) tolua_tonumber(tolua_S,4,0));
00706 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,5,0));
00707 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,6,0));
00708 {
00709 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartCircleMessage)(ini_x,ini_y,ini_radius,ini_style,ini_color));
00710 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage");
00711 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00712 }
00713 }
00714 return 1;
00715 #ifndef TOLUA_RELEASE
00716 tolua_lerror:
00717 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00718 return 0;
00719 #endif
00720 }
00721 #endif //#ifndef TOLUA_DISABLE
00722
00723
00724 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01
00725 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01(lua_State* tolua_S)
00726 {
00727 tolua_Error tolua_err;
00728 if (
00729 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00730 !tolua_isnoobj(tolua_S,2,&tolua_err)
00731 )
00732 goto tolua_lerror;
00733 else
00734 {
00735 {
00736 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartCircleMessage)());
00737 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage");
00738 }
00739 }
00740 return 1;
00741 tolua_lerror:
00742 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00(tolua_S);
00743 }
00744 #endif //#ifndef TOLUA_DISABLE
00745
00746
00747 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01_local
00748 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01_local(lua_State* tolua_S)
00749 {
00750 tolua_Error tolua_err;
00751 if (
00752 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00753 !tolua_isnoobj(tolua_S,2,&tolua_err)
00754 )
00755 goto tolua_lerror;
00756 else
00757 {
00758 {
00759 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartCircleMessage)());
00760 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage");
00761 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00762 }
00763 }
00764 return 1;
00765 tolua_lerror:
00766 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00_local(tolua_S);
00767 }
00768 #endif //#ifndef TOLUA_DISABLE
00769
00770
00771 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_delete00
00772 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_delete00(lua_State* tolua_S)
00773 {
00774 #ifndef TOLUA_RELEASE
00775 tolua_Error tolua_err;
00776 if (
00777 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00778 !tolua_isnoobj(tolua_S,2,&tolua_err)
00779 )
00780 goto tolua_lerror;
00781 else
00782 #endif
00783 {
00784 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00785 #ifndef TOLUA_RELEASE
00786 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00787 #endif
00788 Mtolua_delete(self);
00789 }
00790 return 0;
00791 #ifndef TOLUA_RELEASE
00792 tolua_lerror:
00793 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00794 return 0;
00795 #endif
00796 }
00797 #endif //#ifndef TOLUA_DISABLE
00798
00799
00800 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_x00
00801 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_x00(lua_State* tolua_S)
00802 {
00803 #ifndef TOLUA_RELEASE
00804 tolua_Error tolua_err;
00805 if (
00806 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00807 !tolua_isnoobj(tolua_S,2,&tolua_err)
00808 )
00809 goto tolua_lerror;
00810 else
00811 #endif
00812 {
00813 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00814 #ifndef TOLUA_RELEASE
00815 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
00816 #endif
00817 {
00818 float tolua_ret = (float) self->x();
00819 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00820 }
00821 }
00822 return 1;
00823 #ifndef TOLUA_RELEASE
00824 tolua_lerror:
00825 tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
00826 return 0;
00827 #endif
00828 }
00829 #endif //#ifndef TOLUA_DISABLE
00830
00831
00832 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_x00
00833 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_x00(lua_State* tolua_S)
00834 {
00835 #ifndef TOLUA_RELEASE
00836 tolua_Error tolua_err;
00837 if (
00838 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00839 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00840 !tolua_isnoobj(tolua_S,3,&tolua_err)
00841 )
00842 goto tolua_lerror;
00843 else
00844 #endif
00845 {
00846 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00847 const float new_x = ((const float) tolua_tonumber(tolua_S,2,0));
00848 #ifndef TOLUA_RELEASE
00849 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
00850 #endif
00851 {
00852 self->set_x(new_x);
00853 }
00854 }
00855 return 0;
00856 #ifndef TOLUA_RELEASE
00857 tolua_lerror:
00858 tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
00859 return 0;
00860 #endif
00861 }
00862 #endif //#ifndef TOLUA_DISABLE
00863
00864
00865 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_x00
00866 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_x00(lua_State* tolua_S)
00867 {
00868 #ifndef TOLUA_RELEASE
00869 tolua_Error tolua_err;
00870 if (
00871 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00872 !tolua_isnoobj(tolua_S,2,&tolua_err)
00873 )
00874 goto tolua_lerror;
00875 else
00876 #endif
00877 {
00878 const fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00879 #ifndef TOLUA_RELEASE
00880 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
00881 #endif
00882 {
00883 int tolua_ret = (int) self->maxlenof_x();
00884 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00885 }
00886 }
00887 return 1;
00888 #ifndef TOLUA_RELEASE
00889 tolua_lerror:
00890 tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
00891 return 0;
00892 #endif
00893 }
00894 #endif //#ifndef TOLUA_DISABLE
00895
00896
00897 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_y00
00898 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_y00(lua_State* tolua_S)
00899 {
00900 #ifndef TOLUA_RELEASE
00901 tolua_Error tolua_err;
00902 if (
00903 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00904 !tolua_isnoobj(tolua_S,2,&tolua_err)
00905 )
00906 goto tolua_lerror;
00907 else
00908 #endif
00909 {
00910 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00911 #ifndef TOLUA_RELEASE
00912 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
00913 #endif
00914 {
00915 float tolua_ret = (float) self->y();
00916 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00917 }
00918 }
00919 return 1;
00920 #ifndef TOLUA_RELEASE
00921 tolua_lerror:
00922 tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
00923 return 0;
00924 #endif
00925 }
00926 #endif //#ifndef TOLUA_DISABLE
00927
00928
00929 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_y00
00930 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_y00(lua_State* tolua_S)
00931 {
00932 #ifndef TOLUA_RELEASE
00933 tolua_Error tolua_err;
00934 if (
00935 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00936 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00937 !tolua_isnoobj(tolua_S,3,&tolua_err)
00938 )
00939 goto tolua_lerror;
00940 else
00941 #endif
00942 {
00943 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00944 const float new_y = ((const float) tolua_tonumber(tolua_S,2,0));
00945 #ifndef TOLUA_RELEASE
00946 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
00947 #endif
00948 {
00949 self->set_y(new_y);
00950 }
00951 }
00952 return 0;
00953 #ifndef TOLUA_RELEASE
00954 tolua_lerror:
00955 tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
00956 return 0;
00957 #endif
00958 }
00959 #endif //#ifndef TOLUA_DISABLE
00960
00961
00962 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_y00
00963 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_y00(lua_State* tolua_S)
00964 {
00965 #ifndef TOLUA_RELEASE
00966 tolua_Error tolua_err;
00967 if (
00968 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
00969 !tolua_isnoobj(tolua_S,2,&tolua_err)
00970 )
00971 goto tolua_lerror;
00972 else
00973 #endif
00974 {
00975 const fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
00976 #ifndef TOLUA_RELEASE
00977 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
00978 #endif
00979 {
00980 int tolua_ret = (int) self->maxlenof_y();
00981 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00982 }
00983 }
00984 return 1;
00985 #ifndef TOLUA_RELEASE
00986 tolua_lerror:
00987 tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
00988 return 0;
00989 #endif
00990 }
00991 #endif //#ifndef TOLUA_DISABLE
00992
00993
00994 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_radius00
00995 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_radius00(lua_State* tolua_S)
00996 {
00997 #ifndef TOLUA_RELEASE
00998 tolua_Error tolua_err;
00999 if (
01000 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01001 !tolua_isnoobj(tolua_S,2,&tolua_err)
01002 )
01003 goto tolua_lerror;
01004 else
01005 #endif
01006 {
01007 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01008 #ifndef TOLUA_RELEASE
01009 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'radius'", NULL);
01010 #endif
01011 {
01012 float tolua_ret = (float) self->radius();
01013 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01014 }
01015 }
01016 return 1;
01017 #ifndef TOLUA_RELEASE
01018 tolua_lerror:
01019 tolua_error(tolua_S,"#ferror in function 'radius'.",&tolua_err);
01020 return 0;
01021 #endif
01022 }
01023 #endif //#ifndef TOLUA_DISABLE
01024
01025
01026 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_radius00
01027 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_radius00(lua_State* tolua_S)
01028 {
01029 #ifndef TOLUA_RELEASE
01030 tolua_Error tolua_err;
01031 if (
01032 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01033 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01034 !tolua_isnoobj(tolua_S,3,&tolua_err)
01035 )
01036 goto tolua_lerror;
01037 else
01038 #endif
01039 {
01040 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01041 const float new_radius = ((const float) tolua_tonumber(tolua_S,2,0));
01042 #ifndef TOLUA_RELEASE
01043 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_radius'", NULL);
01044 #endif
01045 {
01046 self->set_radius(new_radius);
01047 }
01048 }
01049 return 0;
01050 #ifndef TOLUA_RELEASE
01051 tolua_lerror:
01052 tolua_error(tolua_S,"#ferror in function 'set_radius'.",&tolua_err);
01053 return 0;
01054 #endif
01055 }
01056 #endif //#ifndef TOLUA_DISABLE
01057
01058
01059 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_radius00
01060 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_radius00(lua_State* tolua_S)
01061 {
01062 #ifndef TOLUA_RELEASE
01063 tolua_Error tolua_err;
01064 if (
01065 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01066 !tolua_isnoobj(tolua_S,2,&tolua_err)
01067 )
01068 goto tolua_lerror;
01069 else
01070 #endif
01071 {
01072 const fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01073 #ifndef TOLUA_RELEASE
01074 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_radius'", NULL);
01075 #endif
01076 {
01077 int tolua_ret = (int) self->maxlenof_radius();
01078 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01079 }
01080 }
01081 return 1;
01082 #ifndef TOLUA_RELEASE
01083 tolua_lerror:
01084 tolua_error(tolua_S,"#ferror in function 'maxlenof_radius'.",&tolua_err);
01085 return 0;
01086 #endif
01087 }
01088 #endif //#ifndef TOLUA_DISABLE
01089
01090
01091 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_style00
01092 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_style00(lua_State* tolua_S)
01093 {
01094 #ifndef TOLUA_RELEASE
01095 tolua_Error tolua_err;
01096 if (
01097 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01098 !tolua_isnoobj(tolua_S,2,&tolua_err)
01099 )
01100 goto tolua_lerror;
01101 else
01102 #endif
01103 {
01104 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01105 #ifndef TOLUA_RELEASE
01106 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'style'", NULL);
01107 #endif
01108 {
01109 fawkes::VisualDisplay2DInterface::LineStyle tolua_ret = (fawkes::VisualDisplay2DInterface::LineStyle) self->style();
01110 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01111 }
01112 }
01113 return 1;
01114 #ifndef TOLUA_RELEASE
01115 tolua_lerror:
01116 tolua_error(tolua_S,"#ferror in function 'style'.",&tolua_err);
01117 return 0;
01118 #endif
01119 }
01120 #endif //#ifndef TOLUA_DISABLE
01121
01122
01123 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_style00
01124 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_style00(lua_State* tolua_S)
01125 {
01126 #ifndef TOLUA_RELEASE
01127 tolua_Error tolua_err;
01128 if (
01129 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01130 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01131 !tolua_isnoobj(tolua_S,3,&tolua_err)
01132 )
01133 goto tolua_lerror;
01134 else
01135 #endif
01136 {
01137 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01138 const fawkes::VisualDisplay2DInterface::LineStyle new_style = ((const fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,2,0));
01139 #ifndef TOLUA_RELEASE
01140 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_style'", NULL);
01141 #endif
01142 {
01143 self->set_style(new_style);
01144 }
01145 }
01146 return 0;
01147 #ifndef TOLUA_RELEASE
01148 tolua_lerror:
01149 tolua_error(tolua_S,"#ferror in function 'set_style'.",&tolua_err);
01150 return 0;
01151 #endif
01152 }
01153 #endif //#ifndef TOLUA_DISABLE
01154
01155
01156 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_style00
01157 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_style00(lua_State* tolua_S)
01158 {
01159 #ifndef TOLUA_RELEASE
01160 tolua_Error tolua_err;
01161 if (
01162 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01163 !tolua_isnoobj(tolua_S,2,&tolua_err)
01164 )
01165 goto tolua_lerror;
01166 else
01167 #endif
01168 {
01169 const fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01170 #ifndef TOLUA_RELEASE
01171 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_style'", NULL);
01172 #endif
01173 {
01174 int tolua_ret = (int) self->maxlenof_style();
01175 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01176 }
01177 }
01178 return 1;
01179 #ifndef TOLUA_RELEASE
01180 tolua_lerror:
01181 tolua_error(tolua_S,"#ferror in function 'maxlenof_style'.",&tolua_err);
01182 return 0;
01183 #endif
01184 }
01185 #endif //#ifndef TOLUA_DISABLE
01186
01187
01188 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_color00
01189 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_color00(lua_State* tolua_S)
01190 {
01191 #ifndef TOLUA_RELEASE
01192 tolua_Error tolua_err;
01193 if (
01194 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01195 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01196 !tolua_isnoobj(tolua_S,3,&tolua_err)
01197 )
01198 goto tolua_lerror;
01199 else
01200 #endif
01201 {
01202 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01203 int index = ((int) tolua_tonumber(tolua_S,2,0));
01204 #ifndef TOLUA_RELEASE
01205 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'color'", NULL);
01206 #endif
01207 {
01208 unsigned int tolua_ret = (unsigned int) self->color(index);
01209 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01210 }
01211 }
01212 return 1;
01213 #ifndef TOLUA_RELEASE
01214 tolua_lerror:
01215 tolua_error(tolua_S,"#ferror in function 'color'.",&tolua_err);
01216 return 0;
01217 #endif
01218 }
01219 #endif //#ifndef TOLUA_DISABLE
01220
01221
01222 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_color00
01223 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_color00(lua_State* tolua_S)
01224 {
01225 #ifndef TOLUA_RELEASE
01226 tolua_Error tolua_err;
01227 if (
01228 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01229 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01230 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01231 !tolua_isnoobj(tolua_S,4,&tolua_err)
01232 )
01233 goto tolua_lerror;
01234 else
01235 #endif
01236 {
01237 fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01238 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
01239 unsigned const char new_color = ((unsigned const char) tolua_tonumber(tolua_S,3,0));
01240 #ifndef TOLUA_RELEASE
01241 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_color'", NULL);
01242 #endif
01243 {
01244 self->set_color(index,new_color);
01245 }
01246 }
01247 return 0;
01248 #ifndef TOLUA_RELEASE
01249 tolua_lerror:
01250 tolua_error(tolua_S,"#ferror in function 'set_color'.",&tolua_err);
01251 return 0;
01252 #endif
01253 }
01254 #endif //#ifndef TOLUA_DISABLE
01255
01256
01257 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_color00
01258 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_color00(lua_State* tolua_S)
01259 {
01260 #ifndef TOLUA_RELEASE
01261 tolua_Error tolua_err;
01262 if (
01263 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartCircleMessage",0,&tolua_err) ||
01264 !tolua_isnoobj(tolua_S,2,&tolua_err)
01265 )
01266 goto tolua_lerror;
01267 else
01268 #endif
01269 {
01270 const fawkes::VisualDisplay2DInterface::AddCartCircleMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartCircleMessage*) tolua_tousertype(tolua_S,1,0);
01271 #ifndef TOLUA_RELEASE
01272 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_color'", NULL);
01273 #endif
01274 {
01275 int tolua_ret = (int) self->maxlenof_color();
01276 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01277 }
01278 }
01279 return 1;
01280 #ifndef TOLUA_RELEASE
01281 tolua_lerror:
01282 tolua_error(tolua_S,"#ferror in function 'maxlenof_color'.",&tolua_err);
01283 return 0;
01284 #endif
01285 }
01286 #endif //#ifndef TOLUA_DISABLE
01287
01288
01289 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00
01290 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00(lua_State* tolua_S)
01291 {
01292 #ifndef TOLUA_RELEASE
01293 tolua_Error tolua_err;
01294 if (
01295 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01296 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01297 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01298 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
01299 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
01300 !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
01301 !tolua_isstring(tolua_S,7,0,&tolua_err) ||
01302 !tolua_isnoobj(tolua_S,8,&tolua_err)
01303 )
01304 goto tolua_lerror;
01305 else
01306 #endif
01307 {
01308 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
01309 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
01310 float ini_width = ((float) tolua_tonumber(tolua_S,4,0));
01311 float ini_height = ((float) tolua_tonumber(tolua_S,5,0));
01312 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,6,0));
01313 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,7,0));
01314 {
01315 fawkes::VisualDisplay2DInterface::AddCartRectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartRectMessage)(ini_x,ini_y,ini_width,ini_height,ini_style,ini_color));
01316 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartRectMessage");
01317 }
01318 }
01319 return 1;
01320 #ifndef TOLUA_RELEASE
01321 tolua_lerror:
01322 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
01323 return 0;
01324 #endif
01325 }
01326 #endif //#ifndef TOLUA_DISABLE
01327
01328
01329 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00_local
01330 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00_local(lua_State* tolua_S)
01331 {
01332 #ifndef TOLUA_RELEASE
01333 tolua_Error tolua_err;
01334 if (
01335 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01336 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01337 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01338 !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
01339 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
01340 !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
01341 !tolua_isstring(tolua_S,7,0,&tolua_err) ||
01342 !tolua_isnoobj(tolua_S,8,&tolua_err)
01343 )
01344 goto tolua_lerror;
01345 else
01346 #endif
01347 {
01348 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
01349 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
01350 float ini_width = ((float) tolua_tonumber(tolua_S,4,0));
01351 float ini_height = ((float) tolua_tonumber(tolua_S,5,0));
01352 fawkes::VisualDisplay2DInterface::LineStyle ini_style = ((fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,6,0));
01353 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,7,0));
01354 {
01355 fawkes::VisualDisplay2DInterface::AddCartRectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartRectMessage)(ini_x,ini_y,ini_width,ini_height,ini_style,ini_color));
01356 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartRectMessage");
01357 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
01358 }
01359 }
01360 return 1;
01361 #ifndef TOLUA_RELEASE
01362 tolua_lerror:
01363 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
01364 return 0;
01365 #endif
01366 }
01367 #endif //#ifndef TOLUA_DISABLE
01368
01369
01370 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01
01371 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01(lua_State* tolua_S)
01372 {
01373 tolua_Error tolua_err;
01374 if (
01375 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01376 !tolua_isnoobj(tolua_S,2,&tolua_err)
01377 )
01378 goto tolua_lerror;
01379 else
01380 {
01381 {
01382 fawkes::VisualDisplay2DInterface::AddCartRectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartRectMessage)());
01383 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartRectMessage");
01384 }
01385 }
01386 return 1;
01387 tolua_lerror:
01388 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00(tolua_S);
01389 }
01390 #endif //#ifndef TOLUA_DISABLE
01391
01392
01393 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01_local
01394 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01_local(lua_State* tolua_S)
01395 {
01396 tolua_Error tolua_err;
01397 if (
01398 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01399 !tolua_isnoobj(tolua_S,2,&tolua_err)
01400 )
01401 goto tolua_lerror;
01402 else
01403 {
01404 {
01405 fawkes::VisualDisplay2DInterface::AddCartRectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartRectMessage)());
01406 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartRectMessage");
01407 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
01408 }
01409 }
01410 return 1;
01411 tolua_lerror:
01412 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00_local(tolua_S);
01413 }
01414 #endif //#ifndef TOLUA_DISABLE
01415
01416
01417 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_delete00
01418 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_delete00(lua_State* tolua_S)
01419 {
01420 #ifndef TOLUA_RELEASE
01421 tolua_Error tolua_err;
01422 if (
01423 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01424 !tolua_isnoobj(tolua_S,2,&tolua_err)
01425 )
01426 goto tolua_lerror;
01427 else
01428 #endif
01429 {
01430 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01431 #ifndef TOLUA_RELEASE
01432 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
01433 #endif
01434 Mtolua_delete(self);
01435 }
01436 return 0;
01437 #ifndef TOLUA_RELEASE
01438 tolua_lerror:
01439 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
01440 return 0;
01441 #endif
01442 }
01443 #endif //#ifndef TOLUA_DISABLE
01444
01445
01446 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_x00
01447 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_x00(lua_State* tolua_S)
01448 {
01449 #ifndef TOLUA_RELEASE
01450 tolua_Error tolua_err;
01451 if (
01452 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01453 !tolua_isnoobj(tolua_S,2,&tolua_err)
01454 )
01455 goto tolua_lerror;
01456 else
01457 #endif
01458 {
01459 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01460 #ifndef TOLUA_RELEASE
01461 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
01462 #endif
01463 {
01464 float tolua_ret = (float) self->x();
01465 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01466 }
01467 }
01468 return 1;
01469 #ifndef TOLUA_RELEASE
01470 tolua_lerror:
01471 tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
01472 return 0;
01473 #endif
01474 }
01475 #endif //#ifndef TOLUA_DISABLE
01476
01477
01478 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_x00
01479 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_x00(lua_State* tolua_S)
01480 {
01481 #ifndef TOLUA_RELEASE
01482 tolua_Error tolua_err;
01483 if (
01484 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01485 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01486 !tolua_isnoobj(tolua_S,3,&tolua_err)
01487 )
01488 goto tolua_lerror;
01489 else
01490 #endif
01491 {
01492 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01493 const float new_x = ((const float) tolua_tonumber(tolua_S,2,0));
01494 #ifndef TOLUA_RELEASE
01495 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
01496 #endif
01497 {
01498 self->set_x(new_x);
01499 }
01500 }
01501 return 0;
01502 #ifndef TOLUA_RELEASE
01503 tolua_lerror:
01504 tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
01505 return 0;
01506 #endif
01507 }
01508 #endif //#ifndef TOLUA_DISABLE
01509
01510
01511 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_x00
01512 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_x00(lua_State* tolua_S)
01513 {
01514 #ifndef TOLUA_RELEASE
01515 tolua_Error tolua_err;
01516 if (
01517 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01518 !tolua_isnoobj(tolua_S,2,&tolua_err)
01519 )
01520 goto tolua_lerror;
01521 else
01522 #endif
01523 {
01524 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01525 #ifndef TOLUA_RELEASE
01526 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
01527 #endif
01528 {
01529 int tolua_ret = (int) self->maxlenof_x();
01530 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01531 }
01532 }
01533 return 1;
01534 #ifndef TOLUA_RELEASE
01535 tolua_lerror:
01536 tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
01537 return 0;
01538 #endif
01539 }
01540 #endif //#ifndef TOLUA_DISABLE
01541
01542
01543 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_y00
01544 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_y00(lua_State* tolua_S)
01545 {
01546 #ifndef TOLUA_RELEASE
01547 tolua_Error tolua_err;
01548 if (
01549 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01550 !tolua_isnoobj(tolua_S,2,&tolua_err)
01551 )
01552 goto tolua_lerror;
01553 else
01554 #endif
01555 {
01556 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01557 #ifndef TOLUA_RELEASE
01558 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
01559 #endif
01560 {
01561 float tolua_ret = (float) self->y();
01562 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01563 }
01564 }
01565 return 1;
01566 #ifndef TOLUA_RELEASE
01567 tolua_lerror:
01568 tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
01569 return 0;
01570 #endif
01571 }
01572 #endif //#ifndef TOLUA_DISABLE
01573
01574
01575 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_y00
01576 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_y00(lua_State* tolua_S)
01577 {
01578 #ifndef TOLUA_RELEASE
01579 tolua_Error tolua_err;
01580 if (
01581 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01582 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01583 !tolua_isnoobj(tolua_S,3,&tolua_err)
01584 )
01585 goto tolua_lerror;
01586 else
01587 #endif
01588 {
01589 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01590 const float new_y = ((const float) tolua_tonumber(tolua_S,2,0));
01591 #ifndef TOLUA_RELEASE
01592 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
01593 #endif
01594 {
01595 self->set_y(new_y);
01596 }
01597 }
01598 return 0;
01599 #ifndef TOLUA_RELEASE
01600 tolua_lerror:
01601 tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
01602 return 0;
01603 #endif
01604 }
01605 #endif //#ifndef TOLUA_DISABLE
01606
01607
01608 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_y00
01609 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_y00(lua_State* tolua_S)
01610 {
01611 #ifndef TOLUA_RELEASE
01612 tolua_Error tolua_err;
01613 if (
01614 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01615 !tolua_isnoobj(tolua_S,2,&tolua_err)
01616 )
01617 goto tolua_lerror;
01618 else
01619 #endif
01620 {
01621 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01622 #ifndef TOLUA_RELEASE
01623 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
01624 #endif
01625 {
01626 int tolua_ret = (int) self->maxlenof_y();
01627 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01628 }
01629 }
01630 return 1;
01631 #ifndef TOLUA_RELEASE
01632 tolua_lerror:
01633 tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
01634 return 0;
01635 #endif
01636 }
01637 #endif //#ifndef TOLUA_DISABLE
01638
01639
01640 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_width00
01641 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_width00(lua_State* tolua_S)
01642 {
01643 #ifndef TOLUA_RELEASE
01644 tolua_Error tolua_err;
01645 if (
01646 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01647 !tolua_isnoobj(tolua_S,2,&tolua_err)
01648 )
01649 goto tolua_lerror;
01650 else
01651 #endif
01652 {
01653 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01654 #ifndef TOLUA_RELEASE
01655 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'width'", NULL);
01656 #endif
01657 {
01658 float tolua_ret = (float) self->width();
01659 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01660 }
01661 }
01662 return 1;
01663 #ifndef TOLUA_RELEASE
01664 tolua_lerror:
01665 tolua_error(tolua_S,"#ferror in function 'width'.",&tolua_err);
01666 return 0;
01667 #endif
01668 }
01669 #endif //#ifndef TOLUA_DISABLE
01670
01671
01672 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_width00
01673 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_width00(lua_State* tolua_S)
01674 {
01675 #ifndef TOLUA_RELEASE
01676 tolua_Error tolua_err;
01677 if (
01678 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01679 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01680 !tolua_isnoobj(tolua_S,3,&tolua_err)
01681 )
01682 goto tolua_lerror;
01683 else
01684 #endif
01685 {
01686 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01687 const float new_width = ((const float) tolua_tonumber(tolua_S,2,0));
01688 #ifndef TOLUA_RELEASE
01689 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_width'", NULL);
01690 #endif
01691 {
01692 self->set_width(new_width);
01693 }
01694 }
01695 return 0;
01696 #ifndef TOLUA_RELEASE
01697 tolua_lerror:
01698 tolua_error(tolua_S,"#ferror in function 'set_width'.",&tolua_err);
01699 return 0;
01700 #endif
01701 }
01702 #endif //#ifndef TOLUA_DISABLE
01703
01704
01705 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_width00
01706 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_width00(lua_State* tolua_S)
01707 {
01708 #ifndef TOLUA_RELEASE
01709 tolua_Error tolua_err;
01710 if (
01711 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01712 !tolua_isnoobj(tolua_S,2,&tolua_err)
01713 )
01714 goto tolua_lerror;
01715 else
01716 #endif
01717 {
01718 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01719 #ifndef TOLUA_RELEASE
01720 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_width'", NULL);
01721 #endif
01722 {
01723 int tolua_ret = (int) self->maxlenof_width();
01724 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01725 }
01726 }
01727 return 1;
01728 #ifndef TOLUA_RELEASE
01729 tolua_lerror:
01730 tolua_error(tolua_S,"#ferror in function 'maxlenof_width'.",&tolua_err);
01731 return 0;
01732 #endif
01733 }
01734 #endif //#ifndef TOLUA_DISABLE
01735
01736
01737 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_height00
01738 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_height00(lua_State* tolua_S)
01739 {
01740 #ifndef TOLUA_RELEASE
01741 tolua_Error tolua_err;
01742 if (
01743 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01744 !tolua_isnoobj(tolua_S,2,&tolua_err)
01745 )
01746 goto tolua_lerror;
01747 else
01748 #endif
01749 {
01750 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01751 #ifndef TOLUA_RELEASE
01752 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'height'", NULL);
01753 #endif
01754 {
01755 float tolua_ret = (float) self->height();
01756 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01757 }
01758 }
01759 return 1;
01760 #ifndef TOLUA_RELEASE
01761 tolua_lerror:
01762 tolua_error(tolua_S,"#ferror in function 'height'.",&tolua_err);
01763 return 0;
01764 #endif
01765 }
01766 #endif //#ifndef TOLUA_DISABLE
01767
01768
01769 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_height00
01770 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_height00(lua_State* tolua_S)
01771 {
01772 #ifndef TOLUA_RELEASE
01773 tolua_Error tolua_err;
01774 if (
01775 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01776 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01777 !tolua_isnoobj(tolua_S,3,&tolua_err)
01778 )
01779 goto tolua_lerror;
01780 else
01781 #endif
01782 {
01783 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01784 const float new_height = ((const float) tolua_tonumber(tolua_S,2,0));
01785 #ifndef TOLUA_RELEASE
01786 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_height'", NULL);
01787 #endif
01788 {
01789 self->set_height(new_height);
01790 }
01791 }
01792 return 0;
01793 #ifndef TOLUA_RELEASE
01794 tolua_lerror:
01795 tolua_error(tolua_S,"#ferror in function 'set_height'.",&tolua_err);
01796 return 0;
01797 #endif
01798 }
01799 #endif //#ifndef TOLUA_DISABLE
01800
01801
01802 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_height00
01803 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_height00(lua_State* tolua_S)
01804 {
01805 #ifndef TOLUA_RELEASE
01806 tolua_Error tolua_err;
01807 if (
01808 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01809 !tolua_isnoobj(tolua_S,2,&tolua_err)
01810 )
01811 goto tolua_lerror;
01812 else
01813 #endif
01814 {
01815 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01816 #ifndef TOLUA_RELEASE
01817 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_height'", NULL);
01818 #endif
01819 {
01820 int tolua_ret = (int) self->maxlenof_height();
01821 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01822 }
01823 }
01824 return 1;
01825 #ifndef TOLUA_RELEASE
01826 tolua_lerror:
01827 tolua_error(tolua_S,"#ferror in function 'maxlenof_height'.",&tolua_err);
01828 return 0;
01829 #endif
01830 }
01831 #endif //#ifndef TOLUA_DISABLE
01832
01833
01834 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_style00
01835 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_style00(lua_State* tolua_S)
01836 {
01837 #ifndef TOLUA_RELEASE
01838 tolua_Error tolua_err;
01839 if (
01840 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01841 !tolua_isnoobj(tolua_S,2,&tolua_err)
01842 )
01843 goto tolua_lerror;
01844 else
01845 #endif
01846 {
01847 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01848 #ifndef TOLUA_RELEASE
01849 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'style'", NULL);
01850 #endif
01851 {
01852 fawkes::VisualDisplay2DInterface::LineStyle tolua_ret = (fawkes::VisualDisplay2DInterface::LineStyle) self->style();
01853 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01854 }
01855 }
01856 return 1;
01857 #ifndef TOLUA_RELEASE
01858 tolua_lerror:
01859 tolua_error(tolua_S,"#ferror in function 'style'.",&tolua_err);
01860 return 0;
01861 #endif
01862 }
01863 #endif //#ifndef TOLUA_DISABLE
01864
01865
01866 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_style00
01867 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_style00(lua_State* tolua_S)
01868 {
01869 #ifndef TOLUA_RELEASE
01870 tolua_Error tolua_err;
01871 if (
01872 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01873 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01874 !tolua_isnoobj(tolua_S,3,&tolua_err)
01875 )
01876 goto tolua_lerror;
01877 else
01878 #endif
01879 {
01880 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01881 const fawkes::VisualDisplay2DInterface::LineStyle new_style = ((const fawkes::VisualDisplay2DInterface::LineStyle) (int) tolua_tonumber(tolua_S,2,0));
01882 #ifndef TOLUA_RELEASE
01883 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_style'", NULL);
01884 #endif
01885 {
01886 self->set_style(new_style);
01887 }
01888 }
01889 return 0;
01890 #ifndef TOLUA_RELEASE
01891 tolua_lerror:
01892 tolua_error(tolua_S,"#ferror in function 'set_style'.",&tolua_err);
01893 return 0;
01894 #endif
01895 }
01896 #endif //#ifndef TOLUA_DISABLE
01897
01898
01899 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_style00
01900 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_style00(lua_State* tolua_S)
01901 {
01902 #ifndef TOLUA_RELEASE
01903 tolua_Error tolua_err;
01904 if (
01905 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01906 !tolua_isnoobj(tolua_S,2,&tolua_err)
01907 )
01908 goto tolua_lerror;
01909 else
01910 #endif
01911 {
01912 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01913 #ifndef TOLUA_RELEASE
01914 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_style'", NULL);
01915 #endif
01916 {
01917 int tolua_ret = (int) self->maxlenof_style();
01918 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01919 }
01920 }
01921 return 1;
01922 #ifndef TOLUA_RELEASE
01923 tolua_lerror:
01924 tolua_error(tolua_S,"#ferror in function 'maxlenof_style'.",&tolua_err);
01925 return 0;
01926 #endif
01927 }
01928 #endif //#ifndef TOLUA_DISABLE
01929
01930
01931 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_color00
01932 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_color00(lua_State* tolua_S)
01933 {
01934 #ifndef TOLUA_RELEASE
01935 tolua_Error tolua_err;
01936 if (
01937 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01938 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01939 !tolua_isnoobj(tolua_S,3,&tolua_err)
01940 )
01941 goto tolua_lerror;
01942 else
01943 #endif
01944 {
01945 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01946 int index = ((int) tolua_tonumber(tolua_S,2,0));
01947 #ifndef TOLUA_RELEASE
01948 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'color'", NULL);
01949 #endif
01950 {
01951 unsigned int tolua_ret = (unsigned int) self->color(index);
01952 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01953 }
01954 }
01955 return 1;
01956 #ifndef TOLUA_RELEASE
01957 tolua_lerror:
01958 tolua_error(tolua_S,"#ferror in function 'color'.",&tolua_err);
01959 return 0;
01960 #endif
01961 }
01962 #endif //#ifndef TOLUA_DISABLE
01963
01964
01965 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_color00
01966 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_color00(lua_State* tolua_S)
01967 {
01968 #ifndef TOLUA_RELEASE
01969 tolua_Error tolua_err;
01970 if (
01971 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
01972 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01973 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01974 !tolua_isnoobj(tolua_S,4,&tolua_err)
01975 )
01976 goto tolua_lerror;
01977 else
01978 #endif
01979 {
01980 fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
01981 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
01982 unsigned const char new_color = ((unsigned const char) tolua_tonumber(tolua_S,3,0));
01983 #ifndef TOLUA_RELEASE
01984 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_color'", NULL);
01985 #endif
01986 {
01987 self->set_color(index,new_color);
01988 }
01989 }
01990 return 0;
01991 #ifndef TOLUA_RELEASE
01992 tolua_lerror:
01993 tolua_error(tolua_S,"#ferror in function 'set_color'.",&tolua_err);
01994 return 0;
01995 #endif
01996 }
01997 #endif //#ifndef TOLUA_DISABLE
01998
01999
02000 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_color00
02001 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_color00(lua_State* tolua_S)
02002 {
02003 #ifndef TOLUA_RELEASE
02004 tolua_Error tolua_err;
02005 if (
02006 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartRectMessage",0,&tolua_err) ||
02007 !tolua_isnoobj(tolua_S,2,&tolua_err)
02008 )
02009 goto tolua_lerror;
02010 else
02011 #endif
02012 {
02013 const fawkes::VisualDisplay2DInterface::AddCartRectMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartRectMessage*) tolua_tousertype(tolua_S,1,0);
02014 #ifndef TOLUA_RELEASE
02015 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_color'", NULL);
02016 #endif
02017 {
02018 int tolua_ret = (int) self->maxlenof_color();
02019 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02020 }
02021 }
02022 return 1;
02023 #ifndef TOLUA_RELEASE
02024 tolua_lerror:
02025 tolua_error(tolua_S,"#ferror in function 'maxlenof_color'.",&tolua_err);
02026 return 0;
02027 #endif
02028 }
02029 #endif //#ifndef TOLUA_DISABLE
02030
02031
02032 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00
02033 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00(lua_State* tolua_S)
02034 {
02035 #ifndef TOLUA_RELEASE
02036 tolua_Error tolua_err;
02037 if (
02038 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02039 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02040 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
02041 !tolua_isstring(tolua_S,4,0,&tolua_err) ||
02042 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
02043 !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
02044 !tolua_isstring(tolua_S,7,0,&tolua_err) ||
02045 !tolua_isnoobj(tolua_S,8,&tolua_err)
02046 )
02047 goto tolua_lerror;
02048 else
02049 #endif
02050 {
02051 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
02052 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
02053 char* ini_text = ((char*) tolua_tostring(tolua_S,4,0));
02054 fawkes::VisualDisplay2DInterface::Anchor ini_anchor = ((fawkes::VisualDisplay2DInterface::Anchor) (int) tolua_tonumber(tolua_S,5,0));
02055 float ini_size = ((float) tolua_tonumber(tolua_S,6,0));
02056 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,7,0));
02057 {
02058 fawkes::VisualDisplay2DInterface::AddCartTextMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartTextMessage)(ini_x,ini_y,ini_text,ini_anchor,ini_size,ini_color));
02059 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartTextMessage");
02060 }
02061 }
02062 return 1;
02063 #ifndef TOLUA_RELEASE
02064 tolua_lerror:
02065 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02066 return 0;
02067 #endif
02068 }
02069 #endif //#ifndef TOLUA_DISABLE
02070
02071
02072 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00_local
02073 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00_local(lua_State* tolua_S)
02074 {
02075 #ifndef TOLUA_RELEASE
02076 tolua_Error tolua_err;
02077 if (
02078 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02079 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02080 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
02081 !tolua_isstring(tolua_S,4,0,&tolua_err) ||
02082 !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
02083 !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
02084 !tolua_isstring(tolua_S,7,0,&tolua_err) ||
02085 !tolua_isnoobj(tolua_S,8,&tolua_err)
02086 )
02087 goto tolua_lerror;
02088 else
02089 #endif
02090 {
02091 float ini_x = ((float) tolua_tonumber(tolua_S,2,0));
02092 float ini_y = ((float) tolua_tonumber(tolua_S,3,0));
02093 char* ini_text = ((char*) tolua_tostring(tolua_S,4,0));
02094 fawkes::VisualDisplay2DInterface::Anchor ini_anchor = ((fawkes::VisualDisplay2DInterface::Anchor) (int) tolua_tonumber(tolua_S,5,0));
02095 float ini_size = ((float) tolua_tonumber(tolua_S,6,0));
02096 unsigned char* ini_color = ((unsigned char*) tolua_tostring(tolua_S,7,0));
02097 {
02098 fawkes::VisualDisplay2DInterface::AddCartTextMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartTextMessage)(ini_x,ini_y,ini_text,ini_anchor,ini_size,ini_color));
02099 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartTextMessage");
02100 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02101 }
02102 }
02103 return 1;
02104 #ifndef TOLUA_RELEASE
02105 tolua_lerror:
02106 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02107 return 0;
02108 #endif
02109 }
02110 #endif //#ifndef TOLUA_DISABLE
02111
02112
02113 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01
02114 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01(lua_State* tolua_S)
02115 {
02116 tolua_Error tolua_err;
02117 if (
02118 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02119 !tolua_isnoobj(tolua_S,2,&tolua_err)
02120 )
02121 goto tolua_lerror;
02122 else
02123 {
02124 {
02125 fawkes::VisualDisplay2DInterface::AddCartTextMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartTextMessage)());
02126 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartTextMessage");
02127 }
02128 }
02129 return 1;
02130 tolua_lerror:
02131 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00(tolua_S);
02132 }
02133 #endif //#ifndef TOLUA_DISABLE
02134
02135
02136 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01_local
02137 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01_local(lua_State* tolua_S)
02138 {
02139 tolua_Error tolua_err;
02140 if (
02141 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02142 !tolua_isnoobj(tolua_S,2,&tolua_err)
02143 )
02144 goto tolua_lerror;
02145 else
02146 {
02147 {
02148 fawkes::VisualDisplay2DInterface::AddCartTextMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::AddCartTextMessage)());
02149 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::AddCartTextMessage");
02150 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02151 }
02152 }
02153 return 1;
02154 tolua_lerror:
02155 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00_local(tolua_S);
02156 }
02157 #endif //#ifndef TOLUA_DISABLE
02158
02159
02160 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_delete00
02161 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_delete00(lua_State* tolua_S)
02162 {
02163 #ifndef TOLUA_RELEASE
02164 tolua_Error tolua_err;
02165 if (
02166 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02167 !tolua_isnoobj(tolua_S,2,&tolua_err)
02168 )
02169 goto tolua_lerror;
02170 else
02171 #endif
02172 {
02173 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02174 #ifndef TOLUA_RELEASE
02175 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
02176 #endif
02177 Mtolua_delete(self);
02178 }
02179 return 0;
02180 #ifndef TOLUA_RELEASE
02181 tolua_lerror:
02182 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
02183 return 0;
02184 #endif
02185 }
02186 #endif //#ifndef TOLUA_DISABLE
02187
02188
02189 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_x00
02190 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_x00(lua_State* tolua_S)
02191 {
02192 #ifndef TOLUA_RELEASE
02193 tolua_Error tolua_err;
02194 if (
02195 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02196 !tolua_isnoobj(tolua_S,2,&tolua_err)
02197 )
02198 goto tolua_lerror;
02199 else
02200 #endif
02201 {
02202 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02203 #ifndef TOLUA_RELEASE
02204 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
02205 #endif
02206 {
02207 float tolua_ret = (float) self->x();
02208 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02209 }
02210 }
02211 return 1;
02212 #ifndef TOLUA_RELEASE
02213 tolua_lerror:
02214 tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
02215 return 0;
02216 #endif
02217 }
02218 #endif //#ifndef TOLUA_DISABLE
02219
02220
02221 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_x00
02222 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_x00(lua_State* tolua_S)
02223 {
02224 #ifndef TOLUA_RELEASE
02225 tolua_Error tolua_err;
02226 if (
02227 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02228 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02229 !tolua_isnoobj(tolua_S,3,&tolua_err)
02230 )
02231 goto tolua_lerror;
02232 else
02233 #endif
02234 {
02235 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02236 const float new_x = ((const float) tolua_tonumber(tolua_S,2,0));
02237 #ifndef TOLUA_RELEASE
02238 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
02239 #endif
02240 {
02241 self->set_x(new_x);
02242 }
02243 }
02244 return 0;
02245 #ifndef TOLUA_RELEASE
02246 tolua_lerror:
02247 tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
02248 return 0;
02249 #endif
02250 }
02251 #endif //#ifndef TOLUA_DISABLE
02252
02253
02254 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_x00
02255 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_x00(lua_State* tolua_S)
02256 {
02257 #ifndef TOLUA_RELEASE
02258 tolua_Error tolua_err;
02259 if (
02260 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02261 !tolua_isnoobj(tolua_S,2,&tolua_err)
02262 )
02263 goto tolua_lerror;
02264 else
02265 #endif
02266 {
02267 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02268 #ifndef TOLUA_RELEASE
02269 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
02270 #endif
02271 {
02272 int tolua_ret = (int) self->maxlenof_x();
02273 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02274 }
02275 }
02276 return 1;
02277 #ifndef TOLUA_RELEASE
02278 tolua_lerror:
02279 tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
02280 return 0;
02281 #endif
02282 }
02283 #endif //#ifndef TOLUA_DISABLE
02284
02285
02286 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_y00
02287 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_y00(lua_State* tolua_S)
02288 {
02289 #ifndef TOLUA_RELEASE
02290 tolua_Error tolua_err;
02291 if (
02292 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02293 !tolua_isnoobj(tolua_S,2,&tolua_err)
02294 )
02295 goto tolua_lerror;
02296 else
02297 #endif
02298 {
02299 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02300 #ifndef TOLUA_RELEASE
02301 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
02302 #endif
02303 {
02304 float tolua_ret = (float) self->y();
02305 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02306 }
02307 }
02308 return 1;
02309 #ifndef TOLUA_RELEASE
02310 tolua_lerror:
02311 tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
02312 return 0;
02313 #endif
02314 }
02315 #endif //#ifndef TOLUA_DISABLE
02316
02317
02318 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_y00
02319 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_y00(lua_State* tolua_S)
02320 {
02321 #ifndef TOLUA_RELEASE
02322 tolua_Error tolua_err;
02323 if (
02324 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02325 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02326 !tolua_isnoobj(tolua_S,3,&tolua_err)
02327 )
02328 goto tolua_lerror;
02329 else
02330 #endif
02331 {
02332 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02333 const float new_y = ((const float) tolua_tonumber(tolua_S,2,0));
02334 #ifndef TOLUA_RELEASE
02335 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
02336 #endif
02337 {
02338 self->set_y(new_y);
02339 }
02340 }
02341 return 0;
02342 #ifndef TOLUA_RELEASE
02343 tolua_lerror:
02344 tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
02345 return 0;
02346 #endif
02347 }
02348 #endif //#ifndef TOLUA_DISABLE
02349
02350
02351 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_y00
02352 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_y00(lua_State* tolua_S)
02353 {
02354 #ifndef TOLUA_RELEASE
02355 tolua_Error tolua_err;
02356 if (
02357 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02358 !tolua_isnoobj(tolua_S,2,&tolua_err)
02359 )
02360 goto tolua_lerror;
02361 else
02362 #endif
02363 {
02364 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02365 #ifndef TOLUA_RELEASE
02366 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
02367 #endif
02368 {
02369 int tolua_ret = (int) self->maxlenof_y();
02370 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02371 }
02372 }
02373 return 1;
02374 #ifndef TOLUA_RELEASE
02375 tolua_lerror:
02376 tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
02377 return 0;
02378 #endif
02379 }
02380 #endif //#ifndef TOLUA_DISABLE
02381
02382
02383 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_text00
02384 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_text00(lua_State* tolua_S)
02385 {
02386 #ifndef TOLUA_RELEASE
02387 tolua_Error tolua_err;
02388 if (
02389 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02390 !tolua_isnoobj(tolua_S,2,&tolua_err)
02391 )
02392 goto tolua_lerror;
02393 else
02394 #endif
02395 {
02396 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02397 #ifndef TOLUA_RELEASE
02398 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'text'", NULL);
02399 #endif
02400 {
02401 char* tolua_ret = (char*) self->text();
02402 tolua_pushstring(tolua_S,(const char*)tolua_ret);
02403 }
02404 }
02405 return 1;
02406 #ifndef TOLUA_RELEASE
02407 tolua_lerror:
02408 tolua_error(tolua_S,"#ferror in function 'text'.",&tolua_err);
02409 return 0;
02410 #endif
02411 }
02412 #endif //#ifndef TOLUA_DISABLE
02413
02414
02415 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_text00
02416 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_text00(lua_State* tolua_S)
02417 {
02418 #ifndef TOLUA_RELEASE
02419 tolua_Error tolua_err;
02420 if (
02421 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02422 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
02423 !tolua_isnoobj(tolua_S,3,&tolua_err)
02424 )
02425 goto tolua_lerror;
02426 else
02427 #endif
02428 {
02429 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02430 const char* new_text = ((const char*) tolua_tostring(tolua_S,2,0));
02431 #ifndef TOLUA_RELEASE
02432 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_text'", NULL);
02433 #endif
02434 {
02435 self->set_text(new_text);
02436 }
02437 }
02438 return 0;
02439 #ifndef TOLUA_RELEASE
02440 tolua_lerror:
02441 tolua_error(tolua_S,"#ferror in function 'set_text'.",&tolua_err);
02442 return 0;
02443 #endif
02444 }
02445 #endif //#ifndef TOLUA_DISABLE
02446
02447
02448 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_text00
02449 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_text00(lua_State* tolua_S)
02450 {
02451 #ifndef TOLUA_RELEASE
02452 tolua_Error tolua_err;
02453 if (
02454 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02455 !tolua_isnoobj(tolua_S,2,&tolua_err)
02456 )
02457 goto tolua_lerror;
02458 else
02459 #endif
02460 {
02461 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02462 #ifndef TOLUA_RELEASE
02463 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_text'", NULL);
02464 #endif
02465 {
02466 int tolua_ret = (int) self->maxlenof_text();
02467 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02468 }
02469 }
02470 return 1;
02471 #ifndef TOLUA_RELEASE
02472 tolua_lerror:
02473 tolua_error(tolua_S,"#ferror in function 'maxlenof_text'.",&tolua_err);
02474 return 0;
02475 #endif
02476 }
02477 #endif //#ifndef TOLUA_DISABLE
02478
02479
02480 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_anchor00
02481 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_anchor00(lua_State* tolua_S)
02482 {
02483 #ifndef TOLUA_RELEASE
02484 tolua_Error tolua_err;
02485 if (
02486 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02487 !tolua_isnoobj(tolua_S,2,&tolua_err)
02488 )
02489 goto tolua_lerror;
02490 else
02491 #endif
02492 {
02493 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02494 #ifndef TOLUA_RELEASE
02495 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'anchor'", NULL);
02496 #endif
02497 {
02498 fawkes::VisualDisplay2DInterface::Anchor tolua_ret = (fawkes::VisualDisplay2DInterface::Anchor) self->anchor();
02499 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02500 }
02501 }
02502 return 1;
02503 #ifndef TOLUA_RELEASE
02504 tolua_lerror:
02505 tolua_error(tolua_S,"#ferror in function 'anchor'.",&tolua_err);
02506 return 0;
02507 #endif
02508 }
02509 #endif //#ifndef TOLUA_DISABLE
02510
02511
02512 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_anchor00
02513 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_anchor00(lua_State* tolua_S)
02514 {
02515 #ifndef TOLUA_RELEASE
02516 tolua_Error tolua_err;
02517 if (
02518 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02519 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02520 !tolua_isnoobj(tolua_S,3,&tolua_err)
02521 )
02522 goto tolua_lerror;
02523 else
02524 #endif
02525 {
02526 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02527 const fawkes::VisualDisplay2DInterface::Anchor new_anchor = ((const fawkes::VisualDisplay2DInterface::Anchor) (int) tolua_tonumber(tolua_S,2,0));
02528 #ifndef TOLUA_RELEASE
02529 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_anchor'", NULL);
02530 #endif
02531 {
02532 self->set_anchor(new_anchor);
02533 }
02534 }
02535 return 0;
02536 #ifndef TOLUA_RELEASE
02537 tolua_lerror:
02538 tolua_error(tolua_S,"#ferror in function 'set_anchor'.",&tolua_err);
02539 return 0;
02540 #endif
02541 }
02542 #endif //#ifndef TOLUA_DISABLE
02543
02544
02545 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_anchor00
02546 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_anchor00(lua_State* tolua_S)
02547 {
02548 #ifndef TOLUA_RELEASE
02549 tolua_Error tolua_err;
02550 if (
02551 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02552 !tolua_isnoobj(tolua_S,2,&tolua_err)
02553 )
02554 goto tolua_lerror;
02555 else
02556 #endif
02557 {
02558 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02559 #ifndef TOLUA_RELEASE
02560 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_anchor'", NULL);
02561 #endif
02562 {
02563 int tolua_ret = (int) self->maxlenof_anchor();
02564 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02565 }
02566 }
02567 return 1;
02568 #ifndef TOLUA_RELEASE
02569 tolua_lerror:
02570 tolua_error(tolua_S,"#ferror in function 'maxlenof_anchor'.",&tolua_err);
02571 return 0;
02572 #endif
02573 }
02574 #endif //#ifndef TOLUA_DISABLE
02575
02576
02577 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_size00
02578 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_size00(lua_State* tolua_S)
02579 {
02580 #ifndef TOLUA_RELEASE
02581 tolua_Error tolua_err;
02582 if (
02583 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02584 !tolua_isnoobj(tolua_S,2,&tolua_err)
02585 )
02586 goto tolua_lerror;
02587 else
02588 #endif
02589 {
02590 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02591 #ifndef TOLUA_RELEASE
02592 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'size'", NULL);
02593 #endif
02594 {
02595 float tolua_ret = (float) self->size();
02596 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02597 }
02598 }
02599 return 1;
02600 #ifndef TOLUA_RELEASE
02601 tolua_lerror:
02602 tolua_error(tolua_S,"#ferror in function 'size'.",&tolua_err);
02603 return 0;
02604 #endif
02605 }
02606 #endif //#ifndef TOLUA_DISABLE
02607
02608
02609 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_size00
02610 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_size00(lua_State* tolua_S)
02611 {
02612 #ifndef TOLUA_RELEASE
02613 tolua_Error tolua_err;
02614 if (
02615 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02616 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02617 !tolua_isnoobj(tolua_S,3,&tolua_err)
02618 )
02619 goto tolua_lerror;
02620 else
02621 #endif
02622 {
02623 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02624 const float new_size = ((const float) tolua_tonumber(tolua_S,2,0));
02625 #ifndef TOLUA_RELEASE
02626 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_size'", NULL);
02627 #endif
02628 {
02629 self->set_size(new_size);
02630 }
02631 }
02632 return 0;
02633 #ifndef TOLUA_RELEASE
02634 tolua_lerror:
02635 tolua_error(tolua_S,"#ferror in function 'set_size'.",&tolua_err);
02636 return 0;
02637 #endif
02638 }
02639 #endif //#ifndef TOLUA_DISABLE
02640
02641
02642 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_size00
02643 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_size00(lua_State* tolua_S)
02644 {
02645 #ifndef TOLUA_RELEASE
02646 tolua_Error tolua_err;
02647 if (
02648 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02649 !tolua_isnoobj(tolua_S,2,&tolua_err)
02650 )
02651 goto tolua_lerror;
02652 else
02653 #endif
02654 {
02655 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02656 #ifndef TOLUA_RELEASE
02657 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_size'", NULL);
02658 #endif
02659 {
02660 int tolua_ret = (int) self->maxlenof_size();
02661 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02662 }
02663 }
02664 return 1;
02665 #ifndef TOLUA_RELEASE
02666 tolua_lerror:
02667 tolua_error(tolua_S,"#ferror in function 'maxlenof_size'.",&tolua_err);
02668 return 0;
02669 #endif
02670 }
02671 #endif //#ifndef TOLUA_DISABLE
02672
02673
02674 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_color00
02675 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_color00(lua_State* tolua_S)
02676 {
02677 #ifndef TOLUA_RELEASE
02678 tolua_Error tolua_err;
02679 if (
02680 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02681 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02682 !tolua_isnoobj(tolua_S,3,&tolua_err)
02683 )
02684 goto tolua_lerror;
02685 else
02686 #endif
02687 {
02688 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02689 int index = ((int) tolua_tonumber(tolua_S,2,0));
02690 #ifndef TOLUA_RELEASE
02691 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'color'", NULL);
02692 #endif
02693 {
02694 unsigned int tolua_ret = (unsigned int) self->color(index);
02695 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02696 }
02697 }
02698 return 1;
02699 #ifndef TOLUA_RELEASE
02700 tolua_lerror:
02701 tolua_error(tolua_S,"#ferror in function 'color'.",&tolua_err);
02702 return 0;
02703 #endif
02704 }
02705 #endif //#ifndef TOLUA_DISABLE
02706
02707
02708 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_color00
02709 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_color00(lua_State* tolua_S)
02710 {
02711 #ifndef TOLUA_RELEASE
02712 tolua_Error tolua_err;
02713 if (
02714 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02715 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02716 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
02717 !tolua_isnoobj(tolua_S,4,&tolua_err)
02718 )
02719 goto tolua_lerror;
02720 else
02721 #endif
02722 {
02723 fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02724 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
02725 unsigned const char new_color = ((unsigned const char) tolua_tonumber(tolua_S,3,0));
02726 #ifndef TOLUA_RELEASE
02727 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_color'", NULL);
02728 #endif
02729 {
02730 self->set_color(index,new_color);
02731 }
02732 }
02733 return 0;
02734 #ifndef TOLUA_RELEASE
02735 tolua_lerror:
02736 tolua_error(tolua_S,"#ferror in function 'set_color'.",&tolua_err);
02737 return 0;
02738 #endif
02739 }
02740 #endif //#ifndef TOLUA_DISABLE
02741
02742
02743 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_color00
02744 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_color00(lua_State* tolua_S)
02745 {
02746 #ifndef TOLUA_RELEASE
02747 tolua_Error tolua_err;
02748 if (
02749 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::AddCartTextMessage",0,&tolua_err) ||
02750 !tolua_isnoobj(tolua_S,2,&tolua_err)
02751 )
02752 goto tolua_lerror;
02753 else
02754 #endif
02755 {
02756 const fawkes::VisualDisplay2DInterface::AddCartTextMessage* self = (const fawkes::VisualDisplay2DInterface::AddCartTextMessage*) tolua_tousertype(tolua_S,1,0);
02757 #ifndef TOLUA_RELEASE
02758 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_color'", NULL);
02759 #endif
02760 {
02761 int tolua_ret = (int) self->maxlenof_color();
02762 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02763 }
02764 }
02765 return 1;
02766 #ifndef TOLUA_RELEASE
02767 tolua_lerror:
02768 tolua_error(tolua_S,"#ferror in function 'maxlenof_color'.",&tolua_err);
02769 return 0;
02770 #endif
02771 }
02772 #endif //#ifndef TOLUA_DISABLE
02773
02774
02775 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00
02776 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00(lua_State* tolua_S)
02777 {
02778 #ifndef TOLUA_RELEASE
02779 tolua_Error tolua_err;
02780 if (
02781 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02782 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02783 !tolua_isnoobj(tolua_S,3,&tolua_err)
02784 )
02785 goto tolua_lerror;
02786 else
02787 #endif
02788 {
02789 unsigned int ini_object_id = ((unsigned int) tolua_tonumber(tolua_S,2,0));
02790 {
02791 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteObjectMessage)(ini_object_id));
02792 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage");
02793 }
02794 }
02795 return 1;
02796 #ifndef TOLUA_RELEASE
02797 tolua_lerror:
02798 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02799 return 0;
02800 #endif
02801 }
02802 #endif //#ifndef TOLUA_DISABLE
02803
02804
02805 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00_local
02806 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00_local(lua_State* tolua_S)
02807 {
02808 #ifndef TOLUA_RELEASE
02809 tolua_Error tolua_err;
02810 if (
02811 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02812 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02813 !tolua_isnoobj(tolua_S,3,&tolua_err)
02814 )
02815 goto tolua_lerror;
02816 else
02817 #endif
02818 {
02819 unsigned int ini_object_id = ((unsigned int) tolua_tonumber(tolua_S,2,0));
02820 {
02821 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteObjectMessage)(ini_object_id));
02822 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage");
02823 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02824 }
02825 }
02826 return 1;
02827 #ifndef TOLUA_RELEASE
02828 tolua_lerror:
02829 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02830 return 0;
02831 #endif
02832 }
02833 #endif //#ifndef TOLUA_DISABLE
02834
02835
02836 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01
02837 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01(lua_State* tolua_S)
02838 {
02839 tolua_Error tolua_err;
02840 if (
02841 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02842 !tolua_isnoobj(tolua_S,2,&tolua_err)
02843 )
02844 goto tolua_lerror;
02845 else
02846 {
02847 {
02848 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteObjectMessage)());
02849 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage");
02850 }
02851 }
02852 return 1;
02853 tolua_lerror:
02854 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00(tolua_S);
02855 }
02856 #endif //#ifndef TOLUA_DISABLE
02857
02858
02859 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01_local
02860 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01_local(lua_State* tolua_S)
02861 {
02862 tolua_Error tolua_err;
02863 if (
02864 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02865 !tolua_isnoobj(tolua_S,2,&tolua_err)
02866 )
02867 goto tolua_lerror;
02868 else
02869 {
02870 {
02871 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteObjectMessage)());
02872 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage");
02873 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02874 }
02875 }
02876 return 1;
02877 tolua_lerror:
02878 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00_local(tolua_S);
02879 }
02880 #endif //#ifndef TOLUA_DISABLE
02881
02882
02883 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_delete00
02884 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_delete00(lua_State* tolua_S)
02885 {
02886 #ifndef TOLUA_RELEASE
02887 tolua_Error tolua_err;
02888 if (
02889 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02890 !tolua_isnoobj(tolua_S,2,&tolua_err)
02891 )
02892 goto tolua_lerror;
02893 else
02894 #endif
02895 {
02896 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* self = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) tolua_tousertype(tolua_S,1,0);
02897 #ifndef TOLUA_RELEASE
02898 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
02899 #endif
02900 Mtolua_delete(self);
02901 }
02902 return 0;
02903 #ifndef TOLUA_RELEASE
02904 tolua_lerror:
02905 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
02906 return 0;
02907 #endif
02908 }
02909 #endif //#ifndef TOLUA_DISABLE
02910
02911
02912 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_object_id00
02913 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_object_id00(lua_State* tolua_S)
02914 {
02915 #ifndef TOLUA_RELEASE
02916 tolua_Error tolua_err;
02917 if (
02918 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02919 !tolua_isnoobj(tolua_S,2,&tolua_err)
02920 )
02921 goto tolua_lerror;
02922 else
02923 #endif
02924 {
02925 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* self = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) tolua_tousertype(tolua_S,1,0);
02926 #ifndef TOLUA_RELEASE
02927 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'object_id'", NULL);
02928 #endif
02929 {
02930 unsigned int tolua_ret = (unsigned int) self->object_id();
02931 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02932 }
02933 }
02934 return 1;
02935 #ifndef TOLUA_RELEASE
02936 tolua_lerror:
02937 tolua_error(tolua_S,"#ferror in function 'object_id'.",&tolua_err);
02938 return 0;
02939 #endif
02940 }
02941 #endif //#ifndef TOLUA_DISABLE
02942
02943
02944 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_set_object_id00
02945 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_set_object_id00(lua_State* tolua_S)
02946 {
02947 #ifndef TOLUA_RELEASE
02948 tolua_Error tolua_err;
02949 if (
02950 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02951 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02952 !tolua_isnoobj(tolua_S,3,&tolua_err)
02953 )
02954 goto tolua_lerror;
02955 else
02956 #endif
02957 {
02958 fawkes::VisualDisplay2DInterface::DeleteObjectMessage* self = (fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) tolua_tousertype(tolua_S,1,0);
02959 unsigned const int new_object_id = ((unsigned const int) tolua_tonumber(tolua_S,2,0));
02960 #ifndef TOLUA_RELEASE
02961 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_object_id'", NULL);
02962 #endif
02963 {
02964 self->set_object_id(new_object_id);
02965 }
02966 }
02967 return 0;
02968 #ifndef TOLUA_RELEASE
02969 tolua_lerror:
02970 tolua_error(tolua_S,"#ferror in function 'set_object_id'.",&tolua_err);
02971 return 0;
02972 #endif
02973 }
02974 #endif //#ifndef TOLUA_DISABLE
02975
02976
02977 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_maxlenof_object_id00
02978 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_maxlenof_object_id00(lua_State* tolua_S)
02979 {
02980 #ifndef TOLUA_RELEASE
02981 tolua_Error tolua_err;
02982 if (
02983 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface::DeleteObjectMessage",0,&tolua_err) ||
02984 !tolua_isnoobj(tolua_S,2,&tolua_err)
02985 )
02986 goto tolua_lerror;
02987 else
02988 #endif
02989 {
02990 const fawkes::VisualDisplay2DInterface::DeleteObjectMessage* self = (const fawkes::VisualDisplay2DInterface::DeleteObjectMessage*) tolua_tousertype(tolua_S,1,0);
02991 #ifndef TOLUA_RELEASE
02992 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_object_id'", NULL);
02993 #endif
02994 {
02995 int tolua_ret = (int) self->maxlenof_object_id();
02996 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02997 }
02998 }
02999 return 1;
03000 #ifndef TOLUA_RELEASE
03001 tolua_lerror:
03002 tolua_error(tolua_S,"#ferror in function 'maxlenof_object_id'.",&tolua_err);
03003 return 0;
03004 #endif
03005 }
03006 #endif //#ifndef TOLUA_DISABLE
03007
03008
03009 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00
03010 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00(lua_State* tolua_S)
03011 {
03012 #ifndef TOLUA_RELEASE
03013 tolua_Error tolua_err;
03014 if (
03015 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteAllMessage",0,&tolua_err) ||
03016 !tolua_isnoobj(tolua_S,2,&tolua_err)
03017 )
03018 goto tolua_lerror;
03019 else
03020 #endif
03021 {
03022 {
03023 fawkes::VisualDisplay2DInterface::DeleteAllMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteAllMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteAllMessage)());
03024 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteAllMessage");
03025 }
03026 }
03027 return 1;
03028 #ifndef TOLUA_RELEASE
03029 tolua_lerror:
03030 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03031 return 0;
03032 #endif
03033 }
03034 #endif //#ifndef TOLUA_DISABLE
03035
03036
03037 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00_local
03038 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00_local(lua_State* tolua_S)
03039 {
03040 #ifndef TOLUA_RELEASE
03041 tolua_Error tolua_err;
03042 if (
03043 !tolua_isusertable(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteAllMessage",0,&tolua_err) ||
03044 !tolua_isnoobj(tolua_S,2,&tolua_err)
03045 )
03046 goto tolua_lerror;
03047 else
03048 #endif
03049 {
03050 {
03051 fawkes::VisualDisplay2DInterface::DeleteAllMessage* tolua_ret = (fawkes::VisualDisplay2DInterface::DeleteAllMessage*) Mtolua_new((fawkes::VisualDisplay2DInterface::DeleteAllMessage)());
03052 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::VisualDisplay2DInterface::DeleteAllMessage");
03053 tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03054 }
03055 }
03056 return 1;
03057 #ifndef TOLUA_RELEASE
03058 tolua_lerror:
03059 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03060 return 0;
03061 #endif
03062 }
03063 #endif //#ifndef TOLUA_DISABLE
03064
03065
03066 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_delete00
03067 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_delete00(lua_State* tolua_S)
03068 {
03069 #ifndef TOLUA_RELEASE
03070 tolua_Error tolua_err;
03071 if (
03072 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface::DeleteAllMessage",0,&tolua_err) ||
03073 !tolua_isnoobj(tolua_S,2,&tolua_err)
03074 )
03075 goto tolua_lerror;
03076 else
03077 #endif
03078 {
03079 fawkes::VisualDisplay2DInterface::DeleteAllMessage* self = (fawkes::VisualDisplay2DInterface::DeleteAllMessage*) tolua_tousertype(tolua_S,1,0);
03080 #ifndef TOLUA_RELEASE
03081 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03082 #endif
03083 Mtolua_delete(self);
03084 }
03085 return 0;
03086 #ifndef TOLUA_RELEASE
03087 tolua_lerror:
03088 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03089 return 0;
03090 #endif
03091 }
03092 #endif //#ifndef TOLUA_DISABLE
03093
03094
03095 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_counter00
03096 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_counter00(lua_State* tolua_S)
03097 {
03098 #ifndef TOLUA_RELEASE
03099 tolua_Error tolua_err;
03100 if (
03101 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03102 !tolua_isnoobj(tolua_S,2,&tolua_err)
03103 )
03104 goto tolua_lerror;
03105 else
03106 #endif
03107 {
03108 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03109 #ifndef TOLUA_RELEASE
03110 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'counter'", NULL);
03111 #endif
03112 {
03113 unsigned int tolua_ret = (unsigned int) self->counter();
03114 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03115 }
03116 }
03117 return 1;
03118 #ifndef TOLUA_RELEASE
03119 tolua_lerror:
03120 tolua_error(tolua_S,"#ferror in function 'counter'.",&tolua_err);
03121 return 0;
03122 #endif
03123 }
03124 #endif //#ifndef TOLUA_DISABLE
03125
03126
03127 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_counter00
03128 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_counter00(lua_State* tolua_S)
03129 {
03130 #ifndef TOLUA_RELEASE
03131 tolua_Error tolua_err;
03132 if (
03133 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03134 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
03135 !tolua_isnoobj(tolua_S,3,&tolua_err)
03136 )
03137 goto tolua_lerror;
03138 else
03139 #endif
03140 {
03141 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03142 unsigned const int new_counter = ((unsigned const int) tolua_tonumber(tolua_S,2,0));
03143 #ifndef TOLUA_RELEASE
03144 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_counter'", NULL);
03145 #endif
03146 {
03147 self->set_counter(new_counter);
03148 }
03149 }
03150 return 0;
03151 #ifndef TOLUA_RELEASE
03152 tolua_lerror:
03153 tolua_error(tolua_S,"#ferror in function 'set_counter'.",&tolua_err);
03154 return 0;
03155 #endif
03156 }
03157 #endif //#ifndef TOLUA_DISABLE
03158
03159
03160 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_maxlenof_counter00
03161 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_maxlenof_counter00(lua_State* tolua_S)
03162 {
03163 #ifndef TOLUA_RELEASE
03164 tolua_Error tolua_err;
03165 if (
03166 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03167 !tolua_isnoobj(tolua_S,2,&tolua_err)
03168 )
03169 goto tolua_lerror;
03170 else
03171 #endif
03172 {
03173 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03174 #ifndef TOLUA_RELEASE
03175 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_counter'", NULL);
03176 #endif
03177 {
03178 int tolua_ret = (int) self->maxlenof_counter();
03179 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03180 }
03181 }
03182 return 1;
03183 #ifndef TOLUA_RELEASE
03184 tolua_lerror:
03185 tolua_error(tolua_S,"#ferror in function 'maxlenof_counter'.",&tolua_err);
03186 return 0;
03187 #endif
03188 }
03189 #endif //#ifndef TOLUA_DISABLE
03190
03191
03192 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_oftype00
03193 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_oftype00(lua_State* tolua_S)
03194 {
03195 #ifndef TOLUA_RELEASE
03196 tolua_Error tolua_err;
03197 if (
03198 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03199 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
03200 !tolua_isnoobj(tolua_S,3,&tolua_err)
03201 )
03202 goto tolua_lerror;
03203 else
03204 #endif
03205 {
03206 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03207 const char* interface_type = ((const char*) tolua_tostring(tolua_S,2,0));
03208 #ifndef TOLUA_RELEASE
03209 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'", NULL);
03210 #endif
03211 {
03212 bool tolua_ret = (bool) self->oftype(interface_type);
03213 tolua_pushboolean(tolua_S,(bool)tolua_ret);
03214 }
03215 }
03216 return 1;
03217 #ifndef TOLUA_RELEASE
03218 tolua_lerror:
03219 tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err);
03220 return 0;
03221 #endif
03222 }
03223 #endif //#ifndef TOLUA_DISABLE
03224
03225
03226 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datachunk00
03227 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datachunk00(lua_State* tolua_S)
03228 {
03229 #ifndef TOLUA_RELEASE
03230 tolua_Error tolua_err;
03231 if (
03232 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03233 !tolua_isnoobj(tolua_S,2,&tolua_err)
03234 )
03235 goto tolua_lerror;
03236 else
03237 #endif
03238 {
03239 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03240 #ifndef TOLUA_RELEASE
03241 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'", NULL);
03242 #endif
03243 {
03244 const void* tolua_ret = (const void*) self->datachunk();
03245 tolua_pushuserdata(tolua_S,(void*)tolua_ret);
03246 }
03247 }
03248 return 1;
03249 #ifndef TOLUA_RELEASE
03250 tolua_lerror:
03251 tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err);
03252 return 0;
03253 #endif
03254 }
03255 #endif //#ifndef TOLUA_DISABLE
03256
03257
03258 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datasize00
03259 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datasize00(lua_State* tolua_S)
03260 {
03261 #ifndef TOLUA_RELEASE
03262 tolua_Error tolua_err;
03263 if (
03264 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03265 !tolua_isnoobj(tolua_S,2,&tolua_err)
03266 )
03267 goto tolua_lerror;
03268 else
03269 #endif
03270 {
03271 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03272 #ifndef TOLUA_RELEASE
03273 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'", NULL);
03274 #endif
03275 {
03276 unsigned int tolua_ret = (unsigned int) self->datasize();
03277 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03278 }
03279 }
03280 return 1;
03281 #ifndef TOLUA_RELEASE
03282 tolua_lerror:
03283 tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err);
03284 return 0;
03285 #endif
03286 }
03287 #endif //#ifndef TOLUA_DISABLE
03288
03289
03290 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_type00
03291 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_type00(lua_State* tolua_S)
03292 {
03293 #ifndef TOLUA_RELEASE
03294 tolua_Error tolua_err;
03295 if (
03296 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03297 !tolua_isnoobj(tolua_S,2,&tolua_err)
03298 )
03299 goto tolua_lerror;
03300 else
03301 #endif
03302 {
03303 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03304 #ifndef TOLUA_RELEASE
03305 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'", NULL);
03306 #endif
03307 {
03308 const char* tolua_ret = (const char*) self->type();
03309 tolua_pushstring(tolua_S,(const char*)tolua_ret);
03310 }
03311 }
03312 return 1;
03313 #ifndef TOLUA_RELEASE
03314 tolua_lerror:
03315 tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err);
03316 return 0;
03317 #endif
03318 }
03319 #endif //#ifndef TOLUA_DISABLE
03320
03321
03322 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_id00
03323 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_id00(lua_State* tolua_S)
03324 {
03325 #ifndef TOLUA_RELEASE
03326 tolua_Error tolua_err;
03327 if (
03328 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03329 !tolua_isnoobj(tolua_S,2,&tolua_err)
03330 )
03331 goto tolua_lerror;
03332 else
03333 #endif
03334 {
03335 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03336 #ifndef TOLUA_RELEASE
03337 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'", NULL);
03338 #endif
03339 {
03340 const char* tolua_ret = (const char*) self->id();
03341 tolua_pushstring(tolua_S,(const char*)tolua_ret);
03342 }
03343 }
03344 return 1;
03345 #ifndef TOLUA_RELEASE
03346 tolua_lerror:
03347 tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err);
03348 return 0;
03349 #endif
03350 }
03351 #endif //#ifndef TOLUA_DISABLE
03352
03353
03354 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_uid00
03355 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_uid00(lua_State* tolua_S)
03356 {
03357 #ifndef TOLUA_RELEASE
03358 tolua_Error tolua_err;
03359 if (
03360 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03361 !tolua_isnoobj(tolua_S,2,&tolua_err)
03362 )
03363 goto tolua_lerror;
03364 else
03365 #endif
03366 {
03367 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03368 #ifndef TOLUA_RELEASE
03369 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'", NULL);
03370 #endif
03371 {
03372 const char* tolua_ret = (const char*) self->uid();
03373 tolua_pushstring(tolua_S,(const char*)tolua_ret);
03374 }
03375 }
03376 return 1;
03377 #ifndef TOLUA_RELEASE
03378 tolua_lerror:
03379 tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err);
03380 return 0;
03381 #endif
03382 }
03383 #endif //#ifndef TOLUA_DISABLE
03384
03385
03386 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_serial00
03387 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_serial00(lua_State* tolua_S)
03388 {
03389 #ifndef TOLUA_RELEASE
03390 tolua_Error tolua_err;
03391 if (
03392 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03393 !tolua_isnoobj(tolua_S,2,&tolua_err)
03394 )
03395 goto tolua_lerror;
03396 else
03397 #endif
03398 {
03399 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03400 #ifndef TOLUA_RELEASE
03401 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'", NULL);
03402 #endif
03403 {
03404 unsigned int tolua_ret = (unsigned int) self->serial();
03405 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03406 }
03407 }
03408 return 1;
03409 #ifndef TOLUA_RELEASE
03410 tolua_lerror:
03411 tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err);
03412 return 0;
03413 #endif
03414 }
03415 #endif //#ifndef TOLUA_DISABLE
03416
03417
03418 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_mem_serial00
03419 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_mem_serial00(lua_State* tolua_S)
03420 {
03421 #ifndef TOLUA_RELEASE
03422 tolua_Error tolua_err;
03423 if (
03424 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03425 !tolua_isnoobj(tolua_S,2,&tolua_err)
03426 )
03427 goto tolua_lerror;
03428 else
03429 #endif
03430 {
03431 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03432 #ifndef TOLUA_RELEASE
03433 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'", NULL);
03434 #endif
03435 {
03436 unsigned int tolua_ret = (unsigned int) self->mem_serial();
03437 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03438 }
03439 }
03440 return 1;
03441 #ifndef TOLUA_RELEASE
03442 tolua_lerror:
03443 tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err);
03444 return 0;
03445 #endif
03446 }
03447 #endif //#ifndef TOLUA_DISABLE
03448
03449
03450 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface__eq00
03451 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface__eq00(lua_State* tolua_S)
03452 {
03453 #ifndef TOLUA_RELEASE
03454 tolua_Error tolua_err;
03455 if (
03456 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03457 (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err)) ||
03458 !tolua_isnoobj(tolua_S,3,&tolua_err)
03459 )
03460 goto tolua_lerror;
03461 else
03462 #endif
03463 {
03464 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03465 Interface* comp = ((Interface*) tolua_tousertype(tolua_S,2,0));
03466 #ifndef TOLUA_RELEASE
03467 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='", NULL);
03468 #endif
03469 {
03470 bool tolua_ret = (bool) self->operator==(*comp);
03471 tolua_pushboolean(tolua_S,(bool)tolua_ret);
03472 }
03473 }
03474 return 1;
03475 #ifndef TOLUA_RELEASE
03476 tolua_lerror:
03477 tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
03478 return 0;
03479 #endif
03480 }
03481 #endif //#ifndef TOLUA_DISABLE
03482
03483
03484 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash00
03485 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash00(lua_State* tolua_S)
03486 {
03487 #ifndef TOLUA_RELEASE
03488 tolua_Error tolua_err;
03489 if (
03490 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03491 !tolua_isnoobj(tolua_S,2,&tolua_err)
03492 )
03493 goto tolua_lerror;
03494 else
03495 #endif
03496 {
03497 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03498 #ifndef TOLUA_RELEASE
03499 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'", NULL);
03500 #endif
03501 {
03502 unsigned const char* tolua_ret = ( unsigned const char*) self->hash();
03503 tolua_pushstring(tolua_S,(const char*)tolua_ret);
03504 }
03505 }
03506 return 1;
03507 #ifndef TOLUA_RELEASE
03508 tolua_lerror:
03509 tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err);
03510 return 0;
03511 #endif
03512 }
03513 #endif //#ifndef TOLUA_DISABLE
03514
03515
03516 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_size00
03517 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_size00(lua_State* tolua_S)
03518 {
03519 #ifndef TOLUA_RELEASE
03520 tolua_Error tolua_err;
03521 if (
03522 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03523 !tolua_isnoobj(tolua_S,2,&tolua_err)
03524 )
03525 goto tolua_lerror;
03526 else
03527 #endif
03528 {
03529 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03530 #ifndef TOLUA_RELEASE
03531 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'", NULL);
03532 #endif
03533 {
03534 int tolua_ret = (int) self->hash_size();
03535 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03536 }
03537 }
03538 return 1;
03539 #ifndef TOLUA_RELEASE
03540 tolua_lerror:
03541 tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err);
03542 return 0;
03543 #endif
03544 }
03545 #endif //#ifndef TOLUA_DISABLE
03546
03547
03548 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_printable00
03549 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_printable00(lua_State* tolua_S)
03550 {
03551 #ifndef TOLUA_RELEASE
03552 tolua_Error tolua_err;
03553 if (
03554 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03555 !tolua_isnoobj(tolua_S,2,&tolua_err)
03556 )
03557 goto tolua_lerror;
03558 else
03559 #endif
03560 {
03561 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03562 #ifndef TOLUA_RELEASE
03563 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'", NULL);
03564 #endif
03565 {
03566 const char* tolua_ret = (const char*) self->hash_printable();
03567 tolua_pushstring(tolua_S,(const char*)tolua_ret);
03568 }
03569 }
03570 return 1;
03571 #ifndef TOLUA_RELEASE
03572 tolua_lerror:
03573 tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err);
03574 return 0;
03575 #endif
03576 }
03577 #endif //#ifndef TOLUA_DISABLE
03578
03579
03580 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_is_writer00
03581 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_is_writer00(lua_State* tolua_S)
03582 {
03583 #ifndef TOLUA_RELEASE
03584 tolua_Error tolua_err;
03585 if (
03586 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03587 !tolua_isnoobj(tolua_S,2,&tolua_err)
03588 )
03589 goto tolua_lerror;
03590 else
03591 #endif
03592 {
03593 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03594 #ifndef TOLUA_RELEASE
03595 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'", NULL);
03596 #endif
03597 {
03598 bool tolua_ret = (bool) self->is_writer();
03599 tolua_pushboolean(tolua_S,(bool)tolua_ret);
03600 }
03601 }
03602 return 1;
03603 #ifndef TOLUA_RELEASE
03604 tolua_lerror:
03605 tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err);
03606 return 0;
03607 #endif
03608 }
03609 #endif //#ifndef TOLUA_DISABLE
03610
03611
03612 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_from_chunk00
03613 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_from_chunk00(lua_State* tolua_S)
03614 {
03615 #ifndef TOLUA_RELEASE
03616 tolua_Error tolua_err;
03617 if (
03618 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03619 !tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
03620 !tolua_isnoobj(tolua_S,3,&tolua_err)
03621 )
03622 goto tolua_lerror;
03623 else
03624 #endif
03625 {
03626 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03627 void* chunk = ((void*) tolua_touserdata(tolua_S,2,0));
03628 #ifndef TOLUA_RELEASE
03629 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'", NULL);
03630 #endif
03631 {
03632 self->set_from_chunk(chunk);
03633 }
03634 }
03635 return 0;
03636 #ifndef TOLUA_RELEASE
03637 tolua_lerror:
03638 tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err);
03639 return 0;
03640 #endif
03641 }
03642 #endif //#ifndef TOLUA_DISABLE
03643
03644
03645 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_create_message00
03646 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_create_message00(lua_State* tolua_S)
03647 {
03648 #ifndef TOLUA_RELEASE
03649 tolua_Error tolua_err;
03650 if (
03651 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03652 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
03653 !tolua_isnoobj(tolua_S,3,&tolua_err)
03654 )
03655 goto tolua_lerror;
03656 else
03657 #endif
03658 {
03659 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03660 const char* type = ((const char*) tolua_tostring(tolua_S,2,0));
03661 #ifndef TOLUA_RELEASE
03662 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'", NULL);
03663 #endif
03664 {
03665 Message* tolua_ret = (Message*) self->create_message(type);
03666 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
03667 }
03668 }
03669 return 1;
03670 #ifndef TOLUA_RELEASE
03671 tolua_lerror:
03672 tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err);
03673 return 0;
03674 #endif
03675 }
03676 #endif //#ifndef TOLUA_DISABLE
03677
03678
03679 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_read00
03680 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_read00(lua_State* tolua_S)
03681 {
03682 #ifndef TOLUA_RELEASE
03683 tolua_Error tolua_err;
03684 if (
03685 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03686 !tolua_isnoobj(tolua_S,2,&tolua_err)
03687 )
03688 goto tolua_lerror;
03689 else
03690 #endif
03691 {
03692 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03693 #ifndef TOLUA_RELEASE
03694 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'", NULL);
03695 #endif
03696 {
03697 self->read();
03698 }
03699 }
03700 return 0;
03701 #ifndef TOLUA_RELEASE
03702 tolua_lerror:
03703 tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err);
03704 return 0;
03705 #endif
03706 }
03707 #endif //#ifndef TOLUA_DISABLE
03708
03709
03710 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_write00
03711 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_write00(lua_State* tolua_S)
03712 {
03713 #ifndef TOLUA_RELEASE
03714 tolua_Error tolua_err;
03715 if (
03716 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03717 !tolua_isnoobj(tolua_S,2,&tolua_err)
03718 )
03719 goto tolua_lerror;
03720 else
03721 #endif
03722 {
03723 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03724 #ifndef TOLUA_RELEASE
03725 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'", NULL);
03726 #endif
03727 {
03728 self->write();
03729 }
03730 }
03731 return 0;
03732 #ifndef TOLUA_RELEASE
03733 tolua_lerror:
03734 tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err);
03735 return 0;
03736 #endif
03737 }
03738 #endif //#ifndef TOLUA_DISABLE
03739
03740
03741 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_has_writer00
03742 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_has_writer00(lua_State* tolua_S)
03743 {
03744 #ifndef TOLUA_RELEASE
03745 tolua_Error tolua_err;
03746 if (
03747 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03748 !tolua_isnoobj(tolua_S,2,&tolua_err)
03749 )
03750 goto tolua_lerror;
03751 else
03752 #endif
03753 {
03754 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03755 #ifndef TOLUA_RELEASE
03756 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'", NULL);
03757 #endif
03758 {
03759 bool tolua_ret = (bool) self->has_writer();
03760 tolua_pushboolean(tolua_S,(bool)tolua_ret);
03761 }
03762 }
03763 return 1;
03764 #ifndef TOLUA_RELEASE
03765 tolua_lerror:
03766 tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err);
03767 return 0;
03768 #endif
03769 }
03770 #endif //#ifndef TOLUA_DISABLE
03771
03772
03773 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_num_readers00
03774 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_num_readers00(lua_State* tolua_S)
03775 {
03776 #ifndef TOLUA_RELEASE
03777 tolua_Error tolua_err;
03778 if (
03779 !tolua_isusertype(tolua_S,1,"const fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03780 !tolua_isnoobj(tolua_S,2,&tolua_err)
03781 )
03782 goto tolua_lerror;
03783 else
03784 #endif
03785 {
03786 const fawkes::VisualDisplay2DInterface* self = (const fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03787 #ifndef TOLUA_RELEASE
03788 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'", NULL);
03789 #endif
03790 {
03791 unsigned int tolua_ret = (unsigned int) self->num_readers();
03792 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03793 }
03794 }
03795 return 1;
03796 #ifndef TOLUA_RELEASE
03797 tolua_lerror:
03798 tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err);
03799 return 0;
03800 #endif
03801 }
03802 #endif //#ifndef TOLUA_DISABLE
03803
03804
03805 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_enqueue_copy00
03806 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_enqueue_copy00(lua_State* tolua_S)
03807 {
03808 #ifndef TOLUA_RELEASE
03809 tolua_Error tolua_err;
03810 if (
03811 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03812 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
03813 !tolua_isnoobj(tolua_S,3,&tolua_err)
03814 )
03815 goto tolua_lerror;
03816 else
03817 #endif
03818 {
03819 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03820 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0));
03821 #ifndef TOLUA_RELEASE
03822 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'", NULL);
03823 #endif
03824 {
03825 unsigned int tolua_ret = (unsigned int) self->msgq_enqueue_copy(message);
03826 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03827 }
03828 }
03829 return 1;
03830 #ifndef TOLUA_RELEASE
03831 tolua_lerror:
03832 tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err);
03833 return 0;
03834 #endif
03835 }
03836 #endif //#ifndef TOLUA_DISABLE
03837
03838
03839 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove00
03840 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove00(lua_State* tolua_S)
03841 {
03842 #ifndef TOLUA_RELEASE
03843 tolua_Error tolua_err;
03844 if (
03845 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03846 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
03847 !tolua_isnoobj(tolua_S,3,&tolua_err)
03848 )
03849 goto tolua_lerror;
03850 else
03851 #endif
03852 {
03853 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03854 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0));
03855 #ifndef TOLUA_RELEASE
03856 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL);
03857 #endif
03858 {
03859 self->msgq_remove(message);
03860 }
03861 }
03862 return 0;
03863 #ifndef TOLUA_RELEASE
03864 tolua_lerror:
03865 tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err);
03866 return 0;
03867 #endif
03868 }
03869 #endif //#ifndef TOLUA_DISABLE
03870
03871
03872 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove01
03873 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove01(lua_State* tolua_S)
03874 {
03875 tolua_Error tolua_err;
03876 if (
03877 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03878 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
03879 !tolua_isnoobj(tolua_S,3,&tolua_err)
03880 )
03881 goto tolua_lerror;
03882 else
03883 {
03884 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03885 unsigned int message_id = ((unsigned int) tolua_tonumber(tolua_S,2,0));
03886 #ifndef TOLUA_RELEASE
03887 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL);
03888 #endif
03889 {
03890 self->msgq_remove(message_id);
03891 }
03892 }
03893 return 0;
03894 tolua_lerror:
03895 return tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove00(tolua_S);
03896 }
03897 #endif //#ifndef TOLUA_DISABLE
03898
03899
03900 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_size00
03901 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_size00(lua_State* tolua_S)
03902 {
03903 #ifndef TOLUA_RELEASE
03904 tolua_Error tolua_err;
03905 if (
03906 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03907 !tolua_isnoobj(tolua_S,2,&tolua_err)
03908 )
03909 goto tolua_lerror;
03910 else
03911 #endif
03912 {
03913 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03914 #ifndef TOLUA_RELEASE
03915 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'", NULL);
03916 #endif
03917 {
03918 unsigned int tolua_ret = (unsigned int) self->msgq_size();
03919 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03920 }
03921 }
03922 return 1;
03923 #ifndef TOLUA_RELEASE
03924 tolua_lerror:
03925 tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err);
03926 return 0;
03927 #endif
03928 }
03929 #endif //#ifndef TOLUA_DISABLE
03930
03931
03932 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_flush00
03933 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_flush00(lua_State* tolua_S)
03934 {
03935 #ifndef TOLUA_RELEASE
03936 tolua_Error tolua_err;
03937 if (
03938 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03939 !tolua_isnoobj(tolua_S,2,&tolua_err)
03940 )
03941 goto tolua_lerror;
03942 else
03943 #endif
03944 {
03945 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03946 #ifndef TOLUA_RELEASE
03947 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'", NULL);
03948 #endif
03949 {
03950 self->msgq_flush();
03951 }
03952 }
03953 return 0;
03954 #ifndef TOLUA_RELEASE
03955 tolua_lerror:
03956 tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err);
03957 return 0;
03958 #endif
03959 }
03960 #endif //#ifndef TOLUA_DISABLE
03961
03962
03963 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_lock00
03964 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_lock00(lua_State* tolua_S)
03965 {
03966 #ifndef TOLUA_RELEASE
03967 tolua_Error tolua_err;
03968 if (
03969 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
03970 !tolua_isnoobj(tolua_S,2,&tolua_err)
03971 )
03972 goto tolua_lerror;
03973 else
03974 #endif
03975 {
03976 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
03977 #ifndef TOLUA_RELEASE
03978 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'", NULL);
03979 #endif
03980 {
03981 self->msgq_lock();
03982 }
03983 }
03984 return 0;
03985 #ifndef TOLUA_RELEASE
03986 tolua_lerror:
03987 tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err);
03988 return 0;
03989 #endif
03990 }
03991 #endif //#ifndef TOLUA_DISABLE
03992
03993
03994 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_try_lock00
03995 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_try_lock00(lua_State* tolua_S)
03996 {
03997 #ifndef TOLUA_RELEASE
03998 tolua_Error tolua_err;
03999 if (
04000 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
04001 !tolua_isnoobj(tolua_S,2,&tolua_err)
04002 )
04003 goto tolua_lerror;
04004 else
04005 #endif
04006 {
04007 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
04008 #ifndef TOLUA_RELEASE
04009 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'", NULL);
04010 #endif
04011 {
04012 bool tolua_ret = (bool) self->msgq_try_lock();
04013 tolua_pushboolean(tolua_S,(bool)tolua_ret);
04014 }
04015 }
04016 return 1;
04017 #ifndef TOLUA_RELEASE
04018 tolua_lerror:
04019 tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err);
04020 return 0;
04021 #endif
04022 }
04023 #endif //#ifndef TOLUA_DISABLE
04024
04025
04026 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_unlock00
04027 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_unlock00(lua_State* tolua_S)
04028 {
04029 #ifndef TOLUA_RELEASE
04030 tolua_Error tolua_err;
04031 if (
04032 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
04033 !tolua_isnoobj(tolua_S,2,&tolua_err)
04034 )
04035 goto tolua_lerror;
04036 else
04037 #endif
04038 {
04039 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
04040 #ifndef TOLUA_RELEASE
04041 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'", NULL);
04042 #endif
04043 {
04044 self->msgq_unlock();
04045 }
04046 }
04047 return 0;
04048 #ifndef TOLUA_RELEASE
04049 tolua_lerror:
04050 tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err);
04051 return 0;
04052 #endif
04053 }
04054 #endif //#ifndef TOLUA_DISABLE
04055
04056
04057 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_pop00
04058 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_pop00(lua_State* tolua_S)
04059 {
04060 #ifndef TOLUA_RELEASE
04061 tolua_Error tolua_err;
04062 if (
04063 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
04064 !tolua_isnoobj(tolua_S,2,&tolua_err)
04065 )
04066 goto tolua_lerror;
04067 else
04068 #endif
04069 {
04070 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
04071 #ifndef TOLUA_RELEASE
04072 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'", NULL);
04073 #endif
04074 {
04075 self->msgq_pop();
04076 }
04077 }
04078 return 0;
04079 #ifndef TOLUA_RELEASE
04080 tolua_lerror:
04081 tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err);
04082 return 0;
04083 #endif
04084 }
04085 #endif //#ifndef TOLUA_DISABLE
04086
04087
04088 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_first00
04089 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_first00(lua_State* tolua_S)
04090 {
04091 #ifndef TOLUA_RELEASE
04092 tolua_Error tolua_err;
04093 if (
04094 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
04095 !tolua_isnoobj(tolua_S,2,&tolua_err)
04096 )
04097 goto tolua_lerror;
04098 else
04099 #endif
04100 {
04101 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
04102 #ifndef TOLUA_RELEASE
04103 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'", NULL);
04104 #endif
04105 {
04106 Message* tolua_ret = (Message*) self->msgq_first();
04107 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
04108 }
04109 }
04110 return 1;
04111 #ifndef TOLUA_RELEASE
04112 tolua_lerror:
04113 tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err);
04114 return 0;
04115 #endif
04116 }
04117 #endif //#ifndef TOLUA_DISABLE
04118
04119
04120 #ifndef TOLUA_DISABLE_tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_empty00
04121 static int tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_empty00(lua_State* tolua_S)
04122 {
04123 #ifndef TOLUA_RELEASE
04124 tolua_Error tolua_err;
04125 if (
04126 !tolua_isusertype(tolua_S,1,"fawkes::VisualDisplay2DInterface",0,&tolua_err) ||
04127 !tolua_isnoobj(tolua_S,2,&tolua_err)
04128 )
04129 goto tolua_lerror;
04130 else
04131 #endif
04132 {
04133 fawkes::VisualDisplay2DInterface* self = (fawkes::VisualDisplay2DInterface*) tolua_tousertype(tolua_S,1,0);
04134 #ifndef TOLUA_RELEASE
04135 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'", NULL);
04136 #endif
04137 {
04138 bool tolua_ret = (bool) self->msgq_empty();
04139 tolua_pushboolean(tolua_S,(bool)tolua_ret);
04140 }
04141 }
04142 return 1;
04143 #ifndef TOLUA_RELEASE
04144 tolua_lerror:
04145 tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err);
04146 return 0;
04147 #endif
04148 }
04149 #endif //#ifndef TOLUA_DISABLE
04150
04151
04152 TOLUA_API int tolua_interfaces_VisualDisplay2DInterface_open (lua_State* tolua_S)
04153 {
04154 tolua_open(tolua_S);
04155 tolua_reg_types(tolua_S);
04156 tolua_module(tolua_S,NULL,0);
04157 tolua_beginmodule(tolua_S,NULL);
04158 tolua_module(tolua_S,"fawkes",0);
04159 tolua_beginmodule(tolua_S,"fawkes");
04160 tolua_cclass(tolua_S,"VisualDisplay2DInterface","fawkes::VisualDisplay2DInterface","Interface",NULL);
04161 tolua_beginmodule(tolua_S,"VisualDisplay2DInterface");
04162 tolua_constant(tolua_S,"LS_SOLID",fawkes::VisualDisplay2DInterface::LS_SOLID);
04163 tolua_constant(tolua_S,"LS_DASHED",fawkes::VisualDisplay2DInterface::LS_DASHED);
04164 tolua_constant(tolua_S,"LS_DOTTED",fawkes::VisualDisplay2DInterface::LS_DOTTED);
04165 tolua_constant(tolua_S,"LS_DASH_DOTTED",fawkes::VisualDisplay2DInterface::LS_DASH_DOTTED);
04166 tolua_constant(tolua_S,"CENTERED",fawkes::VisualDisplay2DInterface::CENTERED);
04167 tolua_constant(tolua_S,"NORTH",fawkes::VisualDisplay2DInterface::NORTH);
04168 tolua_constant(tolua_S,"EAST",fawkes::VisualDisplay2DInterface::EAST);
04169 tolua_constant(tolua_S,"SOUTH",fawkes::VisualDisplay2DInterface::SOUTH);
04170 tolua_constant(tolua_S,"WEST",fawkes::VisualDisplay2DInterface::WEST);
04171 tolua_constant(tolua_S,"NORTH_EAST",fawkes::VisualDisplay2DInterface::NORTH_EAST);
04172 tolua_constant(tolua_S,"SOUTH_EAST",fawkes::VisualDisplay2DInterface::SOUTH_EAST);
04173 tolua_constant(tolua_S,"SOUTH_WEST",fawkes::VisualDisplay2DInterface::SOUTH_WEST);
04174 tolua_constant(tolua_S,"NORTH_WEST",fawkes::VisualDisplay2DInterface::NORTH_WEST);
04175 #ifdef __cplusplus
04176 tolua_cclass(tolua_S,"AddCartLineMessage","fawkes::VisualDisplay2DInterface::AddCartLineMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__AddCartLineMessage);
04177 #else
04178 tolua_cclass(tolua_S,"AddCartLineMessage","fawkes::VisualDisplay2DInterface::AddCartLineMessage","Message",NULL);
04179 #endif
04180 tolua_beginmodule(tolua_S,"AddCartLineMessage");
04181 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00);
04182 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00_local);
04183 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new00_local);
04184 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01);
04185 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01_local);
04186 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_new01_local);
04187 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_delete00);
04188 tolua_function(tolua_S,"x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_x00);
04189 tolua_function(tolua_S,"set_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_x00);
04190 tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_x00);
04191 tolua_function(tolua_S,"y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_y00);
04192 tolua_function(tolua_S,"set_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_y00);
04193 tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_y00);
04194 tolua_function(tolua_S,"style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_style00);
04195 tolua_function(tolua_S,"set_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_style00);
04196 tolua_function(tolua_S,"maxlenof_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_style00);
04197 tolua_function(tolua_S,"color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_color00);
04198 tolua_function(tolua_S,"set_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_set_color00);
04199 tolua_function(tolua_S,"maxlenof_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartLineMessage_maxlenof_color00);
04200 tolua_endmodule(tolua_S);
04201 #ifdef __cplusplus
04202 tolua_cclass(tolua_S,"AddCartCircleMessage","fawkes::VisualDisplay2DInterface::AddCartCircleMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__AddCartCircleMessage);
04203 #else
04204 tolua_cclass(tolua_S,"AddCartCircleMessage","fawkes::VisualDisplay2DInterface::AddCartCircleMessage","Message",NULL);
04205 #endif
04206 tolua_beginmodule(tolua_S,"AddCartCircleMessage");
04207 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00);
04208 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00_local);
04209 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new00_local);
04210 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01);
04211 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01_local);
04212 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_new01_local);
04213 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_delete00);
04214 tolua_function(tolua_S,"x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_x00);
04215 tolua_function(tolua_S,"set_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_x00);
04216 tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_x00);
04217 tolua_function(tolua_S,"y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_y00);
04218 tolua_function(tolua_S,"set_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_y00);
04219 tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_y00);
04220 tolua_function(tolua_S,"radius",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_radius00);
04221 tolua_function(tolua_S,"set_radius",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_radius00);
04222 tolua_function(tolua_S,"maxlenof_radius",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_radius00);
04223 tolua_function(tolua_S,"style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_style00);
04224 tolua_function(tolua_S,"set_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_style00);
04225 tolua_function(tolua_S,"maxlenof_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_style00);
04226 tolua_function(tolua_S,"color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_color00);
04227 tolua_function(tolua_S,"set_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_set_color00);
04228 tolua_function(tolua_S,"maxlenof_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartCircleMessage_maxlenof_color00);
04229 tolua_endmodule(tolua_S);
04230 #ifdef __cplusplus
04231 tolua_cclass(tolua_S,"AddCartRectMessage","fawkes::VisualDisplay2DInterface::AddCartRectMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__AddCartRectMessage);
04232 #else
04233 tolua_cclass(tolua_S,"AddCartRectMessage","fawkes::VisualDisplay2DInterface::AddCartRectMessage","Message",NULL);
04234 #endif
04235 tolua_beginmodule(tolua_S,"AddCartRectMessage");
04236 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00);
04237 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00_local);
04238 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new00_local);
04239 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01);
04240 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01_local);
04241 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_new01_local);
04242 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_delete00);
04243 tolua_function(tolua_S,"x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_x00);
04244 tolua_function(tolua_S,"set_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_x00);
04245 tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_x00);
04246 tolua_function(tolua_S,"y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_y00);
04247 tolua_function(tolua_S,"set_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_y00);
04248 tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_y00);
04249 tolua_function(tolua_S,"width",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_width00);
04250 tolua_function(tolua_S,"set_width",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_width00);
04251 tolua_function(tolua_S,"maxlenof_width",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_width00);
04252 tolua_function(tolua_S,"height",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_height00);
04253 tolua_function(tolua_S,"set_height",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_height00);
04254 tolua_function(tolua_S,"maxlenof_height",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_height00);
04255 tolua_function(tolua_S,"style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_style00);
04256 tolua_function(tolua_S,"set_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_style00);
04257 tolua_function(tolua_S,"maxlenof_style",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_style00);
04258 tolua_function(tolua_S,"color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_color00);
04259 tolua_function(tolua_S,"set_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_set_color00);
04260 tolua_function(tolua_S,"maxlenof_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartRectMessage_maxlenof_color00);
04261 tolua_endmodule(tolua_S);
04262 #ifdef __cplusplus
04263 tolua_cclass(tolua_S,"AddCartTextMessage","fawkes::VisualDisplay2DInterface::AddCartTextMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__AddCartTextMessage);
04264 #else
04265 tolua_cclass(tolua_S,"AddCartTextMessage","fawkes::VisualDisplay2DInterface::AddCartTextMessage","Message",NULL);
04266 #endif
04267 tolua_beginmodule(tolua_S,"AddCartTextMessage");
04268 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00);
04269 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00_local);
04270 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new00_local);
04271 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01);
04272 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01_local);
04273 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_new01_local);
04274 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_delete00);
04275 tolua_function(tolua_S,"x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_x00);
04276 tolua_function(tolua_S,"set_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_x00);
04277 tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_x00);
04278 tolua_function(tolua_S,"y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_y00);
04279 tolua_function(tolua_S,"set_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_y00);
04280 tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_y00);
04281 tolua_function(tolua_S,"text",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_text00);
04282 tolua_function(tolua_S,"set_text",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_text00);
04283 tolua_function(tolua_S,"maxlenof_text",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_text00);
04284 tolua_function(tolua_S,"anchor",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_anchor00);
04285 tolua_function(tolua_S,"set_anchor",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_anchor00);
04286 tolua_function(tolua_S,"maxlenof_anchor",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_anchor00);
04287 tolua_function(tolua_S,"size",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_size00);
04288 tolua_function(tolua_S,"set_size",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_size00);
04289 tolua_function(tolua_S,"maxlenof_size",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_size00);
04290 tolua_function(tolua_S,"color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_color00);
04291 tolua_function(tolua_S,"set_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_set_color00);
04292 tolua_function(tolua_S,"maxlenof_color",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_AddCartTextMessage_maxlenof_color00);
04293 tolua_endmodule(tolua_S);
04294 #ifdef __cplusplus
04295 tolua_cclass(tolua_S,"DeleteObjectMessage","fawkes::VisualDisplay2DInterface::DeleteObjectMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__DeleteObjectMessage);
04296 #else
04297 tolua_cclass(tolua_S,"DeleteObjectMessage","fawkes::VisualDisplay2DInterface::DeleteObjectMessage","Message",NULL);
04298 #endif
04299 tolua_beginmodule(tolua_S,"DeleteObjectMessage");
04300 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00);
04301 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00_local);
04302 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new00_local);
04303 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01);
04304 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01_local);
04305 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_new01_local);
04306 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_delete00);
04307 tolua_function(tolua_S,"object_id",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_object_id00);
04308 tolua_function(tolua_S,"set_object_id",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_set_object_id00);
04309 tolua_function(tolua_S,"maxlenof_object_id",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteObjectMessage_maxlenof_object_id00);
04310 tolua_endmodule(tolua_S);
04311 #ifdef __cplusplus
04312 tolua_cclass(tolua_S,"DeleteAllMessage","fawkes::VisualDisplay2DInterface::DeleteAllMessage","Message",tolua_collect_fawkes__VisualDisplay2DInterface__DeleteAllMessage);
04313 #else
04314 tolua_cclass(tolua_S,"DeleteAllMessage","fawkes::VisualDisplay2DInterface::DeleteAllMessage","Message",NULL);
04315 #endif
04316 tolua_beginmodule(tolua_S,"DeleteAllMessage");
04317 tolua_function(tolua_S,"new",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00);
04318 tolua_function(tolua_S,"new_local",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00_local);
04319 tolua_function(tolua_S,".call",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_new00_local);
04320 tolua_function(tolua_S,"delete",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_DeleteAllMessage_delete00);
04321 tolua_endmodule(tolua_S);
04322 tolua_function(tolua_S,"counter",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_counter00);
04323 tolua_function(tolua_S,"set_counter",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_counter00);
04324 tolua_function(tolua_S,"maxlenof_counter",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_maxlenof_counter00);
04325 tolua_function(tolua_S,"oftype",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_oftype00);
04326 tolua_function(tolua_S,"datachunk",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datachunk00);
04327 tolua_function(tolua_S,"datasize",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_datasize00);
04328 tolua_function(tolua_S,"type",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_type00);
04329 tolua_function(tolua_S,"id",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_id00);
04330 tolua_function(tolua_S,"uid",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_uid00);
04331 tolua_function(tolua_S,"serial",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_serial00);
04332 tolua_function(tolua_S,"mem_serial",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_mem_serial00);
04333 tolua_function(tolua_S,".eq",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface__eq00);
04334 tolua_function(tolua_S,"hash",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash00);
04335 tolua_function(tolua_S,"hash_size",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_size00);
04336 tolua_function(tolua_S,"hash_printable",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_hash_printable00);
04337 tolua_function(tolua_S,"is_writer",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_is_writer00);
04338 tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_set_from_chunk00);
04339 tolua_function(tolua_S,"create_message",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_create_message00);
04340 tolua_function(tolua_S,"read",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_read00);
04341 tolua_function(tolua_S,"write",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_write00);
04342 tolua_function(tolua_S,"has_writer",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_has_writer00);
04343 tolua_function(tolua_S,"num_readers",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_num_readers00);
04344 tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_enqueue_copy00);
04345 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove00);
04346 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_remove01);
04347 tolua_function(tolua_S,"msgq_size",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_size00);
04348 tolua_function(tolua_S,"msgq_flush",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_flush00);
04349 tolua_function(tolua_S,"msgq_lock",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_lock00);
04350 tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_try_lock00);
04351 tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_unlock00);
04352 tolua_function(tolua_S,"msgq_pop",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_pop00);
04353 tolua_function(tolua_S,"msgq_first",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_first00);
04354 tolua_function(tolua_S,"msgq_empty",tolua_interfaces_VisualDisplay2DInterface_fawkes_VisualDisplay2DInterface_msgq_empty00);
04355 tolua_endmodule(tolua_S);
04356 tolua_endmodule(tolua_S);
04357 tolua_endmodule(tolua_S);
04358 return 1;
04359 }
04360
04361
04362 extern "C" {
04363 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
04364 TOLUA_API int luaopen_interfaces_VisualDisplay2DInterface (lua_State* tolua_S) {
04365 return tolua_interfaces_VisualDisplay2DInterface_open(tolua_S);
04366 };
04367 #endif
04368 }
04369
04370