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