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_Laser360Interface_open (lua_State* tolua_S);
00028
00029 #include <interfaces/Laser360Interface.h>
00030 using namespace fawkes;
00031
00032
00033 static void tolua_reg_types (lua_State* tolua_S)
00034 {
00035 tolua_usertype(tolua_S,"fawkes::Laser360Interface");
00036 tolua_usertype(tolua_S,"Message");
00037 tolua_usertype(tolua_S,"Interface");
00038 }
00039
00040
00041 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_distances00
00042 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_distances00(lua_State* tolua_S)
00043 {
00044 #ifndef TOLUA_RELEASE
00045 tolua_Error tolua_err;
00046 if (
00047 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00048 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00049 !tolua_isnoobj(tolua_S,3,&tolua_err)
00050 )
00051 goto tolua_lerror;
00052 else
00053 #endif
00054 {
00055 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00056 int index = ((int) tolua_tonumber(tolua_S,2,0));
00057 #ifndef TOLUA_RELEASE
00058 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'distances'",NULL);
00059 #endif
00060 {
00061 float tolua_ret = (float) self->distances(index);
00062 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00063 }
00064 }
00065 return 1;
00066 #ifndef TOLUA_RELEASE
00067 tolua_lerror:
00068 tolua_error(tolua_S,"#ferror in function 'distances'.",&tolua_err);
00069 return 0;
00070 #endif
00071 }
00072 #endif //#ifndef TOLUA_DISABLE
00073
00074
00075 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_distances00
00076 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_distances00(lua_State* tolua_S)
00077 {
00078 #ifndef TOLUA_RELEASE
00079 tolua_Error tolua_err;
00080 if (
00081 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00082 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00083 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00084 !tolua_isnoobj(tolua_S,4,&tolua_err)
00085 )
00086 goto tolua_lerror;
00087 else
00088 #endif
00089 {
00090 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00091 unsigned int index = ((unsigned int) tolua_tonumber(tolua_S,2,0));
00092 const float new_distances = ((const float) tolua_tonumber(tolua_S,3,0));
00093 #ifndef TOLUA_RELEASE
00094 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_distances'",NULL);
00095 #endif
00096 {
00097 self->set_distances(index,new_distances);
00098 }
00099 }
00100 return 0;
00101 #ifndef TOLUA_RELEASE
00102 tolua_lerror:
00103 tolua_error(tolua_S,"#ferror in function 'set_distances'.",&tolua_err);
00104 return 0;
00105 #endif
00106 }
00107 #endif //#ifndef TOLUA_DISABLE
00108
00109
00110 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_maxlenof_distances00
00111 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_maxlenof_distances00(lua_State* tolua_S)
00112 {
00113 #ifndef TOLUA_RELEASE
00114 tolua_Error tolua_err;
00115 if (
00116 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00117 !tolua_isnoobj(tolua_S,2,&tolua_err)
00118 )
00119 goto tolua_lerror;
00120 else
00121 #endif
00122 {
00123 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00124 #ifndef TOLUA_RELEASE
00125 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_distances'",NULL);
00126 #endif
00127 {
00128 int tolua_ret = (int) self->maxlenof_distances();
00129 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00130 }
00131 }
00132 return 1;
00133 #ifndef TOLUA_RELEASE
00134 tolua_lerror:
00135 tolua_error(tolua_S,"#ferror in function 'maxlenof_distances'.",&tolua_err);
00136 return 0;
00137 #endif
00138 }
00139 #endif //#ifndef TOLUA_DISABLE
00140
00141
00142 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_oftype00
00143 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_oftype00(lua_State* tolua_S)
00144 {
00145 #ifndef TOLUA_RELEASE
00146 tolua_Error tolua_err;
00147 if (
00148 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00149 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
00150 !tolua_isnoobj(tolua_S,3,&tolua_err)
00151 )
00152 goto tolua_lerror;
00153 else
00154 #endif
00155 {
00156 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00157 const char* interface_type = ((const char*) tolua_tostring(tolua_S,2,0));
00158 #ifndef TOLUA_RELEASE
00159 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'",NULL);
00160 #endif
00161 {
00162 bool tolua_ret = (bool) self->oftype(interface_type);
00163 tolua_pushboolean(tolua_S,(bool)tolua_ret);
00164 }
00165 }
00166 return 1;
00167 #ifndef TOLUA_RELEASE
00168 tolua_lerror:
00169 tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err);
00170 return 0;
00171 #endif
00172 }
00173 #endif //#ifndef TOLUA_DISABLE
00174
00175
00176 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datachunk00
00177 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datachunk00(lua_State* tolua_S)
00178 {
00179 #ifndef TOLUA_RELEASE
00180 tolua_Error tolua_err;
00181 if (
00182 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00183 !tolua_isnoobj(tolua_S,2,&tolua_err)
00184 )
00185 goto tolua_lerror;
00186 else
00187 #endif
00188 {
00189 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00190 #ifndef TOLUA_RELEASE
00191 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'",NULL);
00192 #endif
00193 {
00194 const void* tolua_ret = (const void*) self->datachunk();
00195 tolua_pushuserdata(tolua_S,(void*)tolua_ret);
00196 }
00197 }
00198 return 1;
00199 #ifndef TOLUA_RELEASE
00200 tolua_lerror:
00201 tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err);
00202 return 0;
00203 #endif
00204 }
00205 #endif //#ifndef TOLUA_DISABLE
00206
00207
00208 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datasize00
00209 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datasize00(lua_State* tolua_S)
00210 {
00211 #ifndef TOLUA_RELEASE
00212 tolua_Error tolua_err;
00213 if (
00214 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00215 !tolua_isnoobj(tolua_S,2,&tolua_err)
00216 )
00217 goto tolua_lerror;
00218 else
00219 #endif
00220 {
00221 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00222 #ifndef TOLUA_RELEASE
00223 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'",NULL);
00224 #endif
00225 {
00226 unsigned int tolua_ret = (unsigned int) self->datasize();
00227 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00228 }
00229 }
00230 return 1;
00231 #ifndef TOLUA_RELEASE
00232 tolua_lerror:
00233 tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err);
00234 return 0;
00235 #endif
00236 }
00237 #endif //#ifndef TOLUA_DISABLE
00238
00239
00240 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_type00
00241 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_type00(lua_State* tolua_S)
00242 {
00243 #ifndef TOLUA_RELEASE
00244 tolua_Error tolua_err;
00245 if (
00246 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00247 !tolua_isnoobj(tolua_S,2,&tolua_err)
00248 )
00249 goto tolua_lerror;
00250 else
00251 #endif
00252 {
00253 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00254 #ifndef TOLUA_RELEASE
00255 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'",NULL);
00256 #endif
00257 {
00258 const char* tolua_ret = (const char*) self->type();
00259 tolua_pushstring(tolua_S,(const char*)tolua_ret);
00260 }
00261 }
00262 return 1;
00263 #ifndef TOLUA_RELEASE
00264 tolua_lerror:
00265 tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err);
00266 return 0;
00267 #endif
00268 }
00269 #endif //#ifndef TOLUA_DISABLE
00270
00271
00272 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_id00
00273 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_id00(lua_State* tolua_S)
00274 {
00275 #ifndef TOLUA_RELEASE
00276 tolua_Error tolua_err;
00277 if (
00278 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00279 !tolua_isnoobj(tolua_S,2,&tolua_err)
00280 )
00281 goto tolua_lerror;
00282 else
00283 #endif
00284 {
00285 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00286 #ifndef TOLUA_RELEASE
00287 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'",NULL);
00288 #endif
00289 {
00290 const char* tolua_ret = (const char*) self->id();
00291 tolua_pushstring(tolua_S,(const char*)tolua_ret);
00292 }
00293 }
00294 return 1;
00295 #ifndef TOLUA_RELEASE
00296 tolua_lerror:
00297 tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err);
00298 return 0;
00299 #endif
00300 }
00301 #endif //#ifndef TOLUA_DISABLE
00302
00303
00304 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_uid00
00305 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_uid00(lua_State* tolua_S)
00306 {
00307 #ifndef TOLUA_RELEASE
00308 tolua_Error tolua_err;
00309 if (
00310 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00311 !tolua_isnoobj(tolua_S,2,&tolua_err)
00312 )
00313 goto tolua_lerror;
00314 else
00315 #endif
00316 {
00317 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00318 #ifndef TOLUA_RELEASE
00319 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'",NULL);
00320 #endif
00321 {
00322 const char* tolua_ret = (const char*) self->uid();
00323 tolua_pushstring(tolua_S,(const char*)tolua_ret);
00324 }
00325 }
00326 return 1;
00327 #ifndef TOLUA_RELEASE
00328 tolua_lerror:
00329 tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err);
00330 return 0;
00331 #endif
00332 }
00333 #endif //#ifndef TOLUA_DISABLE
00334
00335
00336 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_serial00
00337 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_serial00(lua_State* tolua_S)
00338 {
00339 #ifndef TOLUA_RELEASE
00340 tolua_Error tolua_err;
00341 if (
00342 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00343 !tolua_isnoobj(tolua_S,2,&tolua_err)
00344 )
00345 goto tolua_lerror;
00346 else
00347 #endif
00348 {
00349 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00350 #ifndef TOLUA_RELEASE
00351 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'",NULL);
00352 #endif
00353 {
00354 unsigned int tolua_ret = (unsigned int) self->serial();
00355 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00356 }
00357 }
00358 return 1;
00359 #ifndef TOLUA_RELEASE
00360 tolua_lerror:
00361 tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err);
00362 return 0;
00363 #endif
00364 }
00365 #endif //#ifndef TOLUA_DISABLE
00366
00367
00368 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_mem_serial00
00369 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_mem_serial00(lua_State* tolua_S)
00370 {
00371 #ifndef TOLUA_RELEASE
00372 tolua_Error tolua_err;
00373 if (
00374 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00375 !tolua_isnoobj(tolua_S,2,&tolua_err)
00376 )
00377 goto tolua_lerror;
00378 else
00379 #endif
00380 {
00381 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00382 #ifndef TOLUA_RELEASE
00383 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'",NULL);
00384 #endif
00385 {
00386 unsigned int tolua_ret = (unsigned int) self->mem_serial();
00387 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00388 }
00389 }
00390 return 1;
00391 #ifndef TOLUA_RELEASE
00392 tolua_lerror:
00393 tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err);
00394 return 0;
00395 #endif
00396 }
00397 #endif //#ifndef TOLUA_DISABLE
00398
00399
00400 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface__eq00
00401 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface__eq00(lua_State* tolua_S)
00402 {
00403 #ifndef TOLUA_RELEASE
00404 tolua_Error tolua_err;
00405 if (
00406 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00407 !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err) ||
00408 !tolua_isnoobj(tolua_S,3,&tolua_err)
00409 )
00410 goto tolua_lerror;
00411 else
00412 #endif
00413 {
00414 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00415 Interface* comp = ((Interface*) tolua_tousertype(tolua_S,2,0));
00416 #ifndef TOLUA_RELEASE
00417 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
00418 #endif
00419 {
00420 bool tolua_ret = (bool) self->operator==(*comp);
00421 tolua_pushboolean(tolua_S,(bool)tolua_ret);
00422 }
00423 }
00424 return 1;
00425 #ifndef TOLUA_RELEASE
00426 tolua_lerror:
00427 tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
00428 return 0;
00429 #endif
00430 }
00431 #endif //#ifndef TOLUA_DISABLE
00432
00433
00434 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash00
00435 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash00(lua_State* tolua_S)
00436 {
00437 #ifndef TOLUA_RELEASE
00438 tolua_Error tolua_err;
00439 if (
00440 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00441 !tolua_isnoobj(tolua_S,2,&tolua_err)
00442 )
00443 goto tolua_lerror;
00444 else
00445 #endif
00446 {
00447 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00448 #ifndef TOLUA_RELEASE
00449 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'",NULL);
00450 #endif
00451 {
00452 unsigned const char* tolua_ret = ( unsigned const char*) self->hash();
00453 tolua_pushstring(tolua_S,(const char*)tolua_ret);
00454 }
00455 }
00456 return 1;
00457 #ifndef TOLUA_RELEASE
00458 tolua_lerror:
00459 tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err);
00460 return 0;
00461 #endif
00462 }
00463 #endif //#ifndef TOLUA_DISABLE
00464
00465
00466 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_size00
00467 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_size00(lua_State* tolua_S)
00468 {
00469 #ifndef TOLUA_RELEASE
00470 tolua_Error tolua_err;
00471 if (
00472 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00473 !tolua_isnoobj(tolua_S,2,&tolua_err)
00474 )
00475 goto tolua_lerror;
00476 else
00477 #endif
00478 {
00479 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00480 #ifndef TOLUA_RELEASE
00481 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'",NULL);
00482 #endif
00483 {
00484 int tolua_ret = (int) self->hash_size();
00485 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00486 }
00487 }
00488 return 1;
00489 #ifndef TOLUA_RELEASE
00490 tolua_lerror:
00491 tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err);
00492 return 0;
00493 #endif
00494 }
00495 #endif //#ifndef TOLUA_DISABLE
00496
00497
00498 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_printable00
00499 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_printable00(lua_State* tolua_S)
00500 {
00501 #ifndef TOLUA_RELEASE
00502 tolua_Error tolua_err;
00503 if (
00504 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00505 !tolua_isnoobj(tolua_S,2,&tolua_err)
00506 )
00507 goto tolua_lerror;
00508 else
00509 #endif
00510 {
00511 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00512 #ifndef TOLUA_RELEASE
00513 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'",NULL);
00514 #endif
00515 {
00516 const char* tolua_ret = (const char*) self->hash_printable();
00517 tolua_pushstring(tolua_S,(const char*)tolua_ret);
00518 }
00519 }
00520 return 1;
00521 #ifndef TOLUA_RELEASE
00522 tolua_lerror:
00523 tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err);
00524 return 0;
00525 #endif
00526 }
00527 #endif //#ifndef TOLUA_DISABLE
00528
00529
00530 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_is_writer00
00531 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_is_writer00(lua_State* tolua_S)
00532 {
00533 #ifndef TOLUA_RELEASE
00534 tolua_Error tolua_err;
00535 if (
00536 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00537 !tolua_isnoobj(tolua_S,2,&tolua_err)
00538 )
00539 goto tolua_lerror;
00540 else
00541 #endif
00542 {
00543 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00544 #ifndef TOLUA_RELEASE
00545 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'",NULL);
00546 #endif
00547 {
00548 bool tolua_ret = (bool) self->is_writer();
00549 tolua_pushboolean(tolua_S,(bool)tolua_ret);
00550 }
00551 }
00552 return 1;
00553 #ifndef TOLUA_RELEASE
00554 tolua_lerror:
00555 tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err);
00556 return 0;
00557 #endif
00558 }
00559 #endif //#ifndef TOLUA_DISABLE
00560
00561
00562 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_from_chunk00
00563 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_from_chunk00(lua_State* tolua_S)
00564 {
00565 #ifndef TOLUA_RELEASE
00566 tolua_Error tolua_err;
00567 if (
00568 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00569 !tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
00570 !tolua_isnoobj(tolua_S,3,&tolua_err)
00571 )
00572 goto tolua_lerror;
00573 else
00574 #endif
00575 {
00576 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00577 void* chunk = ((void*) tolua_touserdata(tolua_S,2,0));
00578 #ifndef TOLUA_RELEASE
00579 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'",NULL);
00580 #endif
00581 {
00582 self->set_from_chunk(chunk);
00583 }
00584 }
00585 return 0;
00586 #ifndef TOLUA_RELEASE
00587 tolua_lerror:
00588 tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err);
00589 return 0;
00590 #endif
00591 }
00592 #endif //#ifndef TOLUA_DISABLE
00593
00594
00595 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_create_message00
00596 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_create_message00(lua_State* tolua_S)
00597 {
00598 #ifndef TOLUA_RELEASE
00599 tolua_Error tolua_err;
00600 if (
00601 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00602 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
00603 !tolua_isnoobj(tolua_S,3,&tolua_err)
00604 )
00605 goto tolua_lerror;
00606 else
00607 #endif
00608 {
00609 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00610 const char* type = ((const char*) tolua_tostring(tolua_S,2,0));
00611 #ifndef TOLUA_RELEASE
00612 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'",NULL);
00613 #endif
00614 {
00615 Message* tolua_ret = (Message*) self->create_message(type);
00616 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
00617 }
00618 }
00619 return 1;
00620 #ifndef TOLUA_RELEASE
00621 tolua_lerror:
00622 tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err);
00623 return 0;
00624 #endif
00625 }
00626 #endif //#ifndef TOLUA_DISABLE
00627
00628
00629 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_read00
00630 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_read00(lua_State* tolua_S)
00631 {
00632 #ifndef TOLUA_RELEASE
00633 tolua_Error tolua_err;
00634 if (
00635 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00636 !tolua_isnoobj(tolua_S,2,&tolua_err)
00637 )
00638 goto tolua_lerror;
00639 else
00640 #endif
00641 {
00642 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00643 #ifndef TOLUA_RELEASE
00644 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'",NULL);
00645 #endif
00646 {
00647 self->read();
00648 }
00649 }
00650 return 0;
00651 #ifndef TOLUA_RELEASE
00652 tolua_lerror:
00653 tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err);
00654 return 0;
00655 #endif
00656 }
00657 #endif //#ifndef TOLUA_DISABLE
00658
00659
00660 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_write00
00661 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_write00(lua_State* tolua_S)
00662 {
00663 #ifndef TOLUA_RELEASE
00664 tolua_Error tolua_err;
00665 if (
00666 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00667 !tolua_isnoobj(tolua_S,2,&tolua_err)
00668 )
00669 goto tolua_lerror;
00670 else
00671 #endif
00672 {
00673 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00674 #ifndef TOLUA_RELEASE
00675 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'",NULL);
00676 #endif
00677 {
00678 self->write();
00679 }
00680 }
00681 return 0;
00682 #ifndef TOLUA_RELEASE
00683 tolua_lerror:
00684 tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err);
00685 return 0;
00686 #endif
00687 }
00688 #endif //#ifndef TOLUA_DISABLE
00689
00690
00691 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_has_writer00
00692 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_has_writer00(lua_State* tolua_S)
00693 {
00694 #ifndef TOLUA_RELEASE
00695 tolua_Error tolua_err;
00696 if (
00697 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00698 !tolua_isnoobj(tolua_S,2,&tolua_err)
00699 )
00700 goto tolua_lerror;
00701 else
00702 #endif
00703 {
00704 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00705 #ifndef TOLUA_RELEASE
00706 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'",NULL);
00707 #endif
00708 {
00709 bool tolua_ret = (bool) self->has_writer();
00710 tolua_pushboolean(tolua_S,(bool)tolua_ret);
00711 }
00712 }
00713 return 1;
00714 #ifndef TOLUA_RELEASE
00715 tolua_lerror:
00716 tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err);
00717 return 0;
00718 #endif
00719 }
00720 #endif //#ifndef TOLUA_DISABLE
00721
00722
00723 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_num_readers00
00724 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_num_readers00(lua_State* tolua_S)
00725 {
00726 #ifndef TOLUA_RELEASE
00727 tolua_Error tolua_err;
00728 if (
00729 !tolua_isusertype(tolua_S,1,"const fawkes::Laser360Interface",0,&tolua_err) ||
00730 !tolua_isnoobj(tolua_S,2,&tolua_err)
00731 )
00732 goto tolua_lerror;
00733 else
00734 #endif
00735 {
00736 const fawkes::Laser360Interface* self = (const fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00737 #ifndef TOLUA_RELEASE
00738 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'",NULL);
00739 #endif
00740 {
00741 unsigned int tolua_ret = (unsigned int) self->num_readers();
00742 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00743 }
00744 }
00745 return 1;
00746 #ifndef TOLUA_RELEASE
00747 tolua_lerror:
00748 tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err);
00749 return 0;
00750 #endif
00751 }
00752 #endif //#ifndef TOLUA_DISABLE
00753
00754
00755 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_enqueue_copy00
00756 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_enqueue_copy00(lua_State* tolua_S)
00757 {
00758 #ifndef TOLUA_RELEASE
00759 tolua_Error tolua_err;
00760 if (
00761 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00762 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
00763 !tolua_isnoobj(tolua_S,3,&tolua_err)
00764 )
00765 goto tolua_lerror;
00766 else
00767 #endif
00768 {
00769 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00770 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0));
00771 #ifndef TOLUA_RELEASE
00772 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'",NULL);
00773 #endif
00774 {
00775 unsigned int tolua_ret = (unsigned int) self->msgq_enqueue_copy(message);
00776 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00777 }
00778 }
00779 return 1;
00780 #ifndef TOLUA_RELEASE
00781 tolua_lerror:
00782 tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err);
00783 return 0;
00784 #endif
00785 }
00786 #endif //#ifndef TOLUA_DISABLE
00787
00788
00789 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove00
00790 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove00(lua_State* tolua_S)
00791 {
00792 #ifndef TOLUA_RELEASE
00793 tolua_Error tolua_err;
00794 if (
00795 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00796 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
00797 !tolua_isnoobj(tolua_S,3,&tolua_err)
00798 )
00799 goto tolua_lerror;
00800 else
00801 #endif
00802 {
00803 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00804 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0));
00805 #ifndef TOLUA_RELEASE
00806 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'",NULL);
00807 #endif
00808 {
00809 self->msgq_remove(message);
00810 }
00811 }
00812 return 0;
00813 #ifndef TOLUA_RELEASE
00814 tolua_lerror:
00815 tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err);
00816 return 0;
00817 #endif
00818 }
00819 #endif //#ifndef TOLUA_DISABLE
00820
00821
00822 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove01
00823 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove01(lua_State* tolua_S)
00824 {
00825 tolua_Error tolua_err;
00826 if (
00827 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00828 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00829 !tolua_isnoobj(tolua_S,3,&tolua_err)
00830 )
00831 goto tolua_lerror;
00832 else
00833 {
00834 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00835 unsigned int message_id = ((unsigned int) tolua_tonumber(tolua_S,2,0));
00836 #ifndef TOLUA_RELEASE
00837 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'",NULL);
00838 #endif
00839 {
00840 self->msgq_remove(message_id);
00841 }
00842 }
00843 return 0;
00844 tolua_lerror:
00845 return tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove00(tolua_S);
00846 }
00847 #endif //#ifndef TOLUA_DISABLE
00848
00849
00850 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_size00
00851 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_size00(lua_State* tolua_S)
00852 {
00853 #ifndef TOLUA_RELEASE
00854 tolua_Error tolua_err;
00855 if (
00856 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00857 !tolua_isnoobj(tolua_S,2,&tolua_err)
00858 )
00859 goto tolua_lerror;
00860 else
00861 #endif
00862 {
00863 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00864 #ifndef TOLUA_RELEASE
00865 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'",NULL);
00866 #endif
00867 {
00868 unsigned int tolua_ret = (unsigned int) self->msgq_size();
00869 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00870 }
00871 }
00872 return 1;
00873 #ifndef TOLUA_RELEASE
00874 tolua_lerror:
00875 tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err);
00876 return 0;
00877 #endif
00878 }
00879 #endif //#ifndef TOLUA_DISABLE
00880
00881
00882 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_flush00
00883 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_flush00(lua_State* tolua_S)
00884 {
00885 #ifndef TOLUA_RELEASE
00886 tolua_Error tolua_err;
00887 if (
00888 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00889 !tolua_isnoobj(tolua_S,2,&tolua_err)
00890 )
00891 goto tolua_lerror;
00892 else
00893 #endif
00894 {
00895 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00896 #ifndef TOLUA_RELEASE
00897 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'",NULL);
00898 #endif
00899 {
00900 self->msgq_flush();
00901 }
00902 }
00903 return 0;
00904 #ifndef TOLUA_RELEASE
00905 tolua_lerror:
00906 tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err);
00907 return 0;
00908 #endif
00909 }
00910 #endif //#ifndef TOLUA_DISABLE
00911
00912
00913 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_lock00
00914 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_lock00(lua_State* tolua_S)
00915 {
00916 #ifndef TOLUA_RELEASE
00917 tolua_Error tolua_err;
00918 if (
00919 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00920 !tolua_isnoobj(tolua_S,2,&tolua_err)
00921 )
00922 goto tolua_lerror;
00923 else
00924 #endif
00925 {
00926 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00927 #ifndef TOLUA_RELEASE
00928 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'",NULL);
00929 #endif
00930 {
00931 self->msgq_lock();
00932 }
00933 }
00934 return 0;
00935 #ifndef TOLUA_RELEASE
00936 tolua_lerror:
00937 tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err);
00938 return 0;
00939 #endif
00940 }
00941 #endif //#ifndef TOLUA_DISABLE
00942
00943
00944 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_try_lock00
00945 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_try_lock00(lua_State* tolua_S)
00946 {
00947 #ifndef TOLUA_RELEASE
00948 tolua_Error tolua_err;
00949 if (
00950 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00951 !tolua_isnoobj(tolua_S,2,&tolua_err)
00952 )
00953 goto tolua_lerror;
00954 else
00955 #endif
00956 {
00957 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00958 #ifndef TOLUA_RELEASE
00959 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'",NULL);
00960 #endif
00961 {
00962 bool tolua_ret = (bool) self->msgq_try_lock();
00963 tolua_pushboolean(tolua_S,(bool)tolua_ret);
00964 }
00965 }
00966 return 1;
00967 #ifndef TOLUA_RELEASE
00968 tolua_lerror:
00969 tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err);
00970 return 0;
00971 #endif
00972 }
00973 #endif //#ifndef TOLUA_DISABLE
00974
00975
00976 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_unlock00
00977 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_unlock00(lua_State* tolua_S)
00978 {
00979 #ifndef TOLUA_RELEASE
00980 tolua_Error tolua_err;
00981 if (
00982 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
00983 !tolua_isnoobj(tolua_S,2,&tolua_err)
00984 )
00985 goto tolua_lerror;
00986 else
00987 #endif
00988 {
00989 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
00990 #ifndef TOLUA_RELEASE
00991 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'",NULL);
00992 #endif
00993 {
00994 self->msgq_unlock();
00995 }
00996 }
00997 return 0;
00998 #ifndef TOLUA_RELEASE
00999 tolua_lerror:
01000 tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err);
01001 return 0;
01002 #endif
01003 }
01004 #endif //#ifndef TOLUA_DISABLE
01005
01006
01007 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_pop00
01008 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_pop00(lua_State* tolua_S)
01009 {
01010 #ifndef TOLUA_RELEASE
01011 tolua_Error tolua_err;
01012 if (
01013 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
01014 !tolua_isnoobj(tolua_S,2,&tolua_err)
01015 )
01016 goto tolua_lerror;
01017 else
01018 #endif
01019 {
01020 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
01021 #ifndef TOLUA_RELEASE
01022 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'",NULL);
01023 #endif
01024 {
01025 self->msgq_pop();
01026 }
01027 }
01028 return 0;
01029 #ifndef TOLUA_RELEASE
01030 tolua_lerror:
01031 tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err);
01032 return 0;
01033 #endif
01034 }
01035 #endif //#ifndef TOLUA_DISABLE
01036
01037
01038 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_first00
01039 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_first00(lua_State* tolua_S)
01040 {
01041 #ifndef TOLUA_RELEASE
01042 tolua_Error tolua_err;
01043 if (
01044 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
01045 !tolua_isnoobj(tolua_S,2,&tolua_err)
01046 )
01047 goto tolua_lerror;
01048 else
01049 #endif
01050 {
01051 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
01052 #ifndef TOLUA_RELEASE
01053 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'",NULL);
01054 #endif
01055 {
01056 Message* tolua_ret = (Message*) self->msgq_first();
01057 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
01058 }
01059 }
01060 return 1;
01061 #ifndef TOLUA_RELEASE
01062 tolua_lerror:
01063 tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err);
01064 return 0;
01065 #endif
01066 }
01067 #endif //#ifndef TOLUA_DISABLE
01068
01069
01070 #ifndef TOLUA_DISABLE_tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_empty00
01071 static int tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_empty00(lua_State* tolua_S)
01072 {
01073 #ifndef TOLUA_RELEASE
01074 tolua_Error tolua_err;
01075 if (
01076 !tolua_isusertype(tolua_S,1,"fawkes::Laser360Interface",0,&tolua_err) ||
01077 !tolua_isnoobj(tolua_S,2,&tolua_err)
01078 )
01079 goto tolua_lerror;
01080 else
01081 #endif
01082 {
01083 fawkes::Laser360Interface* self = (fawkes::Laser360Interface*) tolua_tousertype(tolua_S,1,0);
01084 #ifndef TOLUA_RELEASE
01085 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'",NULL);
01086 #endif
01087 {
01088 bool tolua_ret = (bool) self->msgq_empty();
01089 tolua_pushboolean(tolua_S,(bool)tolua_ret);
01090 }
01091 }
01092 return 1;
01093 #ifndef TOLUA_RELEASE
01094 tolua_lerror:
01095 tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err);
01096 return 0;
01097 #endif
01098 }
01099 #endif //#ifndef TOLUA_DISABLE
01100
01101
01102 TOLUA_API int tolua_interfaces_Laser360Interface_open (lua_State* tolua_S)
01103 {
01104 tolua_open(tolua_S);
01105 tolua_reg_types(tolua_S);
01106 tolua_module(tolua_S,NULL,0);
01107 tolua_beginmodule(tolua_S,NULL);
01108 tolua_module(tolua_S,"fawkes",0);
01109 tolua_beginmodule(tolua_S,"fawkes");
01110 tolua_cclass(tolua_S,"Laser360Interface","fawkes::Laser360Interface","Interface",NULL);
01111 tolua_beginmodule(tolua_S,"Laser360Interface");
01112 tolua_function(tolua_S,"distances",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_distances00);
01113 tolua_function(tolua_S,"set_distances",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_distances00);
01114 tolua_function(tolua_S,"maxlenof_distances",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_maxlenof_distances00);
01115 tolua_function(tolua_S,"oftype",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_oftype00);
01116 tolua_function(tolua_S,"datachunk",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datachunk00);
01117 tolua_function(tolua_S,"datasize",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_datasize00);
01118 tolua_function(tolua_S,"type",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_type00);
01119 tolua_function(tolua_S,"id",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_id00);
01120 tolua_function(tolua_S,"uid",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_uid00);
01121 tolua_function(tolua_S,"serial",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_serial00);
01122 tolua_function(tolua_S,"mem_serial",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_mem_serial00);
01123 tolua_function(tolua_S,".eq",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface__eq00);
01124 tolua_function(tolua_S,"hash",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash00);
01125 tolua_function(tolua_S,"hash_size",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_size00);
01126 tolua_function(tolua_S,"hash_printable",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_hash_printable00);
01127 tolua_function(tolua_S,"is_writer",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_is_writer00);
01128 tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_set_from_chunk00);
01129 tolua_function(tolua_S,"create_message",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_create_message00);
01130 tolua_function(tolua_S,"read",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_read00);
01131 tolua_function(tolua_S,"write",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_write00);
01132 tolua_function(tolua_S,"has_writer",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_has_writer00);
01133 tolua_function(tolua_S,"num_readers",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_num_readers00);
01134 tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_enqueue_copy00);
01135 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove00);
01136 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_remove01);
01137 tolua_function(tolua_S,"msgq_size",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_size00);
01138 tolua_function(tolua_S,"msgq_flush",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_flush00);
01139 tolua_function(tolua_S,"msgq_lock",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_lock00);
01140 tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_try_lock00);
01141 tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_unlock00);
01142 tolua_function(tolua_S,"msgq_pop",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_pop00);
01143 tolua_function(tolua_S,"msgq_first",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_first00);
01144 tolua_function(tolua_S,"msgq_empty",tolua_interfaces_Laser360Interface_fawkes_Laser360Interface_msgq_empty00);
01145 tolua_endmodule(tolua_S);
01146 tolua_endmodule(tolua_S);
01147 tolua_endmodule(tolua_S);
01148 return 1;
01149 }
01150
01151
01152 extern "C" {
01153 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
01154 TOLUA_API int luaopen_interfaces_Laser360Interface (lua_State* tolua_S) {
01155 return tolua_interfaces_Laser360Interface_open(tolua_S);
01156 };
01157 #endif
01158 }
01159
01160