Fawkes API  Fawkes Development Version
KatanaInterface_tolua.cpp
00001 /*
00002 ** Lua binding: interfaces_KatanaInterface
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_KatanaInterface_open (lua_State* tolua_S);
00028 
00029 #include <interfaces/KatanaInterface.h>
00030 using namespace fawkes;
00031 
00032 /* function to release collected object via destructor */
00033 #ifdef __cplusplus
00034 
00035 static int tolua_collect_fawkes__KatanaInterface__MoveMotorEncoderMessage (lua_State* tolua_S)
00036 {
00037  fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*) tolua_tousertype(tolua_S,1,0);
00038         Mtolua_delete(self);
00039         return 0;
00040 }
00041 
00042 static int tolua_collect_fawkes__KatanaInterface__MoveMotorAngleMessage (lua_State* tolua_S)
00043 {
00044  fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*) tolua_tousertype(tolua_S,1,0);
00045         Mtolua_delete(self);
00046         return 0;
00047 }
00048 
00049 static int tolua_collect_fawkes__KatanaInterface__LinearGotoKniMessage (lua_State* tolua_S)
00050 {
00051  fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*) tolua_tousertype(tolua_S,1,0);
00052         Mtolua_delete(self);
00053         return 0;
00054 }
00055 
00056 static int tolua_collect_fawkes__KatanaInterface__CloseGripperMessage (lua_State* tolua_S)
00057 {
00058  fawkes::KatanaInterface::CloseGripperMessage* self = (fawkes::KatanaInterface::CloseGripperMessage*) tolua_tousertype(tolua_S,1,0);
00059         Mtolua_delete(self);
00060         return 0;
00061 }
00062 
00063 static int tolua_collect_fawkes__KatanaInterface__SetMotorAngleMessage (lua_State* tolua_S)
00064 {
00065  fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*) tolua_tousertype(tolua_S,1,0);
00066         Mtolua_delete(self);
00067         return 0;
00068 }
00069 
00070 static int tolua_collect_fawkes__KatanaInterface__LinearGotoMessage (lua_State* tolua_S)
00071 {
00072  fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*) tolua_tousertype(tolua_S,1,0);
00073         Mtolua_delete(self);
00074         return 0;
00075 }
00076 
00077 static int tolua_collect_fawkes__KatanaInterface__StopMessage (lua_State* tolua_S)
00078 {
00079  fawkes::KatanaInterface::StopMessage* self = (fawkes::KatanaInterface::StopMessage*) tolua_tousertype(tolua_S,1,0);
00080         Mtolua_delete(self);
00081         return 0;
00082 }
00083 
00084 static int tolua_collect_fawkes__KatanaInterface__SetMotorEncoderMessage (lua_State* tolua_S)
00085 {
00086  fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*) tolua_tousertype(tolua_S,1,0);
00087         Mtolua_delete(self);
00088         return 0;
00089 }
00090 
00091 static int tolua_collect_fawkes__KatanaInterface__ParkMessage (lua_State* tolua_S)
00092 {
00093  fawkes::KatanaInterface::ParkMessage* self = (fawkes::KatanaInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0);
00094         Mtolua_delete(self);
00095         return 0;
00096 }
00097 
00098 static int tolua_collect_fawkes__KatanaInterface__SetPlannerParamsMessage (lua_State* tolua_S)
00099 {
00100  fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*) tolua_tousertype(tolua_S,1,0);
00101         Mtolua_delete(self);
00102         return 0;
00103 }
00104 
00105 static int tolua_collect_fawkes__KatanaInterface__ObjectGotoMessage (lua_State* tolua_S)
00106 {
00107  fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*) tolua_tousertype(tolua_S,1,0);
00108         Mtolua_delete(self);
00109         return 0;
00110 }
00111 
00112 static int tolua_collect_fawkes__KatanaInterface__OpenGripperMessage (lua_State* tolua_S)
00113 {
00114  fawkes::KatanaInterface::OpenGripperMessage* self = (fawkes::KatanaInterface::OpenGripperMessage*) tolua_tousertype(tolua_S,1,0);
00115         Mtolua_delete(self);
00116         return 0;
00117 }
00118 
00119 static int tolua_collect_fawkes__KatanaInterface__CalibrateMessage (lua_State* tolua_S)
00120 {
00121  fawkes::KatanaInterface::CalibrateMessage* self = (fawkes::KatanaInterface::CalibrateMessage*) tolua_tousertype(tolua_S,1,0);
00122         Mtolua_delete(self);
00123         return 0;
00124 }
00125 
00126 static int tolua_collect_fawkes__KatanaInterface__SetMaxVelocityMessage (lua_State* tolua_S)
00127 {
00128  fawkes::KatanaInterface::SetMaxVelocityMessage* self = (fawkes::KatanaInterface::SetMaxVelocityMessage*) tolua_tousertype(tolua_S,1,0);
00129         Mtolua_delete(self);
00130         return 0;
00131 }
00132 
00133 static int tolua_collect_fawkes__KatanaInterface__FlushMessage (lua_State* tolua_S)
00134 {
00135  fawkes::KatanaInterface::FlushMessage* self = (fawkes::KatanaInterface::FlushMessage*) tolua_tousertype(tolua_S,1,0);
00136         Mtolua_delete(self);
00137         return 0;
00138 }
00139 
00140 static int tolua_collect_fawkes__KatanaInterface__SetEnabledMessage (lua_State* tolua_S)
00141 {
00142  fawkes::KatanaInterface::SetEnabledMessage* self = (fawkes::KatanaInterface::SetEnabledMessage*) tolua_tousertype(tolua_S,1,0);
00143         Mtolua_delete(self);
00144         return 0;
00145 }
00146 #endif
00147 
00148 
00149 /* function to register type */
00150 static void tolua_reg_types (lua_State* tolua_S)
00151 {
00152  tolua_usertype(tolua_S,"fawkes::KatanaInterface::MoveMotorAngleMessage");
00153  tolua_usertype(tolua_S,"fawkes::KatanaInterface::SetEnabledMessage");
00154  tolua_usertype(tolua_S,"fawkes::KatanaInterface::SetMotorAngleMessage");
00155  tolua_usertype(tolua_S,"fawkes::KatanaInterface::StopMessage");
00156  tolua_usertype(tolua_S,"fawkes::KatanaInterface::ObjectGotoMessage");
00157  tolua_usertype(tolua_S,"fawkes::KatanaInterface::OpenGripperMessage");
00158  tolua_usertype(tolua_S,"fawkes::KatanaInterface::CalibrateMessage");
00159  tolua_usertype(tolua_S,"fawkes::KatanaInterface::FlushMessage");
00160  tolua_usertype(tolua_S,"Interface");
00161  tolua_usertype(tolua_S,"fawkes::KatanaInterface");
00162  tolua_usertype(tolua_S,"fawkes::KatanaInterface::SetPlannerParamsMessage");
00163  tolua_usertype(tolua_S,"fawkes::KatanaInterface::CloseGripperMessage");
00164  tolua_usertype(tolua_S,"fawkes::KatanaInterface::LinearGotoMessage");
00165  tolua_usertype(tolua_S,"fawkes::KatanaInterface::SetMotorEncoderMessage");
00166  tolua_usertype(tolua_S,"Message");
00167  tolua_usertype(tolua_S,"fawkes::KatanaInterface::MoveMotorEncoderMessage");
00168  tolua_usertype(tolua_S,"fawkes::KatanaInterface::SetMaxVelocityMessage");
00169  tolua_usertype(tolua_S,"fawkes::KatanaInterface::LinearGotoKniMessage");
00170  tolua_usertype(tolua_S,"fawkes::KatanaInterface::ParkMessage");
00171 }
00172 
00173 /* get function: SENSOR_IR_RIGHT_INNER_MIDDLE of class  fawkes::KatanaInterface */
00174 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_MIDDLE
00175 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_MIDDLE(lua_State* tolua_S)
00176 {
00177   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_RIGHT_INNER_MIDDLE);
00178  return 1;
00179 }
00180 #endif //#ifndef TOLUA_DISABLE
00181 
00182 /* get function: SENSOR_IR_RIGHT_INNER_FRONT of class  fawkes::KatanaInterface */
00183 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_FRONT
00184 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_FRONT(lua_State* tolua_S)
00185 {
00186   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_RIGHT_INNER_FRONT);
00187  return 1;
00188 }
00189 #endif //#ifndef TOLUA_DISABLE
00190 
00191 /* get function: SENSOR_RESERVED_2 of class  fawkes::KatanaInterface */
00192 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_2
00193 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_2(lua_State* tolua_S)
00194 {
00195   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_RESERVED_2);
00196  return 1;
00197 }
00198 #endif //#ifndef TOLUA_DISABLE
00199 
00200 /* get function: SENSOR_COND_BOTH of class  fawkes::KatanaInterface */
00201 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_COND_BOTH
00202 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_COND_BOTH(lua_State* tolua_S)
00203 {
00204   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_COND_BOTH);
00205  return 1;
00206 }
00207 #endif //#ifndef TOLUA_DISABLE
00208 
00209 /* get function: SENSOR_IR_RIGHT_OUTER_FRONT of class  fawkes::KatanaInterface */
00210 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_OUTER_FRONT
00211 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_OUTER_FRONT(lua_State* tolua_S)
00212 {
00213   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_RIGHT_OUTER_FRONT);
00214  return 1;
00215 }
00216 #endif //#ifndef TOLUA_DISABLE
00217 
00218 /* get function: SENSOR_IR_RIGHT_BOTTOM_FRONT of class  fawkes::KatanaInterface */
00219 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_BOTTOM_FRONT
00220 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_BOTTOM_FRONT(lua_State* tolua_S)
00221 {
00222   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_RIGHT_BOTTOM_FRONT);
00223  return 1;
00224 }
00225 #endif //#ifndef TOLUA_DISABLE
00226 
00227 /* get function: SENSOR_FORCE_RIGHT_REAR of class  fawkes::KatanaInterface */
00228 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_REAR
00229 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_REAR(lua_State* tolua_S)
00230 {
00231   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_FORCE_RIGHT_REAR);
00232  return 1;
00233 }
00234 #endif //#ifndef TOLUA_DISABLE
00235 
00236 /* get function: SENSOR_FORCE_RIGHT_FRONT of class  fawkes::KatanaInterface */
00237 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_FRONT
00238 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_FRONT(lua_State* tolua_S)
00239 {
00240   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_FORCE_RIGHT_FRONT);
00241  return 1;
00242 }
00243 #endif //#ifndef TOLUA_DISABLE
00244 
00245 /* get function: SENSOR_IR_LEFT_INNER_MIDDLE of class  fawkes::KatanaInterface */
00246 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_MIDDLE
00247 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_MIDDLE(lua_State* tolua_S)
00248 {
00249   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_LEFT_INNER_MIDDLE);
00250  return 1;
00251 }
00252 #endif //#ifndef TOLUA_DISABLE
00253 
00254 /* get function: SENSOR_IR_LEFT_INNER_FRONT of class  fawkes::KatanaInterface */
00255 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_FRONT
00256 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_FRONT(lua_State* tolua_S)
00257 {
00258   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_LEFT_INNER_FRONT);
00259  return 1;
00260 }
00261 #endif //#ifndef TOLUA_DISABLE
00262 
00263 /* get function: SENSOR_RESERVED_10 of class  fawkes::KatanaInterface */
00264 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_10
00265 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_10(lua_State* tolua_S)
00266 {
00267   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_RESERVED_10);
00268  return 1;
00269 }
00270 #endif //#ifndef TOLUA_DISABLE
00271 
00272 /* get function: SENSOR_IR_CENTER_GRIPPER of class  fawkes::KatanaInterface */
00273 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_CENTER_GRIPPER
00274 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_CENTER_GRIPPER(lua_State* tolua_S)
00275 {
00276   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_CENTER_GRIPPER);
00277  return 1;
00278 }
00279 #endif //#ifndef TOLUA_DISABLE
00280 
00281 /* get function: SENSOR_IR_LEFT_OUTER_FRONT of class  fawkes::KatanaInterface */
00282 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_OUTER_FRONT
00283 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_OUTER_FRONT(lua_State* tolua_S)
00284 {
00285   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_LEFT_OUTER_FRONT);
00286  return 1;
00287 }
00288 #endif //#ifndef TOLUA_DISABLE
00289 
00290 /* get function: SENSOR_IR_LEFT_BOTTOM_FRONT of class  fawkes::KatanaInterface */
00291 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_BOTTOM_FRONT
00292 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_BOTTOM_FRONT(lua_State* tolua_S)
00293 {
00294   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_IR_LEFT_BOTTOM_FRONT);
00295  return 1;
00296 }
00297 #endif //#ifndef TOLUA_DISABLE
00298 
00299 /* get function: SENSOR_FORCE_LEFT_REAR of class  fawkes::KatanaInterface */
00300 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_REAR
00301 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_REAR(lua_State* tolua_S)
00302 {
00303   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_FORCE_LEFT_REAR);
00304  return 1;
00305 }
00306 #endif //#ifndef TOLUA_DISABLE
00307 
00308 /* get function: SENSOR_FORCE_LEFT_FRONT of class  fawkes::KatanaInterface */
00309 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_FRONT
00310 static int tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_FRONT(lua_State* tolua_S)
00311 {
00312   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::SENSOR_FORCE_LEFT_FRONT);
00313  return 1;
00314 }
00315 #endif //#ifndef TOLUA_DISABLE
00316 
00317 /* get function: ERROR_NONE of class  fawkes::KatanaInterface */
00318 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NONE
00319 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NONE(lua_State* tolua_S)
00320 {
00321   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_NONE);
00322  return 1;
00323 }
00324 #endif //#ifndef TOLUA_DISABLE
00325 
00326 /* get function: ERROR_UNSPECIFIC of class  fawkes::KatanaInterface */
00327 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_UNSPECIFIC
00328 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_UNSPECIFIC(lua_State* tolua_S)
00329 {
00330   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_UNSPECIFIC);
00331  return 1;
00332 }
00333 #endif //#ifndef TOLUA_DISABLE
00334 
00335 /* get function: ERROR_CMD_START_FAILED of class  fawkes::KatanaInterface */
00336 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_CMD_START_FAILED
00337 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_CMD_START_FAILED(lua_State* tolua_S)
00338 {
00339   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_CMD_START_FAILED);
00340  return 1;
00341 }
00342 #endif //#ifndef TOLUA_DISABLE
00343 
00344 /* get function: ERROR_NO_SOLUTION of class  fawkes::KatanaInterface */
00345 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NO_SOLUTION
00346 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NO_SOLUTION(lua_State* tolua_S)
00347 {
00348   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_NO_SOLUTION);
00349  return 1;
00350 }
00351 #endif //#ifndef TOLUA_DISABLE
00352 
00353 /* get function: ERROR_COMMUNICATION of class  fawkes::KatanaInterface */
00354 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_COMMUNICATION
00355 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_COMMUNICATION(lua_State* tolua_S)
00356 {
00357   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_COMMUNICATION);
00358  return 1;
00359 }
00360 #endif //#ifndef TOLUA_DISABLE
00361 
00362 /* get function: ERROR_MOTOR_CRASHED of class  fawkes::KatanaInterface */
00363 #ifndef TOLUA_DISABLE_tolua_get_fawkes__KatanaInterface_unsigned_ERROR_MOTOR_CRASHED
00364 static int tolua_get_fawkes__KatanaInterface_unsigned_ERROR_MOTOR_CRASHED(lua_State* tolua_S)
00365 {
00366   tolua_pushnumber(tolua_S,(lua_Number)fawkes::KatanaInterface::ERROR_MOTOR_CRASHED);
00367  return 1;
00368 }
00369 #endif //#ifndef TOLUA_DISABLE
00370 
00371 /* method: new of class  StopMessage */
00372 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00
00373 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00(lua_State* tolua_S)
00374 {
00375 #ifndef TOLUA_RELEASE
00376  tolua_Error tolua_err;
00377  if (
00378      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::StopMessage",0,&tolua_err) ||
00379      !tolua_isnoobj(tolua_S,2,&tolua_err)
00380  )
00381   goto tolua_lerror;
00382  else
00383 #endif
00384  {
00385   {
00386    fawkes::KatanaInterface::StopMessage* tolua_ret = (fawkes::KatanaInterface::StopMessage*)  Mtolua_new((fawkes::KatanaInterface::StopMessage)());
00387     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::StopMessage");
00388   }
00389  }
00390  return 1;
00391 #ifndef TOLUA_RELEASE
00392  tolua_lerror:
00393  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00394  return 0;
00395 #endif
00396 }
00397 #endif //#ifndef TOLUA_DISABLE
00398 
00399 /* method: new_local of class  StopMessage */
00400 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00_local
00401 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00_local(lua_State* tolua_S)
00402 {
00403 #ifndef TOLUA_RELEASE
00404  tolua_Error tolua_err;
00405  if (
00406      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::StopMessage",0,&tolua_err) ||
00407      !tolua_isnoobj(tolua_S,2,&tolua_err)
00408  )
00409   goto tolua_lerror;
00410  else
00411 #endif
00412  {
00413   {
00414    fawkes::KatanaInterface::StopMessage* tolua_ret = (fawkes::KatanaInterface::StopMessage*)  Mtolua_new((fawkes::KatanaInterface::StopMessage)());
00415     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::StopMessage");
00416     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00417   }
00418  }
00419  return 1;
00420 #ifndef TOLUA_RELEASE
00421  tolua_lerror:
00422  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00423  return 0;
00424 #endif
00425 }
00426 #endif //#ifndef TOLUA_DISABLE
00427 
00428 /* method: delete of class  StopMessage */
00429 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_delete00
00430 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_delete00(lua_State* tolua_S)
00431 {
00432 #ifndef TOLUA_RELEASE
00433  tolua_Error tolua_err;
00434  if (
00435      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::StopMessage",0,&tolua_err) ||
00436      !tolua_isnoobj(tolua_S,2,&tolua_err)
00437  )
00438   goto tolua_lerror;
00439  else
00440 #endif
00441  {
00442   fawkes::KatanaInterface::StopMessage* self = (fawkes::KatanaInterface::StopMessage*)  tolua_tousertype(tolua_S,1,0);
00443 #ifndef TOLUA_RELEASE
00444   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00445 #endif
00446   Mtolua_delete(self);
00447  }
00448  return 0;
00449 #ifndef TOLUA_RELEASE
00450  tolua_lerror:
00451  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00452  return 0;
00453 #endif
00454 }
00455 #endif //#ifndef TOLUA_DISABLE
00456 
00457 /* method: new of class  FlushMessage */
00458 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00
00459 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00(lua_State* tolua_S)
00460 {
00461 #ifndef TOLUA_RELEASE
00462  tolua_Error tolua_err;
00463  if (
00464      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::FlushMessage",0,&tolua_err) ||
00465      !tolua_isnoobj(tolua_S,2,&tolua_err)
00466  )
00467   goto tolua_lerror;
00468  else
00469 #endif
00470  {
00471   {
00472    fawkes::KatanaInterface::FlushMessage* tolua_ret = (fawkes::KatanaInterface::FlushMessage*)  Mtolua_new((fawkes::KatanaInterface::FlushMessage)());
00473     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::FlushMessage");
00474   }
00475  }
00476  return 1;
00477 #ifndef TOLUA_RELEASE
00478  tolua_lerror:
00479  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00480  return 0;
00481 #endif
00482 }
00483 #endif //#ifndef TOLUA_DISABLE
00484 
00485 /* method: new_local of class  FlushMessage */
00486 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00_local
00487 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00_local(lua_State* tolua_S)
00488 {
00489 #ifndef TOLUA_RELEASE
00490  tolua_Error tolua_err;
00491  if (
00492      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::FlushMessage",0,&tolua_err) ||
00493      !tolua_isnoobj(tolua_S,2,&tolua_err)
00494  )
00495   goto tolua_lerror;
00496  else
00497 #endif
00498  {
00499   {
00500    fawkes::KatanaInterface::FlushMessage* tolua_ret = (fawkes::KatanaInterface::FlushMessage*)  Mtolua_new((fawkes::KatanaInterface::FlushMessage)());
00501     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::FlushMessage");
00502     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00503   }
00504  }
00505  return 1;
00506 #ifndef TOLUA_RELEASE
00507  tolua_lerror:
00508  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00509  return 0;
00510 #endif
00511 }
00512 #endif //#ifndef TOLUA_DISABLE
00513 
00514 /* method: delete of class  FlushMessage */
00515 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_delete00
00516 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_delete00(lua_State* tolua_S)
00517 {
00518 #ifndef TOLUA_RELEASE
00519  tolua_Error tolua_err;
00520  if (
00521      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::FlushMessage",0,&tolua_err) ||
00522      !tolua_isnoobj(tolua_S,2,&tolua_err)
00523  )
00524   goto tolua_lerror;
00525  else
00526 #endif
00527  {
00528   fawkes::KatanaInterface::FlushMessage* self = (fawkes::KatanaInterface::FlushMessage*)  tolua_tousertype(tolua_S,1,0);
00529 #ifndef TOLUA_RELEASE
00530   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00531 #endif
00532   Mtolua_delete(self);
00533  }
00534  return 0;
00535 #ifndef TOLUA_RELEASE
00536  tolua_lerror:
00537  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00538  return 0;
00539 #endif
00540 }
00541 #endif //#ifndef TOLUA_DISABLE
00542 
00543 /* method: new of class  ParkMessage */
00544 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00
00545 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00(lua_State* tolua_S)
00546 {
00547 #ifndef TOLUA_RELEASE
00548  tolua_Error tolua_err;
00549  if (
00550      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ParkMessage",0,&tolua_err) ||
00551      !tolua_isnoobj(tolua_S,2,&tolua_err)
00552  )
00553   goto tolua_lerror;
00554  else
00555 #endif
00556  {
00557   {
00558    fawkes::KatanaInterface::ParkMessage* tolua_ret = (fawkes::KatanaInterface::ParkMessage*)  Mtolua_new((fawkes::KatanaInterface::ParkMessage)());
00559     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ParkMessage");
00560   }
00561  }
00562  return 1;
00563 #ifndef TOLUA_RELEASE
00564  tolua_lerror:
00565  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00566  return 0;
00567 #endif
00568 }
00569 #endif //#ifndef TOLUA_DISABLE
00570 
00571 /* method: new_local of class  ParkMessage */
00572 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00_local
00573 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00_local(lua_State* tolua_S)
00574 {
00575 #ifndef TOLUA_RELEASE
00576  tolua_Error tolua_err;
00577  if (
00578      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ParkMessage",0,&tolua_err) ||
00579      !tolua_isnoobj(tolua_S,2,&tolua_err)
00580  )
00581   goto tolua_lerror;
00582  else
00583 #endif
00584  {
00585   {
00586    fawkes::KatanaInterface::ParkMessage* tolua_ret = (fawkes::KatanaInterface::ParkMessage*)  Mtolua_new((fawkes::KatanaInterface::ParkMessage)());
00587     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ParkMessage");
00588     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00589   }
00590  }
00591  return 1;
00592 #ifndef TOLUA_RELEASE
00593  tolua_lerror:
00594  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00595  return 0;
00596 #endif
00597 }
00598 #endif //#ifndef TOLUA_DISABLE
00599 
00600 /* method: delete of class  ParkMessage */
00601 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_delete00
00602 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_delete00(lua_State* tolua_S)
00603 {
00604 #ifndef TOLUA_RELEASE
00605  tolua_Error tolua_err;
00606  if (
00607      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ParkMessage",0,&tolua_err) ||
00608      !tolua_isnoobj(tolua_S,2,&tolua_err)
00609  )
00610   goto tolua_lerror;
00611  else
00612 #endif
00613  {
00614   fawkes::KatanaInterface::ParkMessage* self = (fawkes::KatanaInterface::ParkMessage*)  tolua_tousertype(tolua_S,1,0);
00615 #ifndef TOLUA_RELEASE
00616   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00617 #endif
00618   Mtolua_delete(self);
00619  }
00620  return 0;
00621 #ifndef TOLUA_RELEASE
00622  tolua_lerror:
00623  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00624  return 0;
00625 #endif
00626 }
00627 #endif //#ifndef TOLUA_DISABLE
00628 
00629 /* method: new of class  LinearGotoMessage */
00630 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00
00631 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00(lua_State* tolua_S)
00632 {
00633 #ifndef TOLUA_RELEASE
00634  tolua_Error tolua_err;
00635  if (
00636      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00637      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00638      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00639      !tolua_isboolean(tolua_S,4,0,&tolua_err) ||
00640      !tolua_isstring(tolua_S,5,0,&tolua_err) ||
00641      !tolua_isstring(tolua_S,6,0,&tolua_err) ||
00642      !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
00643      !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
00644      !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
00645      !tolua_isnumber(tolua_S,10,0,&tolua_err) ||
00646      !tolua_isnumber(tolua_S,11,0,&tolua_err) ||
00647      !tolua_isnumber(tolua_S,12,0,&tolua_err) ||
00648      !tolua_isnoobj(tolua_S,13,&tolua_err)
00649  )
00650   goto tolua_lerror;
00651  else
00652 #endif
00653  {
00654   float ini_theta_error = ((float)  tolua_tonumber(tolua_S,2,0));
00655   float ini_offset_xy = ((float)  tolua_tonumber(tolua_S,3,0));
00656   bool ini_straight = ((bool)  tolua_toboolean(tolua_S,4,0));
00657   char* ini_trans_frame = ((char*)  tolua_tostring(tolua_S,5,0));
00658   char* ini_rot_frame = ((char*)  tolua_tostring(tolua_S,6,0));
00659   float ini_x = ((float)  tolua_tonumber(tolua_S,7,0));
00660   float ini_y = ((float)  tolua_tonumber(tolua_S,8,0));
00661   float ini_z = ((float)  tolua_tonumber(tolua_S,9,0));
00662   float ini_phi = ((float)  tolua_tonumber(tolua_S,10,0));
00663   float ini_theta = ((float)  tolua_tonumber(tolua_S,11,0));
00664   float ini_psi = ((float)  tolua_tonumber(tolua_S,12,0));
00665   {
00666    fawkes::KatanaInterface::LinearGotoMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoMessage)(ini_theta_error,ini_offset_xy,ini_straight,ini_trans_frame,ini_rot_frame,ini_x,ini_y,ini_z,ini_phi,ini_theta,ini_psi));
00667     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoMessage");
00668   }
00669  }
00670  return 1;
00671 #ifndef TOLUA_RELEASE
00672  tolua_lerror:
00673  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00674  return 0;
00675 #endif
00676 }
00677 #endif //#ifndef TOLUA_DISABLE
00678 
00679 /* method: new_local of class  LinearGotoMessage */
00680 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00_local
00681 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00_local(lua_State* tolua_S)
00682 {
00683 #ifndef TOLUA_RELEASE
00684  tolua_Error tolua_err;
00685  if (
00686      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00687      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00688      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
00689      !tolua_isboolean(tolua_S,4,0,&tolua_err) ||
00690      !tolua_isstring(tolua_S,5,0,&tolua_err) ||
00691      !tolua_isstring(tolua_S,6,0,&tolua_err) ||
00692      !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
00693      !tolua_isnumber(tolua_S,8,0,&tolua_err) ||
00694      !tolua_isnumber(tolua_S,9,0,&tolua_err) ||
00695      !tolua_isnumber(tolua_S,10,0,&tolua_err) ||
00696      !tolua_isnumber(tolua_S,11,0,&tolua_err) ||
00697      !tolua_isnumber(tolua_S,12,0,&tolua_err) ||
00698      !tolua_isnoobj(tolua_S,13,&tolua_err)
00699  )
00700   goto tolua_lerror;
00701  else
00702 #endif
00703  {
00704   float ini_theta_error = ((float)  tolua_tonumber(tolua_S,2,0));
00705   float ini_offset_xy = ((float)  tolua_tonumber(tolua_S,3,0));
00706   bool ini_straight = ((bool)  tolua_toboolean(tolua_S,4,0));
00707   char* ini_trans_frame = ((char*)  tolua_tostring(tolua_S,5,0));
00708   char* ini_rot_frame = ((char*)  tolua_tostring(tolua_S,6,0));
00709   float ini_x = ((float)  tolua_tonumber(tolua_S,7,0));
00710   float ini_y = ((float)  tolua_tonumber(tolua_S,8,0));
00711   float ini_z = ((float)  tolua_tonumber(tolua_S,9,0));
00712   float ini_phi = ((float)  tolua_tonumber(tolua_S,10,0));
00713   float ini_theta = ((float)  tolua_tonumber(tolua_S,11,0));
00714   float ini_psi = ((float)  tolua_tonumber(tolua_S,12,0));
00715   {
00716    fawkes::KatanaInterface::LinearGotoMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoMessage)(ini_theta_error,ini_offset_xy,ini_straight,ini_trans_frame,ini_rot_frame,ini_x,ini_y,ini_z,ini_phi,ini_theta,ini_psi));
00717     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoMessage");
00718     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00719   }
00720  }
00721  return 1;
00722 #ifndef TOLUA_RELEASE
00723  tolua_lerror:
00724  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00725  return 0;
00726 #endif
00727 }
00728 #endif //#ifndef TOLUA_DISABLE
00729 
00730 /* method: new of class  LinearGotoMessage */
00731 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01
00732 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01(lua_State* tolua_S)
00733 {
00734  tolua_Error tolua_err;
00735  if (
00736      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00737      !tolua_isnoobj(tolua_S,2,&tolua_err)
00738  )
00739   goto tolua_lerror;
00740  else
00741  {
00742   {
00743    fawkes::KatanaInterface::LinearGotoMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoMessage)());
00744     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoMessage");
00745   }
00746  }
00747  return 1;
00748 tolua_lerror:
00749  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00(tolua_S);
00750 }
00751 #endif //#ifndef TOLUA_DISABLE
00752 
00753 /* method: new_local of class  LinearGotoMessage */
00754 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01_local
00755 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01_local(lua_State* tolua_S)
00756 {
00757  tolua_Error tolua_err;
00758  if (
00759      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00760      !tolua_isnoobj(tolua_S,2,&tolua_err)
00761  )
00762   goto tolua_lerror;
00763  else
00764  {
00765   {
00766    fawkes::KatanaInterface::LinearGotoMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoMessage)());
00767     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoMessage");
00768     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
00769   }
00770  }
00771  return 1;
00772 tolua_lerror:
00773  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00_local(tolua_S);
00774 }
00775 #endif //#ifndef TOLUA_DISABLE
00776 
00777 /* method: delete of class  LinearGotoMessage */
00778 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_delete00
00779 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_delete00(lua_State* tolua_S)
00780 {
00781 #ifndef TOLUA_RELEASE
00782  tolua_Error tolua_err;
00783  if (
00784      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00785      !tolua_isnoobj(tolua_S,2,&tolua_err)
00786  )
00787   goto tolua_lerror;
00788  else
00789 #endif
00790  {
00791   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00792 #ifndef TOLUA_RELEASE
00793   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
00794 #endif
00795   Mtolua_delete(self);
00796  }
00797  return 0;
00798 #ifndef TOLUA_RELEASE
00799  tolua_lerror:
00800  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00801  return 0;
00802 #endif
00803 }
00804 #endif //#ifndef TOLUA_DISABLE
00805 
00806 /* method: theta_error of class  LinearGotoMessage */
00807 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta_error00
00808 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta_error00(lua_State* tolua_S)
00809 {
00810 #ifndef TOLUA_RELEASE
00811  tolua_Error tolua_err;
00812  if (
00813      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00814      !tolua_isnoobj(tolua_S,2,&tolua_err)
00815  )
00816   goto tolua_lerror;
00817  else
00818 #endif
00819  {
00820   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00821 #ifndef TOLUA_RELEASE
00822   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'theta_error'", NULL);
00823 #endif
00824   {
00825    float tolua_ret = (float)  self->theta_error();
00826    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00827   }
00828  }
00829  return 1;
00830 #ifndef TOLUA_RELEASE
00831  tolua_lerror:
00832  tolua_error(tolua_S,"#ferror in function 'theta_error'.",&tolua_err);
00833  return 0;
00834 #endif
00835 }
00836 #endif //#ifndef TOLUA_DISABLE
00837 
00838 /* method: set_theta_error of class  LinearGotoMessage */
00839 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta_error00
00840 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta_error00(lua_State* tolua_S)
00841 {
00842 #ifndef TOLUA_RELEASE
00843  tolua_Error tolua_err;
00844  if (
00845      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00846      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00847      !tolua_isnoobj(tolua_S,3,&tolua_err)
00848  )
00849   goto tolua_lerror;
00850  else
00851 #endif
00852  {
00853   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00854   const float new_theta_error = ((const float)  tolua_tonumber(tolua_S,2,0));
00855 #ifndef TOLUA_RELEASE
00856   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_theta_error'", NULL);
00857 #endif
00858   {
00859    self->set_theta_error(new_theta_error);
00860   }
00861  }
00862  return 0;
00863 #ifndef TOLUA_RELEASE
00864  tolua_lerror:
00865  tolua_error(tolua_S,"#ferror in function 'set_theta_error'.",&tolua_err);
00866  return 0;
00867 #endif
00868 }
00869 #endif //#ifndef TOLUA_DISABLE
00870 
00871 /* method: maxlenof_theta_error of class  LinearGotoMessage */
00872 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta_error00
00873 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta_error00(lua_State* tolua_S)
00874 {
00875 #ifndef TOLUA_RELEASE
00876  tolua_Error tolua_err;
00877  if (
00878      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00879      !tolua_isnoobj(tolua_S,2,&tolua_err)
00880  )
00881   goto tolua_lerror;
00882  else
00883 #endif
00884  {
00885   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00886 #ifndef TOLUA_RELEASE
00887   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_theta_error'", NULL);
00888 #endif
00889   {
00890    int tolua_ret = (int)  self->maxlenof_theta_error();
00891    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00892   }
00893  }
00894  return 1;
00895 #ifndef TOLUA_RELEASE
00896  tolua_lerror:
00897  tolua_error(tolua_S,"#ferror in function 'maxlenof_theta_error'.",&tolua_err);
00898  return 0;
00899 #endif
00900 }
00901 #endif //#ifndef TOLUA_DISABLE
00902 
00903 /* method: offset_xy of class  LinearGotoMessage */
00904 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_offset_xy00
00905 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_offset_xy00(lua_State* tolua_S)
00906 {
00907 #ifndef TOLUA_RELEASE
00908  tolua_Error tolua_err;
00909  if (
00910      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00911      !tolua_isnoobj(tolua_S,2,&tolua_err)
00912  )
00913   goto tolua_lerror;
00914  else
00915 #endif
00916  {
00917   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00918 #ifndef TOLUA_RELEASE
00919   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'offset_xy'", NULL);
00920 #endif
00921   {
00922    float tolua_ret = (float)  self->offset_xy();
00923    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00924   }
00925  }
00926  return 1;
00927 #ifndef TOLUA_RELEASE
00928  tolua_lerror:
00929  tolua_error(tolua_S,"#ferror in function 'offset_xy'.",&tolua_err);
00930  return 0;
00931 #endif
00932 }
00933 #endif //#ifndef TOLUA_DISABLE
00934 
00935 /* method: set_offset_xy of class  LinearGotoMessage */
00936 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_offset_xy00
00937 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_offset_xy00(lua_State* tolua_S)
00938 {
00939 #ifndef TOLUA_RELEASE
00940  tolua_Error tolua_err;
00941  if (
00942      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00943      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00944      !tolua_isnoobj(tolua_S,3,&tolua_err)
00945  )
00946   goto tolua_lerror;
00947  else
00948 #endif
00949  {
00950   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00951   const float new_offset_xy = ((const float)  tolua_tonumber(tolua_S,2,0));
00952 #ifndef TOLUA_RELEASE
00953   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_offset_xy'", NULL);
00954 #endif
00955   {
00956    self->set_offset_xy(new_offset_xy);
00957   }
00958  }
00959  return 0;
00960 #ifndef TOLUA_RELEASE
00961  tolua_lerror:
00962  tolua_error(tolua_S,"#ferror in function 'set_offset_xy'.",&tolua_err);
00963  return 0;
00964 #endif
00965 }
00966 #endif //#ifndef TOLUA_DISABLE
00967 
00968 /* method: maxlenof_offset_xy of class  LinearGotoMessage */
00969 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_offset_xy00
00970 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_offset_xy00(lua_State* tolua_S)
00971 {
00972 #ifndef TOLUA_RELEASE
00973  tolua_Error tolua_err;
00974  if (
00975      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
00976      !tolua_isnoobj(tolua_S,2,&tolua_err)
00977  )
00978   goto tolua_lerror;
00979  else
00980 #endif
00981  {
00982   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
00983 #ifndef TOLUA_RELEASE
00984   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_offset_xy'", NULL);
00985 #endif
00986   {
00987    int tolua_ret = (int)  self->maxlenof_offset_xy();
00988    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00989   }
00990  }
00991  return 1;
00992 #ifndef TOLUA_RELEASE
00993  tolua_lerror:
00994  tolua_error(tolua_S,"#ferror in function 'maxlenof_offset_xy'.",&tolua_err);
00995  return 0;
00996 #endif
00997 }
00998 #endif //#ifndef TOLUA_DISABLE
00999 
01000 /* method: is_straight of class  LinearGotoMessage */
01001 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_is_straight00
01002 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_is_straight00(lua_State* tolua_S)
01003 {
01004 #ifndef TOLUA_RELEASE
01005  tolua_Error tolua_err;
01006  if (
01007      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01008      !tolua_isnoobj(tolua_S,2,&tolua_err)
01009  )
01010   goto tolua_lerror;
01011  else
01012 #endif
01013  {
01014   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01015 #ifndef TOLUA_RELEASE
01016   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_straight'", NULL);
01017 #endif
01018   {
01019    bool tolua_ret = (bool)  self->is_straight();
01020    tolua_pushboolean(tolua_S,(bool)tolua_ret);
01021   }
01022  }
01023  return 1;
01024 #ifndef TOLUA_RELEASE
01025  tolua_lerror:
01026  tolua_error(tolua_S,"#ferror in function 'is_straight'.",&tolua_err);
01027  return 0;
01028 #endif
01029 }
01030 #endif //#ifndef TOLUA_DISABLE
01031 
01032 /* method: set_straight of class  LinearGotoMessage */
01033 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_straight00
01034 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_straight00(lua_State* tolua_S)
01035 {
01036 #ifndef TOLUA_RELEASE
01037  tolua_Error tolua_err;
01038  if (
01039      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01040      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
01041      !tolua_isnoobj(tolua_S,3,&tolua_err)
01042  )
01043   goto tolua_lerror;
01044  else
01045 #endif
01046  {
01047   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01048   const bool new_straight = ((const bool)  tolua_toboolean(tolua_S,2,0));
01049 #ifndef TOLUA_RELEASE
01050   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_straight'", NULL);
01051 #endif
01052   {
01053    self->set_straight(new_straight);
01054   }
01055  }
01056  return 0;
01057 #ifndef TOLUA_RELEASE
01058  tolua_lerror:
01059  tolua_error(tolua_S,"#ferror in function 'set_straight'.",&tolua_err);
01060  return 0;
01061 #endif
01062 }
01063 #endif //#ifndef TOLUA_DISABLE
01064 
01065 /* method: maxlenof_straight of class  LinearGotoMessage */
01066 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_straight00
01067 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_straight00(lua_State* tolua_S)
01068 {
01069 #ifndef TOLUA_RELEASE
01070  tolua_Error tolua_err;
01071  if (
01072      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01073      !tolua_isnoobj(tolua_S,2,&tolua_err)
01074  )
01075   goto tolua_lerror;
01076  else
01077 #endif
01078  {
01079   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01080 #ifndef TOLUA_RELEASE
01081   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_straight'", NULL);
01082 #endif
01083   {
01084    int tolua_ret = (int)  self->maxlenof_straight();
01085    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01086   }
01087  }
01088  return 1;
01089 #ifndef TOLUA_RELEASE
01090  tolua_lerror:
01091  tolua_error(tolua_S,"#ferror in function 'maxlenof_straight'.",&tolua_err);
01092  return 0;
01093 #endif
01094 }
01095 #endif //#ifndef TOLUA_DISABLE
01096 
01097 /* method: trans_frame of class  LinearGotoMessage */
01098 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_trans_frame00
01099 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_trans_frame00(lua_State* tolua_S)
01100 {
01101 #ifndef TOLUA_RELEASE
01102  tolua_Error tolua_err;
01103  if (
01104      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01105      !tolua_isnoobj(tolua_S,2,&tolua_err)
01106  )
01107   goto tolua_lerror;
01108  else
01109 #endif
01110  {
01111   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01112 #ifndef TOLUA_RELEASE
01113   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'trans_frame'", NULL);
01114 #endif
01115   {
01116    char* tolua_ret = (char*)  self->trans_frame();
01117    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01118   }
01119  }
01120  return 1;
01121 #ifndef TOLUA_RELEASE
01122  tolua_lerror:
01123  tolua_error(tolua_S,"#ferror in function 'trans_frame'.",&tolua_err);
01124  return 0;
01125 #endif
01126 }
01127 #endif //#ifndef TOLUA_DISABLE
01128 
01129 /* method: set_trans_frame of class  LinearGotoMessage */
01130 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_trans_frame00
01131 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_trans_frame00(lua_State* tolua_S)
01132 {
01133 #ifndef TOLUA_RELEASE
01134  tolua_Error tolua_err;
01135  if (
01136      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01137      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
01138      !tolua_isnoobj(tolua_S,3,&tolua_err)
01139  )
01140   goto tolua_lerror;
01141  else
01142 #endif
01143  {
01144   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01145   const char* new_trans_frame = ((const char*)  tolua_tostring(tolua_S,2,0));
01146 #ifndef TOLUA_RELEASE
01147   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_trans_frame'", NULL);
01148 #endif
01149   {
01150    self->set_trans_frame(new_trans_frame);
01151   }
01152  }
01153  return 0;
01154 #ifndef TOLUA_RELEASE
01155  tolua_lerror:
01156  tolua_error(tolua_S,"#ferror in function 'set_trans_frame'.",&tolua_err);
01157  return 0;
01158 #endif
01159 }
01160 #endif //#ifndef TOLUA_DISABLE
01161 
01162 /* method: maxlenof_trans_frame of class  LinearGotoMessage */
01163 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_trans_frame00
01164 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_trans_frame00(lua_State* tolua_S)
01165 {
01166 #ifndef TOLUA_RELEASE
01167  tolua_Error tolua_err;
01168  if (
01169      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01170      !tolua_isnoobj(tolua_S,2,&tolua_err)
01171  )
01172   goto tolua_lerror;
01173  else
01174 #endif
01175  {
01176   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01177 #ifndef TOLUA_RELEASE
01178   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_trans_frame'", NULL);
01179 #endif
01180   {
01181    int tolua_ret = (int)  self->maxlenof_trans_frame();
01182    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01183   }
01184  }
01185  return 1;
01186 #ifndef TOLUA_RELEASE
01187  tolua_lerror:
01188  tolua_error(tolua_S,"#ferror in function 'maxlenof_trans_frame'.",&tolua_err);
01189  return 0;
01190 #endif
01191 }
01192 #endif //#ifndef TOLUA_DISABLE
01193 
01194 /* method: rot_frame of class  LinearGotoMessage */
01195 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_rot_frame00
01196 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_rot_frame00(lua_State* tolua_S)
01197 {
01198 #ifndef TOLUA_RELEASE
01199  tolua_Error tolua_err;
01200  if (
01201      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01202      !tolua_isnoobj(tolua_S,2,&tolua_err)
01203  )
01204   goto tolua_lerror;
01205  else
01206 #endif
01207  {
01208   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01209 #ifndef TOLUA_RELEASE
01210   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'rot_frame'", NULL);
01211 #endif
01212   {
01213    char* tolua_ret = (char*)  self->rot_frame();
01214    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01215   }
01216  }
01217  return 1;
01218 #ifndef TOLUA_RELEASE
01219  tolua_lerror:
01220  tolua_error(tolua_S,"#ferror in function 'rot_frame'.",&tolua_err);
01221  return 0;
01222 #endif
01223 }
01224 #endif //#ifndef TOLUA_DISABLE
01225 
01226 /* method: set_rot_frame of class  LinearGotoMessage */
01227 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_rot_frame00
01228 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_rot_frame00(lua_State* tolua_S)
01229 {
01230 #ifndef TOLUA_RELEASE
01231  tolua_Error tolua_err;
01232  if (
01233      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01234      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
01235      !tolua_isnoobj(tolua_S,3,&tolua_err)
01236  )
01237   goto tolua_lerror;
01238  else
01239 #endif
01240  {
01241   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01242   const char* new_rot_frame = ((const char*)  tolua_tostring(tolua_S,2,0));
01243 #ifndef TOLUA_RELEASE
01244   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_rot_frame'", NULL);
01245 #endif
01246   {
01247    self->set_rot_frame(new_rot_frame);
01248   }
01249  }
01250  return 0;
01251 #ifndef TOLUA_RELEASE
01252  tolua_lerror:
01253  tolua_error(tolua_S,"#ferror in function 'set_rot_frame'.",&tolua_err);
01254  return 0;
01255 #endif
01256 }
01257 #endif //#ifndef TOLUA_DISABLE
01258 
01259 /* method: maxlenof_rot_frame of class  LinearGotoMessage */
01260 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_rot_frame00
01261 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_rot_frame00(lua_State* tolua_S)
01262 {
01263 #ifndef TOLUA_RELEASE
01264  tolua_Error tolua_err;
01265  if (
01266      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01267      !tolua_isnoobj(tolua_S,2,&tolua_err)
01268  )
01269   goto tolua_lerror;
01270  else
01271 #endif
01272  {
01273   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01274 #ifndef TOLUA_RELEASE
01275   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_rot_frame'", NULL);
01276 #endif
01277   {
01278    int tolua_ret = (int)  self->maxlenof_rot_frame();
01279    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01280   }
01281  }
01282  return 1;
01283 #ifndef TOLUA_RELEASE
01284  tolua_lerror:
01285  tolua_error(tolua_S,"#ferror in function 'maxlenof_rot_frame'.",&tolua_err);
01286  return 0;
01287 #endif
01288 }
01289 #endif //#ifndef TOLUA_DISABLE
01290 
01291 /* method: x of class  LinearGotoMessage */
01292 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_x00
01293 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_x00(lua_State* tolua_S)
01294 {
01295 #ifndef TOLUA_RELEASE
01296  tolua_Error tolua_err;
01297  if (
01298      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01299      !tolua_isnoobj(tolua_S,2,&tolua_err)
01300  )
01301   goto tolua_lerror;
01302  else
01303 #endif
01304  {
01305   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01306 #ifndef TOLUA_RELEASE
01307   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
01308 #endif
01309   {
01310    float tolua_ret = (float)  self->x();
01311    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01312   }
01313  }
01314  return 1;
01315 #ifndef TOLUA_RELEASE
01316  tolua_lerror:
01317  tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
01318  return 0;
01319 #endif
01320 }
01321 #endif //#ifndef TOLUA_DISABLE
01322 
01323 /* method: set_x of class  LinearGotoMessage */
01324 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_x00
01325 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_x00(lua_State* tolua_S)
01326 {
01327 #ifndef TOLUA_RELEASE
01328  tolua_Error tolua_err;
01329  if (
01330      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01331      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01332      !tolua_isnoobj(tolua_S,3,&tolua_err)
01333  )
01334   goto tolua_lerror;
01335  else
01336 #endif
01337  {
01338   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01339   const float new_x = ((const float)  tolua_tonumber(tolua_S,2,0));
01340 #ifndef TOLUA_RELEASE
01341   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
01342 #endif
01343   {
01344    self->set_x(new_x);
01345   }
01346  }
01347  return 0;
01348 #ifndef TOLUA_RELEASE
01349  tolua_lerror:
01350  tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
01351  return 0;
01352 #endif
01353 }
01354 #endif //#ifndef TOLUA_DISABLE
01355 
01356 /* method: maxlenof_x of class  LinearGotoMessage */
01357 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_x00
01358 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_x00(lua_State* tolua_S)
01359 {
01360 #ifndef TOLUA_RELEASE
01361  tolua_Error tolua_err;
01362  if (
01363      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01364      !tolua_isnoobj(tolua_S,2,&tolua_err)
01365  )
01366   goto tolua_lerror;
01367  else
01368 #endif
01369  {
01370   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01371 #ifndef TOLUA_RELEASE
01372   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
01373 #endif
01374   {
01375    int tolua_ret = (int)  self->maxlenof_x();
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_x'.",&tolua_err);
01383  return 0;
01384 #endif
01385 }
01386 #endif //#ifndef TOLUA_DISABLE
01387 
01388 /* method: y of class  LinearGotoMessage */
01389 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_y00
01390 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_y00(lua_State* tolua_S)
01391 {
01392 #ifndef TOLUA_RELEASE
01393  tolua_Error tolua_err;
01394  if (
01395      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01396      !tolua_isnoobj(tolua_S,2,&tolua_err)
01397  )
01398   goto tolua_lerror;
01399  else
01400 #endif
01401  {
01402   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01403 #ifndef TOLUA_RELEASE
01404   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
01405 #endif
01406   {
01407    float tolua_ret = (float)  self->y();
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 'y'.",&tolua_err);
01415  return 0;
01416 #endif
01417 }
01418 #endif //#ifndef TOLUA_DISABLE
01419 
01420 /* method: set_y of class  LinearGotoMessage */
01421 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_y00
01422 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_y00(lua_State* tolua_S)
01423 {
01424 #ifndef TOLUA_RELEASE
01425  tolua_Error tolua_err;
01426  if (
01427      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",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::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01436   const float new_y = ((const float)  tolua_tonumber(tolua_S,2,0));
01437 #ifndef TOLUA_RELEASE
01438   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
01439 #endif
01440   {
01441    self->set_y(new_y);
01442   }
01443  }
01444  return 0;
01445 #ifndef TOLUA_RELEASE
01446  tolua_lerror:
01447  tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
01448  return 0;
01449 #endif
01450 }
01451 #endif //#ifndef TOLUA_DISABLE
01452 
01453 /* method: maxlenof_y of class  LinearGotoMessage */
01454 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_y00
01455 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_y00(lua_State* tolua_S)
01456 {
01457 #ifndef TOLUA_RELEASE
01458  tolua_Error tolua_err;
01459  if (
01460      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01461      !tolua_isnoobj(tolua_S,2,&tolua_err)
01462  )
01463   goto tolua_lerror;
01464  else
01465 #endif
01466  {
01467   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01468 #ifndef TOLUA_RELEASE
01469   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
01470 #endif
01471   {
01472    int tolua_ret = (int)  self->maxlenof_y();
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_y'.",&tolua_err);
01480  return 0;
01481 #endif
01482 }
01483 #endif //#ifndef TOLUA_DISABLE
01484 
01485 /* method: z of class  LinearGotoMessage */
01486 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_z00
01487 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_z00(lua_State* tolua_S)
01488 {
01489 #ifndef TOLUA_RELEASE
01490  tolua_Error tolua_err;
01491  if (
01492      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01493      !tolua_isnoobj(tolua_S,2,&tolua_err)
01494  )
01495   goto tolua_lerror;
01496  else
01497 #endif
01498  {
01499   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01500 #ifndef TOLUA_RELEASE
01501   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'z'", NULL);
01502 #endif
01503   {
01504    float tolua_ret = (float)  self->z();
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 'z'.",&tolua_err);
01512  return 0;
01513 #endif
01514 }
01515 #endif //#ifndef TOLUA_DISABLE
01516 
01517 /* method: set_z of class  LinearGotoMessage */
01518 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_z00
01519 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_z00(lua_State* tolua_S)
01520 {
01521 #ifndef TOLUA_RELEASE
01522  tolua_Error tolua_err;
01523  if (
01524      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",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::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01533   const float new_z = ((const float)  tolua_tonumber(tolua_S,2,0));
01534 #ifndef TOLUA_RELEASE
01535   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_z'", NULL);
01536 #endif
01537   {
01538    self->set_z(new_z);
01539   }
01540  }
01541  return 0;
01542 #ifndef TOLUA_RELEASE
01543  tolua_lerror:
01544  tolua_error(tolua_S,"#ferror in function 'set_z'.",&tolua_err);
01545  return 0;
01546 #endif
01547 }
01548 #endif //#ifndef TOLUA_DISABLE
01549 
01550 /* method: maxlenof_z of class  LinearGotoMessage */
01551 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_z00
01552 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_z00(lua_State* tolua_S)
01553 {
01554 #ifndef TOLUA_RELEASE
01555  tolua_Error tolua_err;
01556  if (
01557      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01558      !tolua_isnoobj(tolua_S,2,&tolua_err)
01559  )
01560   goto tolua_lerror;
01561  else
01562 #endif
01563  {
01564   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01565 #ifndef TOLUA_RELEASE
01566   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_z'", NULL);
01567 #endif
01568   {
01569    int tolua_ret = (int)  self->maxlenof_z();
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_z'.",&tolua_err);
01577  return 0;
01578 #endif
01579 }
01580 #endif //#ifndef TOLUA_DISABLE
01581 
01582 /* method: phi of class  LinearGotoMessage */
01583 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_phi00
01584 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_phi00(lua_State* tolua_S)
01585 {
01586 #ifndef TOLUA_RELEASE
01587  tolua_Error tolua_err;
01588  if (
01589      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01590      !tolua_isnoobj(tolua_S,2,&tolua_err)
01591  )
01592   goto tolua_lerror;
01593  else
01594 #endif
01595  {
01596   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01597 #ifndef TOLUA_RELEASE
01598   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'phi'", NULL);
01599 #endif
01600   {
01601    float tolua_ret = (float)  self->phi();
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 'phi'.",&tolua_err);
01609  return 0;
01610 #endif
01611 }
01612 #endif //#ifndef TOLUA_DISABLE
01613 
01614 /* method: set_phi of class  LinearGotoMessage */
01615 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_phi00
01616 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_phi00(lua_State* tolua_S)
01617 {
01618 #ifndef TOLUA_RELEASE
01619  tolua_Error tolua_err;
01620  if (
01621      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",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::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01630   const float new_phi = ((const float)  tolua_tonumber(tolua_S,2,0));
01631 #ifndef TOLUA_RELEASE
01632   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_phi'", NULL);
01633 #endif
01634   {
01635    self->set_phi(new_phi);
01636   }
01637  }
01638  return 0;
01639 #ifndef TOLUA_RELEASE
01640  tolua_lerror:
01641  tolua_error(tolua_S,"#ferror in function 'set_phi'.",&tolua_err);
01642  return 0;
01643 #endif
01644 }
01645 #endif //#ifndef TOLUA_DISABLE
01646 
01647 /* method: maxlenof_phi of class  LinearGotoMessage */
01648 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_phi00
01649 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_phi00(lua_State* tolua_S)
01650 {
01651 #ifndef TOLUA_RELEASE
01652  tolua_Error tolua_err;
01653  if (
01654      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01655      !tolua_isnoobj(tolua_S,2,&tolua_err)
01656  )
01657   goto tolua_lerror;
01658  else
01659 #endif
01660  {
01661   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01662 #ifndef TOLUA_RELEASE
01663   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_phi'", NULL);
01664 #endif
01665   {
01666    int tolua_ret = (int)  self->maxlenof_phi();
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_phi'.",&tolua_err);
01674  return 0;
01675 #endif
01676 }
01677 #endif //#ifndef TOLUA_DISABLE
01678 
01679 /* method: theta of class  LinearGotoMessage */
01680 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta00
01681 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta00(lua_State* tolua_S)
01682 {
01683 #ifndef TOLUA_RELEASE
01684  tolua_Error tolua_err;
01685  if (
01686      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01687      !tolua_isnoobj(tolua_S,2,&tolua_err)
01688  )
01689   goto tolua_lerror;
01690  else
01691 #endif
01692  {
01693   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01694 #ifndef TOLUA_RELEASE
01695   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'theta'", NULL);
01696 #endif
01697   {
01698    float tolua_ret = (float)  self->theta();
01699    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01700   }
01701  }
01702  return 1;
01703 #ifndef TOLUA_RELEASE
01704  tolua_lerror:
01705  tolua_error(tolua_S,"#ferror in function 'theta'.",&tolua_err);
01706  return 0;
01707 #endif
01708 }
01709 #endif //#ifndef TOLUA_DISABLE
01710 
01711 /* method: set_theta of class  LinearGotoMessage */
01712 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta00
01713 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta00(lua_State* tolua_S)
01714 {
01715 #ifndef TOLUA_RELEASE
01716  tolua_Error tolua_err;
01717  if (
01718      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01719      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01720      !tolua_isnoobj(tolua_S,3,&tolua_err)
01721  )
01722   goto tolua_lerror;
01723  else
01724 #endif
01725  {
01726   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01727   const float new_theta = ((const float)  tolua_tonumber(tolua_S,2,0));
01728 #ifndef TOLUA_RELEASE
01729   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_theta'", NULL);
01730 #endif
01731   {
01732    self->set_theta(new_theta);
01733   }
01734  }
01735  return 0;
01736 #ifndef TOLUA_RELEASE
01737  tolua_lerror:
01738  tolua_error(tolua_S,"#ferror in function 'set_theta'.",&tolua_err);
01739  return 0;
01740 #endif
01741 }
01742 #endif //#ifndef TOLUA_DISABLE
01743 
01744 /* method: maxlenof_theta of class  LinearGotoMessage */
01745 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta00
01746 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta00(lua_State* tolua_S)
01747 {
01748 #ifndef TOLUA_RELEASE
01749  tolua_Error tolua_err;
01750  if (
01751      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01752      !tolua_isnoobj(tolua_S,2,&tolua_err)
01753  )
01754   goto tolua_lerror;
01755  else
01756 #endif
01757  {
01758   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01759 #ifndef TOLUA_RELEASE
01760   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_theta'", NULL);
01761 #endif
01762   {
01763    int tolua_ret = (int)  self->maxlenof_theta();
01764    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01765   }
01766  }
01767  return 1;
01768 #ifndef TOLUA_RELEASE
01769  tolua_lerror:
01770  tolua_error(tolua_S,"#ferror in function 'maxlenof_theta'.",&tolua_err);
01771  return 0;
01772 #endif
01773 }
01774 #endif //#ifndef TOLUA_DISABLE
01775 
01776 /* method: psi of class  LinearGotoMessage */
01777 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_psi00
01778 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_psi00(lua_State* tolua_S)
01779 {
01780 #ifndef TOLUA_RELEASE
01781  tolua_Error tolua_err;
01782  if (
01783      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01784      !tolua_isnoobj(tolua_S,2,&tolua_err)
01785  )
01786   goto tolua_lerror;
01787  else
01788 #endif
01789  {
01790   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01791 #ifndef TOLUA_RELEASE
01792   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'psi'", NULL);
01793 #endif
01794   {
01795    float tolua_ret = (float)  self->psi();
01796    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01797   }
01798  }
01799  return 1;
01800 #ifndef TOLUA_RELEASE
01801  tolua_lerror:
01802  tolua_error(tolua_S,"#ferror in function 'psi'.",&tolua_err);
01803  return 0;
01804 #endif
01805 }
01806 #endif //#ifndef TOLUA_DISABLE
01807 
01808 /* method: set_psi of class  LinearGotoMessage */
01809 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_psi00
01810 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_psi00(lua_State* tolua_S)
01811 {
01812 #ifndef TOLUA_RELEASE
01813  tolua_Error tolua_err;
01814  if (
01815      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01816      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01817      !tolua_isnoobj(tolua_S,3,&tolua_err)
01818  )
01819   goto tolua_lerror;
01820  else
01821 #endif
01822  {
01823   fawkes::KatanaInterface::LinearGotoMessage* self = (fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01824   const float new_psi = ((const float)  tolua_tonumber(tolua_S,2,0));
01825 #ifndef TOLUA_RELEASE
01826   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_psi'", NULL);
01827 #endif
01828   {
01829    self->set_psi(new_psi);
01830   }
01831  }
01832  return 0;
01833 #ifndef TOLUA_RELEASE
01834  tolua_lerror:
01835  tolua_error(tolua_S,"#ferror in function 'set_psi'.",&tolua_err);
01836  return 0;
01837 #endif
01838 }
01839 #endif //#ifndef TOLUA_DISABLE
01840 
01841 /* method: maxlenof_psi of class  LinearGotoMessage */
01842 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_psi00
01843 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_psi00(lua_State* tolua_S)
01844 {
01845 #ifndef TOLUA_RELEASE
01846  tolua_Error tolua_err;
01847  if (
01848      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoMessage",0,&tolua_err) ||
01849      !tolua_isnoobj(tolua_S,2,&tolua_err)
01850  )
01851   goto tolua_lerror;
01852  else
01853 #endif
01854  {
01855   const fawkes::KatanaInterface::LinearGotoMessage* self = (const fawkes::KatanaInterface::LinearGotoMessage*)  tolua_tousertype(tolua_S,1,0);
01856 #ifndef TOLUA_RELEASE
01857   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_psi'", NULL);
01858 #endif
01859   {
01860    int tolua_ret = (int)  self->maxlenof_psi();
01861    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01862   }
01863  }
01864  return 1;
01865 #ifndef TOLUA_RELEASE
01866  tolua_lerror:
01867  tolua_error(tolua_S,"#ferror in function 'maxlenof_psi'.",&tolua_err);
01868  return 0;
01869 #endif
01870 }
01871 #endif //#ifndef TOLUA_DISABLE
01872 
01873 /* method: new of class  LinearGotoKniMessage */
01874 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00
01875 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00(lua_State* tolua_S)
01876 {
01877 #ifndef TOLUA_RELEASE
01878  tolua_Error tolua_err;
01879  if (
01880      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
01881      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01882      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01883      !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
01884      !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
01885      !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
01886      !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
01887      !tolua_isnoobj(tolua_S,8,&tolua_err)
01888  )
01889   goto tolua_lerror;
01890  else
01891 #endif
01892  {
01893   float ini_x = ((float)  tolua_tonumber(tolua_S,2,0));
01894   float ini_y = ((float)  tolua_tonumber(tolua_S,3,0));
01895   float ini_z = ((float)  tolua_tonumber(tolua_S,4,0));
01896   float ini_phi = ((float)  tolua_tonumber(tolua_S,5,0));
01897   float ini_theta = ((float)  tolua_tonumber(tolua_S,6,0));
01898   float ini_psi = ((float)  tolua_tonumber(tolua_S,7,0));
01899   {
01900    fawkes::KatanaInterface::LinearGotoKniMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoKniMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoKniMessage)(ini_x,ini_y,ini_z,ini_phi,ini_theta,ini_psi));
01901     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoKniMessage");
01902   }
01903  }
01904  return 1;
01905 #ifndef TOLUA_RELEASE
01906  tolua_lerror:
01907  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
01908  return 0;
01909 #endif
01910 }
01911 #endif //#ifndef TOLUA_DISABLE
01912 
01913 /* method: new_local of class  LinearGotoKniMessage */
01914 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00_local
01915 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00_local(lua_State* tolua_S)
01916 {
01917 #ifndef TOLUA_RELEASE
01918  tolua_Error tolua_err;
01919  if (
01920      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
01921      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01922      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
01923      !tolua_isnumber(tolua_S,4,0,&tolua_err) ||
01924      !tolua_isnumber(tolua_S,5,0,&tolua_err) ||
01925      !tolua_isnumber(tolua_S,6,0,&tolua_err) ||
01926      !tolua_isnumber(tolua_S,7,0,&tolua_err) ||
01927      !tolua_isnoobj(tolua_S,8,&tolua_err)
01928  )
01929   goto tolua_lerror;
01930  else
01931 #endif
01932  {
01933   float ini_x = ((float)  tolua_tonumber(tolua_S,2,0));
01934   float ini_y = ((float)  tolua_tonumber(tolua_S,3,0));
01935   float ini_z = ((float)  tolua_tonumber(tolua_S,4,0));
01936   float ini_phi = ((float)  tolua_tonumber(tolua_S,5,0));
01937   float ini_theta = ((float)  tolua_tonumber(tolua_S,6,0));
01938   float ini_psi = ((float)  tolua_tonumber(tolua_S,7,0));
01939   {
01940    fawkes::KatanaInterface::LinearGotoKniMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoKniMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoKniMessage)(ini_x,ini_y,ini_z,ini_phi,ini_theta,ini_psi));
01941     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoKniMessage");
01942     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
01943   }
01944  }
01945  return 1;
01946 #ifndef TOLUA_RELEASE
01947  tolua_lerror:
01948  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
01949  return 0;
01950 #endif
01951 }
01952 #endif //#ifndef TOLUA_DISABLE
01953 
01954 /* method: new of class  LinearGotoKniMessage */
01955 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01
01956 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01(lua_State* tolua_S)
01957 {
01958  tolua_Error tolua_err;
01959  if (
01960      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
01961      !tolua_isnoobj(tolua_S,2,&tolua_err)
01962  )
01963   goto tolua_lerror;
01964  else
01965  {
01966   {
01967    fawkes::KatanaInterface::LinearGotoKniMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoKniMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoKniMessage)());
01968     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoKniMessage");
01969   }
01970  }
01971  return 1;
01972 tolua_lerror:
01973  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00(tolua_S);
01974 }
01975 #endif //#ifndef TOLUA_DISABLE
01976 
01977 /* method: new_local of class  LinearGotoKniMessage */
01978 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01_local
01979 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01_local(lua_State* tolua_S)
01980 {
01981  tolua_Error tolua_err;
01982  if (
01983      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
01984      !tolua_isnoobj(tolua_S,2,&tolua_err)
01985  )
01986   goto tolua_lerror;
01987  else
01988  {
01989   {
01990    fawkes::KatanaInterface::LinearGotoKniMessage* tolua_ret = (fawkes::KatanaInterface::LinearGotoKniMessage*)  Mtolua_new((fawkes::KatanaInterface::LinearGotoKniMessage)());
01991     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::LinearGotoKniMessage");
01992     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
01993   }
01994  }
01995  return 1;
01996 tolua_lerror:
01997  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00_local(tolua_S);
01998 }
01999 #endif //#ifndef TOLUA_DISABLE
02000 
02001 /* method: delete of class  LinearGotoKniMessage */
02002 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_delete00
02003 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_delete00(lua_State* tolua_S)
02004 {
02005 #ifndef TOLUA_RELEASE
02006  tolua_Error tolua_err;
02007  if (
02008      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02009      !tolua_isnoobj(tolua_S,2,&tolua_err)
02010  )
02011   goto tolua_lerror;
02012  else
02013 #endif
02014  {
02015   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02016 #ifndef TOLUA_RELEASE
02017   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
02018 #endif
02019   Mtolua_delete(self);
02020  }
02021  return 0;
02022 #ifndef TOLUA_RELEASE
02023  tolua_lerror:
02024  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
02025  return 0;
02026 #endif
02027 }
02028 #endif //#ifndef TOLUA_DISABLE
02029 
02030 /* method: x of class  LinearGotoKniMessage */
02031 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_x00
02032 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_x00(lua_State* tolua_S)
02033 {
02034 #ifndef TOLUA_RELEASE
02035  tolua_Error tolua_err;
02036  if (
02037      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02038      !tolua_isnoobj(tolua_S,2,&tolua_err)
02039  )
02040   goto tolua_lerror;
02041  else
02042 #endif
02043  {
02044   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02045 #ifndef TOLUA_RELEASE
02046   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
02047 #endif
02048   {
02049    float tolua_ret = (float)  self->x();
02050    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02051   }
02052  }
02053  return 1;
02054 #ifndef TOLUA_RELEASE
02055  tolua_lerror:
02056  tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
02057  return 0;
02058 #endif
02059 }
02060 #endif //#ifndef TOLUA_DISABLE
02061 
02062 /* method: set_x of class  LinearGotoKniMessage */
02063 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_x00
02064 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_x00(lua_State* tolua_S)
02065 {
02066 #ifndef TOLUA_RELEASE
02067  tolua_Error tolua_err;
02068  if (
02069      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02070      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02071      !tolua_isnoobj(tolua_S,3,&tolua_err)
02072  )
02073   goto tolua_lerror;
02074  else
02075 #endif
02076  {
02077   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02078   const float new_x = ((const float)  tolua_tonumber(tolua_S,2,0));
02079 #ifndef TOLUA_RELEASE
02080   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
02081 #endif
02082   {
02083    self->set_x(new_x);
02084   }
02085  }
02086  return 0;
02087 #ifndef TOLUA_RELEASE
02088  tolua_lerror:
02089  tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
02090  return 0;
02091 #endif
02092 }
02093 #endif //#ifndef TOLUA_DISABLE
02094 
02095 /* method: maxlenof_x of class  LinearGotoKniMessage */
02096 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_x00
02097 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_x00(lua_State* tolua_S)
02098 {
02099 #ifndef TOLUA_RELEASE
02100  tolua_Error tolua_err;
02101  if (
02102      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02103      !tolua_isnoobj(tolua_S,2,&tolua_err)
02104  )
02105   goto tolua_lerror;
02106  else
02107 #endif
02108  {
02109   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02110 #ifndef TOLUA_RELEASE
02111   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
02112 #endif
02113   {
02114    int tolua_ret = (int)  self->maxlenof_x();
02115    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02116   }
02117  }
02118  return 1;
02119 #ifndef TOLUA_RELEASE
02120  tolua_lerror:
02121  tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
02122  return 0;
02123 #endif
02124 }
02125 #endif //#ifndef TOLUA_DISABLE
02126 
02127 /* method: y of class  LinearGotoKniMessage */
02128 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_y00
02129 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_y00(lua_State* tolua_S)
02130 {
02131 #ifndef TOLUA_RELEASE
02132  tolua_Error tolua_err;
02133  if (
02134      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02135      !tolua_isnoobj(tolua_S,2,&tolua_err)
02136  )
02137   goto tolua_lerror;
02138  else
02139 #endif
02140  {
02141   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02142 #ifndef TOLUA_RELEASE
02143   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
02144 #endif
02145   {
02146    float tolua_ret = (float)  self->y();
02147    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02148   }
02149  }
02150  return 1;
02151 #ifndef TOLUA_RELEASE
02152  tolua_lerror:
02153  tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
02154  return 0;
02155 #endif
02156 }
02157 #endif //#ifndef TOLUA_DISABLE
02158 
02159 /* method: set_y of class  LinearGotoKniMessage */
02160 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_y00
02161 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_y00(lua_State* tolua_S)
02162 {
02163 #ifndef TOLUA_RELEASE
02164  tolua_Error tolua_err;
02165  if (
02166      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02167      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02168      !tolua_isnoobj(tolua_S,3,&tolua_err)
02169  )
02170   goto tolua_lerror;
02171  else
02172 #endif
02173  {
02174   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02175   const float new_y = ((const float)  tolua_tonumber(tolua_S,2,0));
02176 #ifndef TOLUA_RELEASE
02177   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
02178 #endif
02179   {
02180    self->set_y(new_y);
02181   }
02182  }
02183  return 0;
02184 #ifndef TOLUA_RELEASE
02185  tolua_lerror:
02186  tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
02187  return 0;
02188 #endif
02189 }
02190 #endif //#ifndef TOLUA_DISABLE
02191 
02192 /* method: maxlenof_y of class  LinearGotoKniMessage */
02193 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_y00
02194 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_y00(lua_State* tolua_S)
02195 {
02196 #ifndef TOLUA_RELEASE
02197  tolua_Error tolua_err;
02198  if (
02199      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02200      !tolua_isnoobj(tolua_S,2,&tolua_err)
02201  )
02202   goto tolua_lerror;
02203  else
02204 #endif
02205  {
02206   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02207 #ifndef TOLUA_RELEASE
02208   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
02209 #endif
02210   {
02211    int tolua_ret = (int)  self->maxlenof_y();
02212    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02213   }
02214  }
02215  return 1;
02216 #ifndef TOLUA_RELEASE
02217  tolua_lerror:
02218  tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
02219  return 0;
02220 #endif
02221 }
02222 #endif //#ifndef TOLUA_DISABLE
02223 
02224 /* method: z of class  LinearGotoKniMessage */
02225 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_z00
02226 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_z00(lua_State* tolua_S)
02227 {
02228 #ifndef TOLUA_RELEASE
02229  tolua_Error tolua_err;
02230  if (
02231      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02232      !tolua_isnoobj(tolua_S,2,&tolua_err)
02233  )
02234   goto tolua_lerror;
02235  else
02236 #endif
02237  {
02238   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02239 #ifndef TOLUA_RELEASE
02240   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'z'", NULL);
02241 #endif
02242   {
02243    float tolua_ret = (float)  self->z();
02244    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02245   }
02246  }
02247  return 1;
02248 #ifndef TOLUA_RELEASE
02249  tolua_lerror:
02250  tolua_error(tolua_S,"#ferror in function 'z'.",&tolua_err);
02251  return 0;
02252 #endif
02253 }
02254 #endif //#ifndef TOLUA_DISABLE
02255 
02256 /* method: set_z of class  LinearGotoKniMessage */
02257 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_z00
02258 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_z00(lua_State* tolua_S)
02259 {
02260 #ifndef TOLUA_RELEASE
02261  tolua_Error tolua_err;
02262  if (
02263      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02264      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02265      !tolua_isnoobj(tolua_S,3,&tolua_err)
02266  )
02267   goto tolua_lerror;
02268  else
02269 #endif
02270  {
02271   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02272   const float new_z = ((const float)  tolua_tonumber(tolua_S,2,0));
02273 #ifndef TOLUA_RELEASE
02274   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_z'", NULL);
02275 #endif
02276   {
02277    self->set_z(new_z);
02278   }
02279  }
02280  return 0;
02281 #ifndef TOLUA_RELEASE
02282  tolua_lerror:
02283  tolua_error(tolua_S,"#ferror in function 'set_z'.",&tolua_err);
02284  return 0;
02285 #endif
02286 }
02287 #endif //#ifndef TOLUA_DISABLE
02288 
02289 /* method: maxlenof_z of class  LinearGotoKniMessage */
02290 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_z00
02291 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_z00(lua_State* tolua_S)
02292 {
02293 #ifndef TOLUA_RELEASE
02294  tolua_Error tolua_err;
02295  if (
02296      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02297      !tolua_isnoobj(tolua_S,2,&tolua_err)
02298  )
02299   goto tolua_lerror;
02300  else
02301 #endif
02302  {
02303   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02304 #ifndef TOLUA_RELEASE
02305   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_z'", NULL);
02306 #endif
02307   {
02308    int tolua_ret = (int)  self->maxlenof_z();
02309    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02310   }
02311  }
02312  return 1;
02313 #ifndef TOLUA_RELEASE
02314  tolua_lerror:
02315  tolua_error(tolua_S,"#ferror in function 'maxlenof_z'.",&tolua_err);
02316  return 0;
02317 #endif
02318 }
02319 #endif //#ifndef TOLUA_DISABLE
02320 
02321 /* method: phi of class  LinearGotoKniMessage */
02322 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_phi00
02323 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_phi00(lua_State* tolua_S)
02324 {
02325 #ifndef TOLUA_RELEASE
02326  tolua_Error tolua_err;
02327  if (
02328      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02329      !tolua_isnoobj(tolua_S,2,&tolua_err)
02330  )
02331   goto tolua_lerror;
02332  else
02333 #endif
02334  {
02335   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02336 #ifndef TOLUA_RELEASE
02337   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'phi'", NULL);
02338 #endif
02339   {
02340    float tolua_ret = (float)  self->phi();
02341    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02342   }
02343  }
02344  return 1;
02345 #ifndef TOLUA_RELEASE
02346  tolua_lerror:
02347  tolua_error(tolua_S,"#ferror in function 'phi'.",&tolua_err);
02348  return 0;
02349 #endif
02350 }
02351 #endif //#ifndef TOLUA_DISABLE
02352 
02353 /* method: set_phi of class  LinearGotoKniMessage */
02354 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_phi00
02355 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_phi00(lua_State* tolua_S)
02356 {
02357 #ifndef TOLUA_RELEASE
02358  tolua_Error tolua_err;
02359  if (
02360      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02361      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02362      !tolua_isnoobj(tolua_S,3,&tolua_err)
02363  )
02364   goto tolua_lerror;
02365  else
02366 #endif
02367  {
02368   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02369   const float new_phi = ((const float)  tolua_tonumber(tolua_S,2,0));
02370 #ifndef TOLUA_RELEASE
02371   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_phi'", NULL);
02372 #endif
02373   {
02374    self->set_phi(new_phi);
02375   }
02376  }
02377  return 0;
02378 #ifndef TOLUA_RELEASE
02379  tolua_lerror:
02380  tolua_error(tolua_S,"#ferror in function 'set_phi'.",&tolua_err);
02381  return 0;
02382 #endif
02383 }
02384 #endif //#ifndef TOLUA_DISABLE
02385 
02386 /* method: maxlenof_phi of class  LinearGotoKniMessage */
02387 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_phi00
02388 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_phi00(lua_State* tolua_S)
02389 {
02390 #ifndef TOLUA_RELEASE
02391  tolua_Error tolua_err;
02392  if (
02393      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02394      !tolua_isnoobj(tolua_S,2,&tolua_err)
02395  )
02396   goto tolua_lerror;
02397  else
02398 #endif
02399  {
02400   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02401 #ifndef TOLUA_RELEASE
02402   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_phi'", NULL);
02403 #endif
02404   {
02405    int tolua_ret = (int)  self->maxlenof_phi();
02406    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02407   }
02408  }
02409  return 1;
02410 #ifndef TOLUA_RELEASE
02411  tolua_lerror:
02412  tolua_error(tolua_S,"#ferror in function 'maxlenof_phi'.",&tolua_err);
02413  return 0;
02414 #endif
02415 }
02416 #endif //#ifndef TOLUA_DISABLE
02417 
02418 /* method: theta of class  LinearGotoKniMessage */
02419 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_theta00
02420 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_theta00(lua_State* tolua_S)
02421 {
02422 #ifndef TOLUA_RELEASE
02423  tolua_Error tolua_err;
02424  if (
02425      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02426      !tolua_isnoobj(tolua_S,2,&tolua_err)
02427  )
02428   goto tolua_lerror;
02429  else
02430 #endif
02431  {
02432   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02433 #ifndef TOLUA_RELEASE
02434   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'theta'", NULL);
02435 #endif
02436   {
02437    float tolua_ret = (float)  self->theta();
02438    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02439   }
02440  }
02441  return 1;
02442 #ifndef TOLUA_RELEASE
02443  tolua_lerror:
02444  tolua_error(tolua_S,"#ferror in function 'theta'.",&tolua_err);
02445  return 0;
02446 #endif
02447 }
02448 #endif //#ifndef TOLUA_DISABLE
02449 
02450 /* method: set_theta of class  LinearGotoKniMessage */
02451 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_theta00
02452 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_theta00(lua_State* tolua_S)
02453 {
02454 #ifndef TOLUA_RELEASE
02455  tolua_Error tolua_err;
02456  if (
02457      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02458      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02459      !tolua_isnoobj(tolua_S,3,&tolua_err)
02460  )
02461   goto tolua_lerror;
02462  else
02463 #endif
02464  {
02465   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02466   const float new_theta = ((const float)  tolua_tonumber(tolua_S,2,0));
02467 #ifndef TOLUA_RELEASE
02468   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_theta'", NULL);
02469 #endif
02470   {
02471    self->set_theta(new_theta);
02472   }
02473  }
02474  return 0;
02475 #ifndef TOLUA_RELEASE
02476  tolua_lerror:
02477  tolua_error(tolua_S,"#ferror in function 'set_theta'.",&tolua_err);
02478  return 0;
02479 #endif
02480 }
02481 #endif //#ifndef TOLUA_DISABLE
02482 
02483 /* method: maxlenof_theta of class  LinearGotoKniMessage */
02484 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_theta00
02485 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_theta00(lua_State* tolua_S)
02486 {
02487 #ifndef TOLUA_RELEASE
02488  tolua_Error tolua_err;
02489  if (
02490      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02491      !tolua_isnoobj(tolua_S,2,&tolua_err)
02492  )
02493   goto tolua_lerror;
02494  else
02495 #endif
02496  {
02497   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02498 #ifndef TOLUA_RELEASE
02499   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_theta'", NULL);
02500 #endif
02501   {
02502    int tolua_ret = (int)  self->maxlenof_theta();
02503    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02504   }
02505  }
02506  return 1;
02507 #ifndef TOLUA_RELEASE
02508  tolua_lerror:
02509  tolua_error(tolua_S,"#ferror in function 'maxlenof_theta'.",&tolua_err);
02510  return 0;
02511 #endif
02512 }
02513 #endif //#ifndef TOLUA_DISABLE
02514 
02515 /* method: psi of class  LinearGotoKniMessage */
02516 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_psi00
02517 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_psi00(lua_State* tolua_S)
02518 {
02519 #ifndef TOLUA_RELEASE
02520  tolua_Error tolua_err;
02521  if (
02522      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02523      !tolua_isnoobj(tolua_S,2,&tolua_err)
02524  )
02525   goto tolua_lerror;
02526  else
02527 #endif
02528  {
02529   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02530 #ifndef TOLUA_RELEASE
02531   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'psi'", NULL);
02532 #endif
02533   {
02534    float tolua_ret = (float)  self->psi();
02535    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02536   }
02537  }
02538  return 1;
02539 #ifndef TOLUA_RELEASE
02540  tolua_lerror:
02541  tolua_error(tolua_S,"#ferror in function 'psi'.",&tolua_err);
02542  return 0;
02543 #endif
02544 }
02545 #endif //#ifndef TOLUA_DISABLE
02546 
02547 /* method: set_psi of class  LinearGotoKniMessage */
02548 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_psi00
02549 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_psi00(lua_State* tolua_S)
02550 {
02551 #ifndef TOLUA_RELEASE
02552  tolua_Error tolua_err;
02553  if (
02554      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02555      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02556      !tolua_isnoobj(tolua_S,3,&tolua_err)
02557  )
02558   goto tolua_lerror;
02559  else
02560 #endif
02561  {
02562   fawkes::KatanaInterface::LinearGotoKniMessage* self = (fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02563   const float new_psi = ((const float)  tolua_tonumber(tolua_S,2,0));
02564 #ifndef TOLUA_RELEASE
02565   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_psi'", NULL);
02566 #endif
02567   {
02568    self->set_psi(new_psi);
02569   }
02570  }
02571  return 0;
02572 #ifndef TOLUA_RELEASE
02573  tolua_lerror:
02574  tolua_error(tolua_S,"#ferror in function 'set_psi'.",&tolua_err);
02575  return 0;
02576 #endif
02577 }
02578 #endif //#ifndef TOLUA_DISABLE
02579 
02580 /* method: maxlenof_psi of class  LinearGotoKniMessage */
02581 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_psi00
02582 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_psi00(lua_State* tolua_S)
02583 {
02584 #ifndef TOLUA_RELEASE
02585  tolua_Error tolua_err;
02586  if (
02587      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::LinearGotoKniMessage",0,&tolua_err) ||
02588      !tolua_isnoobj(tolua_S,2,&tolua_err)
02589  )
02590   goto tolua_lerror;
02591  else
02592 #endif
02593  {
02594   const fawkes::KatanaInterface::LinearGotoKniMessage* self = (const fawkes::KatanaInterface::LinearGotoKniMessage*)  tolua_tousertype(tolua_S,1,0);
02595 #ifndef TOLUA_RELEASE
02596   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_psi'", NULL);
02597 #endif
02598   {
02599    int tolua_ret = (int)  self->maxlenof_psi();
02600    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02601   }
02602  }
02603  return 1;
02604 #ifndef TOLUA_RELEASE
02605  tolua_lerror:
02606  tolua_error(tolua_S,"#ferror in function 'maxlenof_psi'.",&tolua_err);
02607  return 0;
02608 #endif
02609 }
02610 #endif //#ifndef TOLUA_DISABLE
02611 
02612 /* method: new of class  ObjectGotoMessage */
02613 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00
02614 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00(lua_State* tolua_S)
02615 {
02616 #ifndef TOLUA_RELEASE
02617  tolua_Error tolua_err;
02618  if (
02619      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02620      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
02621      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
02622      !tolua_isnoobj(tolua_S,4,&tolua_err)
02623  )
02624   goto tolua_lerror;
02625  else
02626 #endif
02627  {
02628   char* ini_object = ((char*)  tolua_tostring(tolua_S,2,0));
02629   float ini_rot_x = ((float)  tolua_tonumber(tolua_S,3,0));
02630   {
02631    fawkes::KatanaInterface::ObjectGotoMessage* tolua_ret = (fawkes::KatanaInterface::ObjectGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::ObjectGotoMessage)(ini_object,ini_rot_x));
02632     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ObjectGotoMessage");
02633   }
02634  }
02635  return 1;
02636 #ifndef TOLUA_RELEASE
02637  tolua_lerror:
02638  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02639  return 0;
02640 #endif
02641 }
02642 #endif //#ifndef TOLUA_DISABLE
02643 
02644 /* method: new_local of class  ObjectGotoMessage */
02645 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00_local
02646 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00_local(lua_State* tolua_S)
02647 {
02648 #ifndef TOLUA_RELEASE
02649  tolua_Error tolua_err;
02650  if (
02651      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02652      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
02653      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
02654      !tolua_isnoobj(tolua_S,4,&tolua_err)
02655  )
02656   goto tolua_lerror;
02657  else
02658 #endif
02659  {
02660   char* ini_object = ((char*)  tolua_tostring(tolua_S,2,0));
02661   float ini_rot_x = ((float)  tolua_tonumber(tolua_S,3,0));
02662   {
02663    fawkes::KatanaInterface::ObjectGotoMessage* tolua_ret = (fawkes::KatanaInterface::ObjectGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::ObjectGotoMessage)(ini_object,ini_rot_x));
02664     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ObjectGotoMessage");
02665     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02666   }
02667  }
02668  return 1;
02669 #ifndef TOLUA_RELEASE
02670  tolua_lerror:
02671  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02672  return 0;
02673 #endif
02674 }
02675 #endif //#ifndef TOLUA_DISABLE
02676 
02677 /* method: new of class  ObjectGotoMessage */
02678 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01
02679 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01(lua_State* tolua_S)
02680 {
02681  tolua_Error tolua_err;
02682  if (
02683      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02684      !tolua_isnoobj(tolua_S,2,&tolua_err)
02685  )
02686   goto tolua_lerror;
02687  else
02688  {
02689   {
02690    fawkes::KatanaInterface::ObjectGotoMessage* tolua_ret = (fawkes::KatanaInterface::ObjectGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::ObjectGotoMessage)());
02691     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ObjectGotoMessage");
02692   }
02693  }
02694  return 1;
02695 tolua_lerror:
02696  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00(tolua_S);
02697 }
02698 #endif //#ifndef TOLUA_DISABLE
02699 
02700 /* method: new_local of class  ObjectGotoMessage */
02701 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01_local
02702 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01_local(lua_State* tolua_S)
02703 {
02704  tolua_Error tolua_err;
02705  if (
02706      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02707      !tolua_isnoobj(tolua_S,2,&tolua_err)
02708  )
02709   goto tolua_lerror;
02710  else
02711  {
02712   {
02713    fawkes::KatanaInterface::ObjectGotoMessage* tolua_ret = (fawkes::KatanaInterface::ObjectGotoMessage*)  Mtolua_new((fawkes::KatanaInterface::ObjectGotoMessage)());
02714     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::ObjectGotoMessage");
02715     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02716   }
02717  }
02718  return 1;
02719 tolua_lerror:
02720  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00_local(tolua_S);
02721 }
02722 #endif //#ifndef TOLUA_DISABLE
02723 
02724 /* method: delete of class  ObjectGotoMessage */
02725 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_delete00
02726 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_delete00(lua_State* tolua_S)
02727 {
02728 #ifndef TOLUA_RELEASE
02729  tolua_Error tolua_err;
02730  if (
02731      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02732      !tolua_isnoobj(tolua_S,2,&tolua_err)
02733  )
02734   goto tolua_lerror;
02735  else
02736 #endif
02737  {
02738   fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02739 #ifndef TOLUA_RELEASE
02740   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
02741 #endif
02742   Mtolua_delete(self);
02743  }
02744  return 0;
02745 #ifndef TOLUA_RELEASE
02746  tolua_lerror:
02747  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
02748  return 0;
02749 #endif
02750 }
02751 #endif //#ifndef TOLUA_DISABLE
02752 
02753 /* method: object of class  ObjectGotoMessage */
02754 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_object00
02755 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_object00(lua_State* tolua_S)
02756 {
02757 #ifndef TOLUA_RELEASE
02758  tolua_Error tolua_err;
02759  if (
02760      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02761      !tolua_isnoobj(tolua_S,2,&tolua_err)
02762  )
02763   goto tolua_lerror;
02764  else
02765 #endif
02766  {
02767   fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02768 #ifndef TOLUA_RELEASE
02769   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'object'", NULL);
02770 #endif
02771   {
02772    char* tolua_ret = (char*)  self->object();
02773    tolua_pushstring(tolua_S,(const char*)tolua_ret);
02774   }
02775  }
02776  return 1;
02777 #ifndef TOLUA_RELEASE
02778  tolua_lerror:
02779  tolua_error(tolua_S,"#ferror in function 'object'.",&tolua_err);
02780  return 0;
02781 #endif
02782 }
02783 #endif //#ifndef TOLUA_DISABLE
02784 
02785 /* method: set_object of class  ObjectGotoMessage */
02786 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_object00
02787 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_object00(lua_State* tolua_S)
02788 {
02789 #ifndef TOLUA_RELEASE
02790  tolua_Error tolua_err;
02791  if (
02792      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02793      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
02794      !tolua_isnoobj(tolua_S,3,&tolua_err)
02795  )
02796   goto tolua_lerror;
02797  else
02798 #endif
02799  {
02800   fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02801   const char* new_object = ((const char*)  tolua_tostring(tolua_S,2,0));
02802 #ifndef TOLUA_RELEASE
02803   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_object'", NULL);
02804 #endif
02805   {
02806    self->set_object(new_object);
02807   }
02808  }
02809  return 0;
02810 #ifndef TOLUA_RELEASE
02811  tolua_lerror:
02812  tolua_error(tolua_S,"#ferror in function 'set_object'.",&tolua_err);
02813  return 0;
02814 #endif
02815 }
02816 #endif //#ifndef TOLUA_DISABLE
02817 
02818 /* method: maxlenof_object of class  ObjectGotoMessage */
02819 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_object00
02820 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_object00(lua_State* tolua_S)
02821 {
02822 #ifndef TOLUA_RELEASE
02823  tolua_Error tolua_err;
02824  if (
02825      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02826      !tolua_isnoobj(tolua_S,2,&tolua_err)
02827  )
02828   goto tolua_lerror;
02829  else
02830 #endif
02831  {
02832   const fawkes::KatanaInterface::ObjectGotoMessage* self = (const fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02833 #ifndef TOLUA_RELEASE
02834   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_object'", NULL);
02835 #endif
02836   {
02837    int tolua_ret = (int)  self->maxlenof_object();
02838    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02839   }
02840  }
02841  return 1;
02842 #ifndef TOLUA_RELEASE
02843  tolua_lerror:
02844  tolua_error(tolua_S,"#ferror in function 'maxlenof_object'.",&tolua_err);
02845  return 0;
02846 #endif
02847 }
02848 #endif //#ifndef TOLUA_DISABLE
02849 
02850 /* method: rot_x of class  ObjectGotoMessage */
02851 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_rot_x00
02852 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_rot_x00(lua_State* tolua_S)
02853 {
02854 #ifndef TOLUA_RELEASE
02855  tolua_Error tolua_err;
02856  if (
02857      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02858      !tolua_isnoobj(tolua_S,2,&tolua_err)
02859  )
02860   goto tolua_lerror;
02861  else
02862 #endif
02863  {
02864   fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02865 #ifndef TOLUA_RELEASE
02866   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'rot_x'", NULL);
02867 #endif
02868   {
02869    float tolua_ret = (float)  self->rot_x();
02870    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02871   }
02872  }
02873  return 1;
02874 #ifndef TOLUA_RELEASE
02875  tolua_lerror:
02876  tolua_error(tolua_S,"#ferror in function 'rot_x'.",&tolua_err);
02877  return 0;
02878 #endif
02879 }
02880 #endif //#ifndef TOLUA_DISABLE
02881 
02882 /* method: set_rot_x of class  ObjectGotoMessage */
02883 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_rot_x00
02884 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_rot_x00(lua_State* tolua_S)
02885 {
02886 #ifndef TOLUA_RELEASE
02887  tolua_Error tolua_err;
02888  if (
02889      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02890      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02891      !tolua_isnoobj(tolua_S,3,&tolua_err)
02892  )
02893   goto tolua_lerror;
02894  else
02895 #endif
02896  {
02897   fawkes::KatanaInterface::ObjectGotoMessage* self = (fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02898   const float new_rot_x = ((const float)  tolua_tonumber(tolua_S,2,0));
02899 #ifndef TOLUA_RELEASE
02900   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_rot_x'", NULL);
02901 #endif
02902   {
02903    self->set_rot_x(new_rot_x);
02904   }
02905  }
02906  return 0;
02907 #ifndef TOLUA_RELEASE
02908  tolua_lerror:
02909  tolua_error(tolua_S,"#ferror in function 'set_rot_x'.",&tolua_err);
02910  return 0;
02911 #endif
02912 }
02913 #endif //#ifndef TOLUA_DISABLE
02914 
02915 /* method: maxlenof_rot_x of class  ObjectGotoMessage */
02916 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_rot_x00
02917 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_rot_x00(lua_State* tolua_S)
02918 {
02919 #ifndef TOLUA_RELEASE
02920  tolua_Error tolua_err;
02921  if (
02922      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::ObjectGotoMessage",0,&tolua_err) ||
02923      !tolua_isnoobj(tolua_S,2,&tolua_err)
02924  )
02925   goto tolua_lerror;
02926  else
02927 #endif
02928  {
02929   const fawkes::KatanaInterface::ObjectGotoMessage* self = (const fawkes::KatanaInterface::ObjectGotoMessage*)  tolua_tousertype(tolua_S,1,0);
02930 #ifndef TOLUA_RELEASE
02931   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_rot_x'", NULL);
02932 #endif
02933   {
02934    int tolua_ret = (int)  self->maxlenof_rot_x();
02935    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02936   }
02937  }
02938  return 1;
02939 #ifndef TOLUA_RELEASE
02940  tolua_lerror:
02941  tolua_error(tolua_S,"#ferror in function 'maxlenof_rot_x'.",&tolua_err);
02942  return 0;
02943 #endif
02944 }
02945 #endif //#ifndef TOLUA_DISABLE
02946 
02947 /* method: new of class  CalibrateMessage */
02948 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00
02949 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00(lua_State* tolua_S)
02950 {
02951 #ifndef TOLUA_RELEASE
02952  tolua_Error tolua_err;
02953  if (
02954      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::CalibrateMessage",0,&tolua_err) ||
02955      !tolua_isnoobj(tolua_S,2,&tolua_err)
02956  )
02957   goto tolua_lerror;
02958  else
02959 #endif
02960  {
02961   {
02962    fawkes::KatanaInterface::CalibrateMessage* tolua_ret = (fawkes::KatanaInterface::CalibrateMessage*)  Mtolua_new((fawkes::KatanaInterface::CalibrateMessage)());
02963     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::CalibrateMessage");
02964   }
02965  }
02966  return 1;
02967 #ifndef TOLUA_RELEASE
02968  tolua_lerror:
02969  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02970  return 0;
02971 #endif
02972 }
02973 #endif //#ifndef TOLUA_DISABLE
02974 
02975 /* method: new_local of class  CalibrateMessage */
02976 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00_local
02977 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00_local(lua_State* tolua_S)
02978 {
02979 #ifndef TOLUA_RELEASE
02980  tolua_Error tolua_err;
02981  if (
02982      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::CalibrateMessage",0,&tolua_err) ||
02983      !tolua_isnoobj(tolua_S,2,&tolua_err)
02984  )
02985   goto tolua_lerror;
02986  else
02987 #endif
02988  {
02989   {
02990    fawkes::KatanaInterface::CalibrateMessage* tolua_ret = (fawkes::KatanaInterface::CalibrateMessage*)  Mtolua_new((fawkes::KatanaInterface::CalibrateMessage)());
02991     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::CalibrateMessage");
02992     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
02993   }
02994  }
02995  return 1;
02996 #ifndef TOLUA_RELEASE
02997  tolua_lerror:
02998  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
02999  return 0;
03000 #endif
03001 }
03002 #endif //#ifndef TOLUA_DISABLE
03003 
03004 /* method: delete of class  CalibrateMessage */
03005 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_delete00
03006 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_delete00(lua_State* tolua_S)
03007 {
03008 #ifndef TOLUA_RELEASE
03009  tolua_Error tolua_err;
03010  if (
03011      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::CalibrateMessage",0,&tolua_err) ||
03012      !tolua_isnoobj(tolua_S,2,&tolua_err)
03013  )
03014   goto tolua_lerror;
03015  else
03016 #endif
03017  {
03018   fawkes::KatanaInterface::CalibrateMessage* self = (fawkes::KatanaInterface::CalibrateMessage*)  tolua_tousertype(tolua_S,1,0);
03019 #ifndef TOLUA_RELEASE
03020   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03021 #endif
03022   Mtolua_delete(self);
03023  }
03024  return 0;
03025 #ifndef TOLUA_RELEASE
03026  tolua_lerror:
03027  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03028  return 0;
03029 #endif
03030 }
03031 #endif //#ifndef TOLUA_DISABLE
03032 
03033 /* method: new of class  OpenGripperMessage */
03034 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00
03035 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00(lua_State* tolua_S)
03036 {
03037 #ifndef TOLUA_RELEASE
03038  tolua_Error tolua_err;
03039  if (
03040      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::OpenGripperMessage",0,&tolua_err) ||
03041      !tolua_isnoobj(tolua_S,2,&tolua_err)
03042  )
03043   goto tolua_lerror;
03044  else
03045 #endif
03046  {
03047   {
03048    fawkes::KatanaInterface::OpenGripperMessage* tolua_ret = (fawkes::KatanaInterface::OpenGripperMessage*)  Mtolua_new((fawkes::KatanaInterface::OpenGripperMessage)());
03049     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::OpenGripperMessage");
03050   }
03051  }
03052  return 1;
03053 #ifndef TOLUA_RELEASE
03054  tolua_lerror:
03055  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03056  return 0;
03057 #endif
03058 }
03059 #endif //#ifndef TOLUA_DISABLE
03060 
03061 /* method: new_local of class  OpenGripperMessage */
03062 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00_local
03063 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00_local(lua_State* tolua_S)
03064 {
03065 #ifndef TOLUA_RELEASE
03066  tolua_Error tolua_err;
03067  if (
03068      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::OpenGripperMessage",0,&tolua_err) ||
03069      !tolua_isnoobj(tolua_S,2,&tolua_err)
03070  )
03071   goto tolua_lerror;
03072  else
03073 #endif
03074  {
03075   {
03076    fawkes::KatanaInterface::OpenGripperMessage* tolua_ret = (fawkes::KatanaInterface::OpenGripperMessage*)  Mtolua_new((fawkes::KatanaInterface::OpenGripperMessage)());
03077     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::OpenGripperMessage");
03078     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03079   }
03080  }
03081  return 1;
03082 #ifndef TOLUA_RELEASE
03083  tolua_lerror:
03084  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03085  return 0;
03086 #endif
03087 }
03088 #endif //#ifndef TOLUA_DISABLE
03089 
03090 /* method: delete of class  OpenGripperMessage */
03091 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_delete00
03092 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_delete00(lua_State* tolua_S)
03093 {
03094 #ifndef TOLUA_RELEASE
03095  tolua_Error tolua_err;
03096  if (
03097      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::OpenGripperMessage",0,&tolua_err) ||
03098      !tolua_isnoobj(tolua_S,2,&tolua_err)
03099  )
03100   goto tolua_lerror;
03101  else
03102 #endif
03103  {
03104   fawkes::KatanaInterface::OpenGripperMessage* self = (fawkes::KatanaInterface::OpenGripperMessage*)  tolua_tousertype(tolua_S,1,0);
03105 #ifndef TOLUA_RELEASE
03106   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03107 #endif
03108   Mtolua_delete(self);
03109  }
03110  return 0;
03111 #ifndef TOLUA_RELEASE
03112  tolua_lerror:
03113  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03114  return 0;
03115 #endif
03116 }
03117 #endif //#ifndef TOLUA_DISABLE
03118 
03119 /* method: new of class  CloseGripperMessage */
03120 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00
03121 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00(lua_State* tolua_S)
03122 {
03123 #ifndef TOLUA_RELEASE
03124  tolua_Error tolua_err;
03125  if (
03126      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::CloseGripperMessage",0,&tolua_err) ||
03127      !tolua_isnoobj(tolua_S,2,&tolua_err)
03128  )
03129   goto tolua_lerror;
03130  else
03131 #endif
03132  {
03133   {
03134    fawkes::KatanaInterface::CloseGripperMessage* tolua_ret = (fawkes::KatanaInterface::CloseGripperMessage*)  Mtolua_new((fawkes::KatanaInterface::CloseGripperMessage)());
03135     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::CloseGripperMessage");
03136   }
03137  }
03138  return 1;
03139 #ifndef TOLUA_RELEASE
03140  tolua_lerror:
03141  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03142  return 0;
03143 #endif
03144 }
03145 #endif //#ifndef TOLUA_DISABLE
03146 
03147 /* method: new_local of class  CloseGripperMessage */
03148 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00_local
03149 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00_local(lua_State* tolua_S)
03150 {
03151 #ifndef TOLUA_RELEASE
03152  tolua_Error tolua_err;
03153  if (
03154      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::CloseGripperMessage",0,&tolua_err) ||
03155      !tolua_isnoobj(tolua_S,2,&tolua_err)
03156  )
03157   goto tolua_lerror;
03158  else
03159 #endif
03160  {
03161   {
03162    fawkes::KatanaInterface::CloseGripperMessage* tolua_ret = (fawkes::KatanaInterface::CloseGripperMessage*)  Mtolua_new((fawkes::KatanaInterface::CloseGripperMessage)());
03163     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::CloseGripperMessage");
03164     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03165   }
03166  }
03167  return 1;
03168 #ifndef TOLUA_RELEASE
03169  tolua_lerror:
03170  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03171  return 0;
03172 #endif
03173 }
03174 #endif //#ifndef TOLUA_DISABLE
03175 
03176 /* method: delete of class  CloseGripperMessage */
03177 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_delete00
03178 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_delete00(lua_State* tolua_S)
03179 {
03180 #ifndef TOLUA_RELEASE
03181  tolua_Error tolua_err;
03182  if (
03183      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::CloseGripperMessage",0,&tolua_err) ||
03184      !tolua_isnoobj(tolua_S,2,&tolua_err)
03185  )
03186   goto tolua_lerror;
03187  else
03188 #endif
03189  {
03190   fawkes::KatanaInterface::CloseGripperMessage* self = (fawkes::KatanaInterface::CloseGripperMessage*)  tolua_tousertype(tolua_S,1,0);
03191 #ifndef TOLUA_RELEASE
03192   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03193 #endif
03194   Mtolua_delete(self);
03195  }
03196  return 0;
03197 #ifndef TOLUA_RELEASE
03198  tolua_lerror:
03199  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03200  return 0;
03201 #endif
03202 }
03203 #endif //#ifndef TOLUA_DISABLE
03204 
03205 /* method: new of class  SetEnabledMessage */
03206 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00
03207 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00(lua_State* tolua_S)
03208 {
03209 #ifndef TOLUA_RELEASE
03210  tolua_Error tolua_err;
03211  if (
03212      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03213      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
03214      !tolua_isnoobj(tolua_S,3,&tolua_err)
03215  )
03216   goto tolua_lerror;
03217  else
03218 #endif
03219  {
03220   bool ini_enabled = ((bool)  tolua_toboolean(tolua_S,2,0));
03221   {
03222    fawkes::KatanaInterface::SetEnabledMessage* tolua_ret = (fawkes::KatanaInterface::SetEnabledMessage*)  Mtolua_new((fawkes::KatanaInterface::SetEnabledMessage)(ini_enabled));
03223     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetEnabledMessage");
03224   }
03225  }
03226  return 1;
03227 #ifndef TOLUA_RELEASE
03228  tolua_lerror:
03229  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03230  return 0;
03231 #endif
03232 }
03233 #endif //#ifndef TOLUA_DISABLE
03234 
03235 /* method: new_local of class  SetEnabledMessage */
03236 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00_local
03237 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00_local(lua_State* tolua_S)
03238 {
03239 #ifndef TOLUA_RELEASE
03240  tolua_Error tolua_err;
03241  if (
03242      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03243      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
03244      !tolua_isnoobj(tolua_S,3,&tolua_err)
03245  )
03246   goto tolua_lerror;
03247  else
03248 #endif
03249  {
03250   bool ini_enabled = ((bool)  tolua_toboolean(tolua_S,2,0));
03251   {
03252    fawkes::KatanaInterface::SetEnabledMessage* tolua_ret = (fawkes::KatanaInterface::SetEnabledMessage*)  Mtolua_new((fawkes::KatanaInterface::SetEnabledMessage)(ini_enabled));
03253     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetEnabledMessage");
03254     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03255   }
03256  }
03257  return 1;
03258 #ifndef TOLUA_RELEASE
03259  tolua_lerror:
03260  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03261  return 0;
03262 #endif
03263 }
03264 #endif //#ifndef TOLUA_DISABLE
03265 
03266 /* method: new of class  SetEnabledMessage */
03267 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01
03268 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01(lua_State* tolua_S)
03269 {
03270  tolua_Error tolua_err;
03271  if (
03272      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03273      !tolua_isnoobj(tolua_S,2,&tolua_err)
03274  )
03275   goto tolua_lerror;
03276  else
03277  {
03278   {
03279    fawkes::KatanaInterface::SetEnabledMessage* tolua_ret = (fawkes::KatanaInterface::SetEnabledMessage*)  Mtolua_new((fawkes::KatanaInterface::SetEnabledMessage)());
03280     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetEnabledMessage");
03281   }
03282  }
03283  return 1;
03284 tolua_lerror:
03285  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00(tolua_S);
03286 }
03287 #endif //#ifndef TOLUA_DISABLE
03288 
03289 /* method: new_local of class  SetEnabledMessage */
03290 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01_local
03291 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01_local(lua_State* tolua_S)
03292 {
03293  tolua_Error tolua_err;
03294  if (
03295      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03296      !tolua_isnoobj(tolua_S,2,&tolua_err)
03297  )
03298   goto tolua_lerror;
03299  else
03300  {
03301   {
03302    fawkes::KatanaInterface::SetEnabledMessage* tolua_ret = (fawkes::KatanaInterface::SetEnabledMessage*)  Mtolua_new((fawkes::KatanaInterface::SetEnabledMessage)());
03303     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetEnabledMessage");
03304     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03305   }
03306  }
03307  return 1;
03308 tolua_lerror:
03309  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00_local(tolua_S);
03310 }
03311 #endif //#ifndef TOLUA_DISABLE
03312 
03313 /* method: delete of class  SetEnabledMessage */
03314 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_delete00
03315 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_delete00(lua_State* tolua_S)
03316 {
03317 #ifndef TOLUA_RELEASE
03318  tolua_Error tolua_err;
03319  if (
03320      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03321      !tolua_isnoobj(tolua_S,2,&tolua_err)
03322  )
03323   goto tolua_lerror;
03324  else
03325 #endif
03326  {
03327   fawkes::KatanaInterface::SetEnabledMessage* self = (fawkes::KatanaInterface::SetEnabledMessage*)  tolua_tousertype(tolua_S,1,0);
03328 #ifndef TOLUA_RELEASE
03329   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03330 #endif
03331   Mtolua_delete(self);
03332  }
03333  return 0;
03334 #ifndef TOLUA_RELEASE
03335  tolua_lerror:
03336  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03337  return 0;
03338 #endif
03339 }
03340 #endif //#ifndef TOLUA_DISABLE
03341 
03342 /* method: is_enabled of class  SetEnabledMessage */
03343 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_is_enabled00
03344 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_is_enabled00(lua_State* tolua_S)
03345 {
03346 #ifndef TOLUA_RELEASE
03347  tolua_Error tolua_err;
03348  if (
03349      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03350      !tolua_isnoobj(tolua_S,2,&tolua_err)
03351  )
03352   goto tolua_lerror;
03353  else
03354 #endif
03355  {
03356   fawkes::KatanaInterface::SetEnabledMessage* self = (fawkes::KatanaInterface::SetEnabledMessage*)  tolua_tousertype(tolua_S,1,0);
03357 #ifndef TOLUA_RELEASE
03358   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_enabled'", NULL);
03359 #endif
03360   {
03361    bool tolua_ret = (bool)  self->is_enabled();
03362    tolua_pushboolean(tolua_S,(bool)tolua_ret);
03363   }
03364  }
03365  return 1;
03366 #ifndef TOLUA_RELEASE
03367  tolua_lerror:
03368  tolua_error(tolua_S,"#ferror in function 'is_enabled'.",&tolua_err);
03369  return 0;
03370 #endif
03371 }
03372 #endif //#ifndef TOLUA_DISABLE
03373 
03374 /* method: set_enabled of class  SetEnabledMessage */
03375 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_set_enabled00
03376 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_set_enabled00(lua_State* tolua_S)
03377 {
03378 #ifndef TOLUA_RELEASE
03379  tolua_Error tolua_err;
03380  if (
03381      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03382      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
03383      !tolua_isnoobj(tolua_S,3,&tolua_err)
03384  )
03385   goto tolua_lerror;
03386  else
03387 #endif
03388  {
03389   fawkes::KatanaInterface::SetEnabledMessage* self = (fawkes::KatanaInterface::SetEnabledMessage*)  tolua_tousertype(tolua_S,1,0);
03390   const bool new_enabled = ((const bool)  tolua_toboolean(tolua_S,2,0));
03391 #ifndef TOLUA_RELEASE
03392   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_enabled'", NULL);
03393 #endif
03394   {
03395    self->set_enabled(new_enabled);
03396   }
03397  }
03398  return 0;
03399 #ifndef TOLUA_RELEASE
03400  tolua_lerror:
03401  tolua_error(tolua_S,"#ferror in function 'set_enabled'.",&tolua_err);
03402  return 0;
03403 #endif
03404 }
03405 #endif //#ifndef TOLUA_DISABLE
03406 
03407 /* method: maxlenof_enabled of class  SetEnabledMessage */
03408 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_maxlenof_enabled00
03409 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_maxlenof_enabled00(lua_State* tolua_S)
03410 {
03411 #ifndef TOLUA_RELEASE
03412  tolua_Error tolua_err;
03413  if (
03414      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetEnabledMessage",0,&tolua_err) ||
03415      !tolua_isnoobj(tolua_S,2,&tolua_err)
03416  )
03417   goto tolua_lerror;
03418  else
03419 #endif
03420  {
03421   const fawkes::KatanaInterface::SetEnabledMessage* self = (const fawkes::KatanaInterface::SetEnabledMessage*)  tolua_tousertype(tolua_S,1,0);
03422 #ifndef TOLUA_RELEASE
03423   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_enabled'", NULL);
03424 #endif
03425   {
03426    int tolua_ret = (int)  self->maxlenof_enabled();
03427    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03428   }
03429  }
03430  return 1;
03431 #ifndef TOLUA_RELEASE
03432  tolua_lerror:
03433  tolua_error(tolua_S,"#ferror in function 'maxlenof_enabled'.",&tolua_err);
03434  return 0;
03435 #endif
03436 }
03437 #endif //#ifndef TOLUA_DISABLE
03438 
03439 /* method: new of class  SetMaxVelocityMessage */
03440 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00
03441 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00(lua_State* tolua_S)
03442 {
03443 #ifndef TOLUA_RELEASE
03444  tolua_Error tolua_err;
03445  if (
03446      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03447      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
03448      !tolua_isnoobj(tolua_S,3,&tolua_err)
03449  )
03450   goto tolua_lerror;
03451  else
03452 #endif
03453  {
03454   unsigned char ini_max_velocity = ((unsigned char)  tolua_tonumber(tolua_S,2,0));
03455   {
03456    fawkes::KatanaInterface::SetMaxVelocityMessage* tolua_ret = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMaxVelocityMessage)(ini_max_velocity));
03457     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMaxVelocityMessage");
03458   }
03459  }
03460  return 1;
03461 #ifndef TOLUA_RELEASE
03462  tolua_lerror:
03463  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03464  return 0;
03465 #endif
03466 }
03467 #endif //#ifndef TOLUA_DISABLE
03468 
03469 /* method: new_local of class  SetMaxVelocityMessage */
03470 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00_local
03471 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00_local(lua_State* tolua_S)
03472 {
03473 #ifndef TOLUA_RELEASE
03474  tolua_Error tolua_err;
03475  if (
03476      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03477      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
03478      !tolua_isnoobj(tolua_S,3,&tolua_err)
03479  )
03480   goto tolua_lerror;
03481  else
03482 #endif
03483  {
03484   unsigned char ini_max_velocity = ((unsigned char)  tolua_tonumber(tolua_S,2,0));
03485   {
03486    fawkes::KatanaInterface::SetMaxVelocityMessage* tolua_ret = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMaxVelocityMessage)(ini_max_velocity));
03487     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMaxVelocityMessage");
03488     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03489   }
03490  }
03491  return 1;
03492 #ifndef TOLUA_RELEASE
03493  tolua_lerror:
03494  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03495  return 0;
03496 #endif
03497 }
03498 #endif //#ifndef TOLUA_DISABLE
03499 
03500 /* method: new of class  SetMaxVelocityMessage */
03501 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01
03502 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01(lua_State* tolua_S)
03503 {
03504  tolua_Error tolua_err;
03505  if (
03506      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03507      !tolua_isnoobj(tolua_S,2,&tolua_err)
03508  )
03509   goto tolua_lerror;
03510  else
03511  {
03512   {
03513    fawkes::KatanaInterface::SetMaxVelocityMessage* tolua_ret = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMaxVelocityMessage)());
03514     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMaxVelocityMessage");
03515   }
03516  }
03517  return 1;
03518 tolua_lerror:
03519  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00(tolua_S);
03520 }
03521 #endif //#ifndef TOLUA_DISABLE
03522 
03523 /* method: new_local of class  SetMaxVelocityMessage */
03524 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01_local
03525 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01_local(lua_State* tolua_S)
03526 {
03527  tolua_Error tolua_err;
03528  if (
03529      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03530      !tolua_isnoobj(tolua_S,2,&tolua_err)
03531  )
03532   goto tolua_lerror;
03533  else
03534  {
03535   {
03536    fawkes::KatanaInterface::SetMaxVelocityMessage* tolua_ret = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMaxVelocityMessage)());
03537     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMaxVelocityMessage");
03538     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03539   }
03540  }
03541  return 1;
03542 tolua_lerror:
03543  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00_local(tolua_S);
03544 }
03545 #endif //#ifndef TOLUA_DISABLE
03546 
03547 /* method: delete of class  SetMaxVelocityMessage */
03548 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_delete00
03549 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_delete00(lua_State* tolua_S)
03550 {
03551 #ifndef TOLUA_RELEASE
03552  tolua_Error tolua_err;
03553  if (
03554      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03555      !tolua_isnoobj(tolua_S,2,&tolua_err)
03556  )
03557   goto tolua_lerror;
03558  else
03559 #endif
03560  {
03561   fawkes::KatanaInterface::SetMaxVelocityMessage* self = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  tolua_tousertype(tolua_S,1,0);
03562 #ifndef TOLUA_RELEASE
03563   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03564 #endif
03565   Mtolua_delete(self);
03566  }
03567  return 0;
03568 #ifndef TOLUA_RELEASE
03569  tolua_lerror:
03570  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03571  return 0;
03572 #endif
03573 }
03574 #endif //#ifndef TOLUA_DISABLE
03575 
03576 /* method: max_velocity of class  SetMaxVelocityMessage */
03577 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_max_velocity00
03578 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_max_velocity00(lua_State* tolua_S)
03579 {
03580 #ifndef TOLUA_RELEASE
03581  tolua_Error tolua_err;
03582  if (
03583      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03584      !tolua_isnoobj(tolua_S,2,&tolua_err)
03585  )
03586   goto tolua_lerror;
03587  else
03588 #endif
03589  {
03590   fawkes::KatanaInterface::SetMaxVelocityMessage* self = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  tolua_tousertype(tolua_S,1,0);
03591 #ifndef TOLUA_RELEASE
03592   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_velocity'", NULL);
03593 #endif
03594   {
03595    unsigned char tolua_ret = (unsigned char)  self->max_velocity();
03596    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03597   }
03598  }
03599  return 1;
03600 #ifndef TOLUA_RELEASE
03601  tolua_lerror:
03602  tolua_error(tolua_S,"#ferror in function 'max_velocity'.",&tolua_err);
03603  return 0;
03604 #endif
03605 }
03606 #endif //#ifndef TOLUA_DISABLE
03607 
03608 /* method: set_max_velocity of class  SetMaxVelocityMessage */
03609 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_set_max_velocity00
03610 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_set_max_velocity00(lua_State* tolua_S)
03611 {
03612 #ifndef TOLUA_RELEASE
03613  tolua_Error tolua_err;
03614  if (
03615      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03616      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
03617      !tolua_isnoobj(tolua_S,3,&tolua_err)
03618  )
03619   goto tolua_lerror;
03620  else
03621 #endif
03622  {
03623   fawkes::KatanaInterface::SetMaxVelocityMessage* self = (fawkes::KatanaInterface::SetMaxVelocityMessage*)  tolua_tousertype(tolua_S,1,0);
03624   unsigned const char new_max_velocity = ((unsigned const char)  tolua_tonumber(tolua_S,2,0));
03625 #ifndef TOLUA_RELEASE
03626   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_velocity'", NULL);
03627 #endif
03628   {
03629    self->set_max_velocity(new_max_velocity);
03630   }
03631  }
03632  return 0;
03633 #ifndef TOLUA_RELEASE
03634  tolua_lerror:
03635  tolua_error(tolua_S,"#ferror in function 'set_max_velocity'.",&tolua_err);
03636  return 0;
03637 #endif
03638 }
03639 #endif //#ifndef TOLUA_DISABLE
03640 
03641 /* method: maxlenof_max_velocity of class  SetMaxVelocityMessage */
03642 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_maxlenof_max_velocity00
03643 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_maxlenof_max_velocity00(lua_State* tolua_S)
03644 {
03645 #ifndef TOLUA_RELEASE
03646  tolua_Error tolua_err;
03647  if (
03648      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetMaxVelocityMessage",0,&tolua_err) ||
03649      !tolua_isnoobj(tolua_S,2,&tolua_err)
03650  )
03651   goto tolua_lerror;
03652  else
03653 #endif
03654  {
03655   const fawkes::KatanaInterface::SetMaxVelocityMessage* self = (const fawkes::KatanaInterface::SetMaxVelocityMessage*)  tolua_tousertype(tolua_S,1,0);
03656 #ifndef TOLUA_RELEASE
03657   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_velocity'", NULL);
03658 #endif
03659   {
03660    int tolua_ret = (int)  self->maxlenof_max_velocity();
03661    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03662   }
03663  }
03664  return 1;
03665 #ifndef TOLUA_RELEASE
03666  tolua_lerror:
03667  tolua_error(tolua_S,"#ferror in function 'maxlenof_max_velocity'.",&tolua_err);
03668  return 0;
03669 #endif
03670 }
03671 #endif //#ifndef TOLUA_DISABLE
03672 
03673 /* method: new of class  SetPlannerParamsMessage */
03674 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00
03675 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00(lua_State* tolua_S)
03676 {
03677 #ifndef TOLUA_RELEASE
03678  tolua_Error tolua_err;
03679  if (
03680      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03681      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
03682      !tolua_isboolean(tolua_S,3,0,&tolua_err) ||
03683      !tolua_isnoobj(tolua_S,4,&tolua_err)
03684  )
03685   goto tolua_lerror;
03686  else
03687 #endif
03688  {
03689   char* ini_plannerparams = ((char*)  tolua_tostring(tolua_S,2,0));
03690   bool ini_straight = ((bool)  tolua_toboolean(tolua_S,3,0));
03691   {
03692    fawkes::KatanaInterface::SetPlannerParamsMessage* tolua_ret = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  Mtolua_new((fawkes::KatanaInterface::SetPlannerParamsMessage)(ini_plannerparams,ini_straight));
03693     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetPlannerParamsMessage");
03694   }
03695  }
03696  return 1;
03697 #ifndef TOLUA_RELEASE
03698  tolua_lerror:
03699  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03700  return 0;
03701 #endif
03702 }
03703 #endif //#ifndef TOLUA_DISABLE
03704 
03705 /* method: new_local of class  SetPlannerParamsMessage */
03706 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00_local
03707 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00_local(lua_State* tolua_S)
03708 {
03709 #ifndef TOLUA_RELEASE
03710  tolua_Error tolua_err;
03711  if (
03712      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03713      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
03714      !tolua_isboolean(tolua_S,3,0,&tolua_err) ||
03715      !tolua_isnoobj(tolua_S,4,&tolua_err)
03716  )
03717   goto tolua_lerror;
03718  else
03719 #endif
03720  {
03721   char* ini_plannerparams = ((char*)  tolua_tostring(tolua_S,2,0));
03722   bool ini_straight = ((bool)  tolua_toboolean(tolua_S,3,0));
03723   {
03724    fawkes::KatanaInterface::SetPlannerParamsMessage* tolua_ret = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  Mtolua_new((fawkes::KatanaInterface::SetPlannerParamsMessage)(ini_plannerparams,ini_straight));
03725     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetPlannerParamsMessage");
03726     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03727   }
03728  }
03729  return 1;
03730 #ifndef TOLUA_RELEASE
03731  tolua_lerror:
03732  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
03733  return 0;
03734 #endif
03735 }
03736 #endif //#ifndef TOLUA_DISABLE
03737 
03738 /* method: new of class  SetPlannerParamsMessage */
03739 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01
03740 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01(lua_State* tolua_S)
03741 {
03742  tolua_Error tolua_err;
03743  if (
03744      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03745      !tolua_isnoobj(tolua_S,2,&tolua_err)
03746  )
03747   goto tolua_lerror;
03748  else
03749  {
03750   {
03751    fawkes::KatanaInterface::SetPlannerParamsMessage* tolua_ret = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  Mtolua_new((fawkes::KatanaInterface::SetPlannerParamsMessage)());
03752     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetPlannerParamsMessage");
03753   }
03754  }
03755  return 1;
03756 tolua_lerror:
03757  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00(tolua_S);
03758 }
03759 #endif //#ifndef TOLUA_DISABLE
03760 
03761 /* method: new_local of class  SetPlannerParamsMessage */
03762 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01_local
03763 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01_local(lua_State* tolua_S)
03764 {
03765  tolua_Error tolua_err;
03766  if (
03767      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03768      !tolua_isnoobj(tolua_S,2,&tolua_err)
03769  )
03770   goto tolua_lerror;
03771  else
03772  {
03773   {
03774    fawkes::KatanaInterface::SetPlannerParamsMessage* tolua_ret = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  Mtolua_new((fawkes::KatanaInterface::SetPlannerParamsMessage)());
03775     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetPlannerParamsMessage");
03776     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
03777   }
03778  }
03779  return 1;
03780 tolua_lerror:
03781  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00_local(tolua_S);
03782 }
03783 #endif //#ifndef TOLUA_DISABLE
03784 
03785 /* method: delete of class  SetPlannerParamsMessage */
03786 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_delete00
03787 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_delete00(lua_State* tolua_S)
03788 {
03789 #ifndef TOLUA_RELEASE
03790  tolua_Error tolua_err;
03791  if (
03792      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03793      !tolua_isnoobj(tolua_S,2,&tolua_err)
03794  )
03795   goto tolua_lerror;
03796  else
03797 #endif
03798  {
03799   fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03800 #ifndef TOLUA_RELEASE
03801   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
03802 #endif
03803   Mtolua_delete(self);
03804  }
03805  return 0;
03806 #ifndef TOLUA_RELEASE
03807  tolua_lerror:
03808  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
03809  return 0;
03810 #endif
03811 }
03812 #endif //#ifndef TOLUA_DISABLE
03813 
03814 /* method: plannerparams of class  SetPlannerParamsMessage */
03815 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_plannerparams00
03816 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_plannerparams00(lua_State* tolua_S)
03817 {
03818 #ifndef TOLUA_RELEASE
03819  tolua_Error tolua_err;
03820  if (
03821      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03822      !tolua_isnoobj(tolua_S,2,&tolua_err)
03823  )
03824   goto tolua_lerror;
03825  else
03826 #endif
03827  {
03828   fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03829 #ifndef TOLUA_RELEASE
03830   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'plannerparams'", NULL);
03831 #endif
03832   {
03833    char* tolua_ret = (char*)  self->plannerparams();
03834    tolua_pushstring(tolua_S,(const char*)tolua_ret);
03835   }
03836  }
03837  return 1;
03838 #ifndef TOLUA_RELEASE
03839  tolua_lerror:
03840  tolua_error(tolua_S,"#ferror in function 'plannerparams'.",&tolua_err);
03841  return 0;
03842 #endif
03843 }
03844 #endif //#ifndef TOLUA_DISABLE
03845 
03846 /* method: set_plannerparams of class  SetPlannerParamsMessage */
03847 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_plannerparams00
03848 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_plannerparams00(lua_State* tolua_S)
03849 {
03850 #ifndef TOLUA_RELEASE
03851  tolua_Error tolua_err;
03852  if (
03853      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03854      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
03855      !tolua_isnoobj(tolua_S,3,&tolua_err)
03856  )
03857   goto tolua_lerror;
03858  else
03859 #endif
03860  {
03861   fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03862   const char* new_plannerparams = ((const char*)  tolua_tostring(tolua_S,2,0));
03863 #ifndef TOLUA_RELEASE
03864   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_plannerparams'", NULL);
03865 #endif
03866   {
03867    self->set_plannerparams(new_plannerparams);
03868   }
03869  }
03870  return 0;
03871 #ifndef TOLUA_RELEASE
03872  tolua_lerror:
03873  tolua_error(tolua_S,"#ferror in function 'set_plannerparams'.",&tolua_err);
03874  return 0;
03875 #endif
03876 }
03877 #endif //#ifndef TOLUA_DISABLE
03878 
03879 /* method: maxlenof_plannerparams of class  SetPlannerParamsMessage */
03880 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_plannerparams00
03881 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_plannerparams00(lua_State* tolua_S)
03882 {
03883 #ifndef TOLUA_RELEASE
03884  tolua_Error tolua_err;
03885  if (
03886      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03887      !tolua_isnoobj(tolua_S,2,&tolua_err)
03888  )
03889   goto tolua_lerror;
03890  else
03891 #endif
03892  {
03893   const fawkes::KatanaInterface::SetPlannerParamsMessage* self = (const fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03894 #ifndef TOLUA_RELEASE
03895   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_plannerparams'", NULL);
03896 #endif
03897   {
03898    int tolua_ret = (int)  self->maxlenof_plannerparams();
03899    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03900   }
03901  }
03902  return 1;
03903 #ifndef TOLUA_RELEASE
03904  tolua_lerror:
03905  tolua_error(tolua_S,"#ferror in function 'maxlenof_plannerparams'.",&tolua_err);
03906  return 0;
03907 #endif
03908 }
03909 #endif //#ifndef TOLUA_DISABLE
03910 
03911 /* method: is_straight of class  SetPlannerParamsMessage */
03912 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_is_straight00
03913 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_is_straight00(lua_State* tolua_S)
03914 {
03915 #ifndef TOLUA_RELEASE
03916  tolua_Error tolua_err;
03917  if (
03918      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03919      !tolua_isnoobj(tolua_S,2,&tolua_err)
03920  )
03921   goto tolua_lerror;
03922  else
03923 #endif
03924  {
03925   fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03926 #ifndef TOLUA_RELEASE
03927   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_straight'", NULL);
03928 #endif
03929   {
03930    bool tolua_ret = (bool)  self->is_straight();
03931    tolua_pushboolean(tolua_S,(bool)tolua_ret);
03932   }
03933  }
03934  return 1;
03935 #ifndef TOLUA_RELEASE
03936  tolua_lerror:
03937  tolua_error(tolua_S,"#ferror in function 'is_straight'.",&tolua_err);
03938  return 0;
03939 #endif
03940 }
03941 #endif //#ifndef TOLUA_DISABLE
03942 
03943 /* method: set_straight of class  SetPlannerParamsMessage */
03944 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_straight00
03945 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_straight00(lua_State* tolua_S)
03946 {
03947 #ifndef TOLUA_RELEASE
03948  tolua_Error tolua_err;
03949  if (
03950      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03951      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
03952      !tolua_isnoobj(tolua_S,3,&tolua_err)
03953  )
03954   goto tolua_lerror;
03955  else
03956 #endif
03957  {
03958   fawkes::KatanaInterface::SetPlannerParamsMessage* self = (fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03959   const bool new_straight = ((const bool)  tolua_toboolean(tolua_S,2,0));
03960 #ifndef TOLUA_RELEASE
03961   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_straight'", NULL);
03962 #endif
03963   {
03964    self->set_straight(new_straight);
03965   }
03966  }
03967  return 0;
03968 #ifndef TOLUA_RELEASE
03969  tolua_lerror:
03970  tolua_error(tolua_S,"#ferror in function 'set_straight'.",&tolua_err);
03971  return 0;
03972 #endif
03973 }
03974 #endif //#ifndef TOLUA_DISABLE
03975 
03976 /* method: maxlenof_straight of class  SetPlannerParamsMessage */
03977 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_straight00
03978 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_straight00(lua_State* tolua_S)
03979 {
03980 #ifndef TOLUA_RELEASE
03981  tolua_Error tolua_err;
03982  if (
03983      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetPlannerParamsMessage",0,&tolua_err) ||
03984      !tolua_isnoobj(tolua_S,2,&tolua_err)
03985  )
03986   goto tolua_lerror;
03987  else
03988 #endif
03989  {
03990   const fawkes::KatanaInterface::SetPlannerParamsMessage* self = (const fawkes::KatanaInterface::SetPlannerParamsMessage*)  tolua_tousertype(tolua_S,1,0);
03991 #ifndef TOLUA_RELEASE
03992   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_straight'", NULL);
03993 #endif
03994   {
03995    int tolua_ret = (int)  self->maxlenof_straight();
03996    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
03997   }
03998  }
03999  return 1;
04000 #ifndef TOLUA_RELEASE
04001  tolua_lerror:
04002  tolua_error(tolua_S,"#ferror in function 'maxlenof_straight'.",&tolua_err);
04003  return 0;
04004 #endif
04005 }
04006 #endif //#ifndef TOLUA_DISABLE
04007 
04008 /* method: new of class  SetMotorEncoderMessage */
04009 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00
04010 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00(lua_State* tolua_S)
04011 {
04012 #ifndef TOLUA_RELEASE
04013  tolua_Error tolua_err;
04014  if (
04015      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04016      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04017      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04018      !tolua_isnoobj(tolua_S,4,&tolua_err)
04019  )
04020   goto tolua_lerror;
04021  else
04022 #endif
04023  {
04024   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04025   unsigned int ini_enc = ((unsigned int)  tolua_tonumber(tolua_S,3,0));
04026   {
04027    fawkes::KatanaInterface::SetMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorEncoderMessage)(ini_nr,ini_enc));
04028     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorEncoderMessage");
04029   }
04030  }
04031  return 1;
04032 #ifndef TOLUA_RELEASE
04033  tolua_lerror:
04034  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04035  return 0;
04036 #endif
04037 }
04038 #endif //#ifndef TOLUA_DISABLE
04039 
04040 /* method: new_local of class  SetMotorEncoderMessage */
04041 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00_local
04042 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00_local(lua_State* tolua_S)
04043 {
04044 #ifndef TOLUA_RELEASE
04045  tolua_Error tolua_err;
04046  if (
04047      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04048      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04049      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04050      !tolua_isnoobj(tolua_S,4,&tolua_err)
04051  )
04052   goto tolua_lerror;
04053  else
04054 #endif
04055  {
04056   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04057   unsigned int ini_enc = ((unsigned int)  tolua_tonumber(tolua_S,3,0));
04058   {
04059    fawkes::KatanaInterface::SetMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorEncoderMessage)(ini_nr,ini_enc));
04060     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorEncoderMessage");
04061     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04062   }
04063  }
04064  return 1;
04065 #ifndef TOLUA_RELEASE
04066  tolua_lerror:
04067  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04068  return 0;
04069 #endif
04070 }
04071 #endif //#ifndef TOLUA_DISABLE
04072 
04073 /* method: new of class  SetMotorEncoderMessage */
04074 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01
04075 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01(lua_State* tolua_S)
04076 {
04077  tolua_Error tolua_err;
04078  if (
04079      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04080      !tolua_isnoobj(tolua_S,2,&tolua_err)
04081  )
04082   goto tolua_lerror;
04083  else
04084  {
04085   {
04086    fawkes::KatanaInterface::SetMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorEncoderMessage)());
04087     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorEncoderMessage");
04088   }
04089  }
04090  return 1;
04091 tolua_lerror:
04092  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00(tolua_S);
04093 }
04094 #endif //#ifndef TOLUA_DISABLE
04095 
04096 /* method: new_local of class  SetMotorEncoderMessage */
04097 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01_local
04098 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01_local(lua_State* tolua_S)
04099 {
04100  tolua_Error tolua_err;
04101  if (
04102      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04103      !tolua_isnoobj(tolua_S,2,&tolua_err)
04104  )
04105   goto tolua_lerror;
04106  else
04107  {
04108   {
04109    fawkes::KatanaInterface::SetMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorEncoderMessage)());
04110     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorEncoderMessage");
04111     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04112   }
04113  }
04114  return 1;
04115 tolua_lerror:
04116  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00_local(tolua_S);
04117 }
04118 #endif //#ifndef TOLUA_DISABLE
04119 
04120 /* method: delete of class  SetMotorEncoderMessage */
04121 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_delete00
04122 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_delete00(lua_State* tolua_S)
04123 {
04124 #ifndef TOLUA_RELEASE
04125  tolua_Error tolua_err;
04126  if (
04127      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04128      !tolua_isnoobj(tolua_S,2,&tolua_err)
04129  )
04130   goto tolua_lerror;
04131  else
04132 #endif
04133  {
04134   fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04135 #ifndef TOLUA_RELEASE
04136   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
04137 #endif
04138   Mtolua_delete(self);
04139  }
04140  return 0;
04141 #ifndef TOLUA_RELEASE
04142  tolua_lerror:
04143  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
04144  return 0;
04145 #endif
04146 }
04147 #endif //#ifndef TOLUA_DISABLE
04148 
04149 /* method: nr of class  SetMotorEncoderMessage */
04150 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_nr00
04151 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_nr00(lua_State* tolua_S)
04152 {
04153 #ifndef TOLUA_RELEASE
04154  tolua_Error tolua_err;
04155  if (
04156      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04157      !tolua_isnoobj(tolua_S,2,&tolua_err)
04158  )
04159   goto tolua_lerror;
04160  else
04161 #endif
04162  {
04163   fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04164 #ifndef TOLUA_RELEASE
04165   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'nr'", NULL);
04166 #endif
04167   {
04168    unsigned int tolua_ret = (unsigned int)  self->nr();
04169    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04170   }
04171  }
04172  return 1;
04173 #ifndef TOLUA_RELEASE
04174  tolua_lerror:
04175  tolua_error(tolua_S,"#ferror in function 'nr'.",&tolua_err);
04176  return 0;
04177 #endif
04178 }
04179 #endif //#ifndef TOLUA_DISABLE
04180 
04181 /* method: set_nr of class  SetMotorEncoderMessage */
04182 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_nr00
04183 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_nr00(lua_State* tolua_S)
04184 {
04185 #ifndef TOLUA_RELEASE
04186  tolua_Error tolua_err;
04187  if (
04188      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04189      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04190      !tolua_isnoobj(tolua_S,3,&tolua_err)
04191  )
04192   goto tolua_lerror;
04193  else
04194 #endif
04195  {
04196   fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04197   unsigned const int new_nr = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
04198 #ifndef TOLUA_RELEASE
04199   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_nr'", NULL);
04200 #endif
04201   {
04202    self->set_nr(new_nr);
04203   }
04204  }
04205  return 0;
04206 #ifndef TOLUA_RELEASE
04207  tolua_lerror:
04208  tolua_error(tolua_S,"#ferror in function 'set_nr'.",&tolua_err);
04209  return 0;
04210 #endif
04211 }
04212 #endif //#ifndef TOLUA_DISABLE
04213 
04214 /* method: maxlenof_nr of class  SetMotorEncoderMessage */
04215 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_nr00
04216 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_nr00(lua_State* tolua_S)
04217 {
04218 #ifndef TOLUA_RELEASE
04219  tolua_Error tolua_err;
04220  if (
04221      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04222      !tolua_isnoobj(tolua_S,2,&tolua_err)
04223  )
04224   goto tolua_lerror;
04225  else
04226 #endif
04227  {
04228   const fawkes::KatanaInterface::SetMotorEncoderMessage* self = (const fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04229 #ifndef TOLUA_RELEASE
04230   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_nr'", NULL);
04231 #endif
04232   {
04233    int tolua_ret = (int)  self->maxlenof_nr();
04234    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04235   }
04236  }
04237  return 1;
04238 #ifndef TOLUA_RELEASE
04239  tolua_lerror:
04240  tolua_error(tolua_S,"#ferror in function 'maxlenof_nr'.",&tolua_err);
04241  return 0;
04242 #endif
04243 }
04244 #endif //#ifndef TOLUA_DISABLE
04245 
04246 /* method: enc of class  SetMotorEncoderMessage */
04247 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_enc00
04248 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_enc00(lua_State* tolua_S)
04249 {
04250 #ifndef TOLUA_RELEASE
04251  tolua_Error tolua_err;
04252  if (
04253      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04254      !tolua_isnoobj(tolua_S,2,&tolua_err)
04255  )
04256   goto tolua_lerror;
04257  else
04258 #endif
04259  {
04260   fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04261 #ifndef TOLUA_RELEASE
04262   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'enc'", NULL);
04263 #endif
04264   {
04265    unsigned int tolua_ret = (unsigned int)  self->enc();
04266    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04267   }
04268  }
04269  return 1;
04270 #ifndef TOLUA_RELEASE
04271  tolua_lerror:
04272  tolua_error(tolua_S,"#ferror in function 'enc'.",&tolua_err);
04273  return 0;
04274 #endif
04275 }
04276 #endif //#ifndef TOLUA_DISABLE
04277 
04278 /* method: set_enc of class  SetMotorEncoderMessage */
04279 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_enc00
04280 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_enc00(lua_State* tolua_S)
04281 {
04282 #ifndef TOLUA_RELEASE
04283  tolua_Error tolua_err;
04284  if (
04285      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04286      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04287      !tolua_isnoobj(tolua_S,3,&tolua_err)
04288  )
04289   goto tolua_lerror;
04290  else
04291 #endif
04292  {
04293   fawkes::KatanaInterface::SetMotorEncoderMessage* self = (fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04294   unsigned const int new_enc = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
04295 #ifndef TOLUA_RELEASE
04296   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_enc'", NULL);
04297 #endif
04298   {
04299    self->set_enc(new_enc);
04300   }
04301  }
04302  return 0;
04303 #ifndef TOLUA_RELEASE
04304  tolua_lerror:
04305  tolua_error(tolua_S,"#ferror in function 'set_enc'.",&tolua_err);
04306  return 0;
04307 #endif
04308 }
04309 #endif //#ifndef TOLUA_DISABLE
04310 
04311 /* method: maxlenof_enc of class  SetMotorEncoderMessage */
04312 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_enc00
04313 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_enc00(lua_State* tolua_S)
04314 {
04315 #ifndef TOLUA_RELEASE
04316  tolua_Error tolua_err;
04317  if (
04318      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetMotorEncoderMessage",0,&tolua_err) ||
04319      !tolua_isnoobj(tolua_S,2,&tolua_err)
04320  )
04321   goto tolua_lerror;
04322  else
04323 #endif
04324  {
04325   const fawkes::KatanaInterface::SetMotorEncoderMessage* self = (const fawkes::KatanaInterface::SetMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04326 #ifndef TOLUA_RELEASE
04327   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_enc'", NULL);
04328 #endif
04329   {
04330    int tolua_ret = (int)  self->maxlenof_enc();
04331    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04332   }
04333  }
04334  return 1;
04335 #ifndef TOLUA_RELEASE
04336  tolua_lerror:
04337  tolua_error(tolua_S,"#ferror in function 'maxlenof_enc'.",&tolua_err);
04338  return 0;
04339 #endif
04340 }
04341 #endif //#ifndef TOLUA_DISABLE
04342 
04343 /* method: new of class  MoveMotorEncoderMessage */
04344 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00
04345 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00(lua_State* tolua_S)
04346 {
04347 #ifndef TOLUA_RELEASE
04348  tolua_Error tolua_err;
04349  if (
04350      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04351      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04352      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04353      !tolua_isnoobj(tolua_S,4,&tolua_err)
04354  )
04355   goto tolua_lerror;
04356  else
04357 #endif
04358  {
04359   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04360   unsigned int ini_enc = ((unsigned int)  tolua_tonumber(tolua_S,3,0));
04361   {
04362    fawkes::KatanaInterface::MoveMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorEncoderMessage)(ini_nr,ini_enc));
04363     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorEncoderMessage");
04364   }
04365  }
04366  return 1;
04367 #ifndef TOLUA_RELEASE
04368  tolua_lerror:
04369  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04370  return 0;
04371 #endif
04372 }
04373 #endif //#ifndef TOLUA_DISABLE
04374 
04375 /* method: new_local of class  MoveMotorEncoderMessage */
04376 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00_local
04377 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00_local(lua_State* tolua_S)
04378 {
04379 #ifndef TOLUA_RELEASE
04380  tolua_Error tolua_err;
04381  if (
04382      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04383      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04384      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04385      !tolua_isnoobj(tolua_S,4,&tolua_err)
04386  )
04387   goto tolua_lerror;
04388  else
04389 #endif
04390  {
04391   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04392   unsigned int ini_enc = ((unsigned int)  tolua_tonumber(tolua_S,3,0));
04393   {
04394    fawkes::KatanaInterface::MoveMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorEncoderMessage)(ini_nr,ini_enc));
04395     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorEncoderMessage");
04396     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04397   }
04398  }
04399  return 1;
04400 #ifndef TOLUA_RELEASE
04401  tolua_lerror:
04402  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04403  return 0;
04404 #endif
04405 }
04406 #endif //#ifndef TOLUA_DISABLE
04407 
04408 /* method: new of class  MoveMotorEncoderMessage */
04409 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01
04410 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01(lua_State* tolua_S)
04411 {
04412  tolua_Error tolua_err;
04413  if (
04414      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04415      !tolua_isnoobj(tolua_S,2,&tolua_err)
04416  )
04417   goto tolua_lerror;
04418  else
04419  {
04420   {
04421    fawkes::KatanaInterface::MoveMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorEncoderMessage)());
04422     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorEncoderMessage");
04423   }
04424  }
04425  return 1;
04426 tolua_lerror:
04427  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00(tolua_S);
04428 }
04429 #endif //#ifndef TOLUA_DISABLE
04430 
04431 /* method: new_local of class  MoveMotorEncoderMessage */
04432 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01_local
04433 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01_local(lua_State* tolua_S)
04434 {
04435  tolua_Error tolua_err;
04436  if (
04437      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04438      !tolua_isnoobj(tolua_S,2,&tolua_err)
04439  )
04440   goto tolua_lerror;
04441  else
04442  {
04443   {
04444    fawkes::KatanaInterface::MoveMotorEncoderMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorEncoderMessage)());
04445     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorEncoderMessage");
04446     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04447   }
04448  }
04449  return 1;
04450 tolua_lerror:
04451  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00_local(tolua_S);
04452 }
04453 #endif //#ifndef TOLUA_DISABLE
04454 
04455 /* method: delete of class  MoveMotorEncoderMessage */
04456 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_delete00
04457 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_delete00(lua_State* tolua_S)
04458 {
04459 #ifndef TOLUA_RELEASE
04460  tolua_Error tolua_err;
04461  if (
04462      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04463      !tolua_isnoobj(tolua_S,2,&tolua_err)
04464  )
04465   goto tolua_lerror;
04466  else
04467 #endif
04468  {
04469   fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04470 #ifndef TOLUA_RELEASE
04471   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
04472 #endif
04473   Mtolua_delete(self);
04474  }
04475  return 0;
04476 #ifndef TOLUA_RELEASE
04477  tolua_lerror:
04478  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
04479  return 0;
04480 #endif
04481 }
04482 #endif //#ifndef TOLUA_DISABLE
04483 
04484 /* method: nr of class  MoveMotorEncoderMessage */
04485 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_nr00
04486 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_nr00(lua_State* tolua_S)
04487 {
04488 #ifndef TOLUA_RELEASE
04489  tolua_Error tolua_err;
04490  if (
04491      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04492      !tolua_isnoobj(tolua_S,2,&tolua_err)
04493  )
04494   goto tolua_lerror;
04495  else
04496 #endif
04497  {
04498   fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04499 #ifndef TOLUA_RELEASE
04500   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'nr'", NULL);
04501 #endif
04502   {
04503    unsigned int tolua_ret = (unsigned int)  self->nr();
04504    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04505   }
04506  }
04507  return 1;
04508 #ifndef TOLUA_RELEASE
04509  tolua_lerror:
04510  tolua_error(tolua_S,"#ferror in function 'nr'.",&tolua_err);
04511  return 0;
04512 #endif
04513 }
04514 #endif //#ifndef TOLUA_DISABLE
04515 
04516 /* method: set_nr of class  MoveMotorEncoderMessage */
04517 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_nr00
04518 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_nr00(lua_State* tolua_S)
04519 {
04520 #ifndef TOLUA_RELEASE
04521  tolua_Error tolua_err;
04522  if (
04523      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04524      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04525      !tolua_isnoobj(tolua_S,3,&tolua_err)
04526  )
04527   goto tolua_lerror;
04528  else
04529 #endif
04530  {
04531   fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04532   unsigned const int new_nr = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
04533 #ifndef TOLUA_RELEASE
04534   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_nr'", NULL);
04535 #endif
04536   {
04537    self->set_nr(new_nr);
04538   }
04539  }
04540  return 0;
04541 #ifndef TOLUA_RELEASE
04542  tolua_lerror:
04543  tolua_error(tolua_S,"#ferror in function 'set_nr'.",&tolua_err);
04544  return 0;
04545 #endif
04546 }
04547 #endif //#ifndef TOLUA_DISABLE
04548 
04549 /* method: maxlenof_nr of class  MoveMotorEncoderMessage */
04550 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_nr00
04551 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_nr00(lua_State* tolua_S)
04552 {
04553 #ifndef TOLUA_RELEASE
04554  tolua_Error tolua_err;
04555  if (
04556      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04557      !tolua_isnoobj(tolua_S,2,&tolua_err)
04558  )
04559   goto tolua_lerror;
04560  else
04561 #endif
04562  {
04563   const fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (const fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04564 #ifndef TOLUA_RELEASE
04565   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_nr'", NULL);
04566 #endif
04567   {
04568    int tolua_ret = (int)  self->maxlenof_nr();
04569    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04570   }
04571  }
04572  return 1;
04573 #ifndef TOLUA_RELEASE
04574  tolua_lerror:
04575  tolua_error(tolua_S,"#ferror in function 'maxlenof_nr'.",&tolua_err);
04576  return 0;
04577 #endif
04578 }
04579 #endif //#ifndef TOLUA_DISABLE
04580 
04581 /* method: enc of class  MoveMotorEncoderMessage */
04582 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_enc00
04583 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_enc00(lua_State* tolua_S)
04584 {
04585 #ifndef TOLUA_RELEASE
04586  tolua_Error tolua_err;
04587  if (
04588      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04589      !tolua_isnoobj(tolua_S,2,&tolua_err)
04590  )
04591   goto tolua_lerror;
04592  else
04593 #endif
04594  {
04595   fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04596 #ifndef TOLUA_RELEASE
04597   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'enc'", NULL);
04598 #endif
04599   {
04600    unsigned int tolua_ret = (unsigned int)  self->enc();
04601    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04602   }
04603  }
04604  return 1;
04605 #ifndef TOLUA_RELEASE
04606  tolua_lerror:
04607  tolua_error(tolua_S,"#ferror in function 'enc'.",&tolua_err);
04608  return 0;
04609 #endif
04610 }
04611 #endif //#ifndef TOLUA_DISABLE
04612 
04613 /* method: set_enc of class  MoveMotorEncoderMessage */
04614 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_enc00
04615 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_enc00(lua_State* tolua_S)
04616 {
04617 #ifndef TOLUA_RELEASE
04618  tolua_Error tolua_err;
04619  if (
04620      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04621      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04622      !tolua_isnoobj(tolua_S,3,&tolua_err)
04623  )
04624   goto tolua_lerror;
04625  else
04626 #endif
04627  {
04628   fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04629   unsigned const int new_enc = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
04630 #ifndef TOLUA_RELEASE
04631   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_enc'", NULL);
04632 #endif
04633   {
04634    self->set_enc(new_enc);
04635   }
04636  }
04637  return 0;
04638 #ifndef TOLUA_RELEASE
04639  tolua_lerror:
04640  tolua_error(tolua_S,"#ferror in function 'set_enc'.",&tolua_err);
04641  return 0;
04642 #endif
04643 }
04644 #endif //#ifndef TOLUA_DISABLE
04645 
04646 /* method: maxlenof_enc of class  MoveMotorEncoderMessage */
04647 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_enc00
04648 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_enc00(lua_State* tolua_S)
04649 {
04650 #ifndef TOLUA_RELEASE
04651  tolua_Error tolua_err;
04652  if (
04653      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::MoveMotorEncoderMessage",0,&tolua_err) ||
04654      !tolua_isnoobj(tolua_S,2,&tolua_err)
04655  )
04656   goto tolua_lerror;
04657  else
04658 #endif
04659  {
04660   const fawkes::KatanaInterface::MoveMotorEncoderMessage* self = (const fawkes::KatanaInterface::MoveMotorEncoderMessage*)  tolua_tousertype(tolua_S,1,0);
04661 #ifndef TOLUA_RELEASE
04662   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_enc'", NULL);
04663 #endif
04664   {
04665    int tolua_ret = (int)  self->maxlenof_enc();
04666    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04667   }
04668  }
04669  return 1;
04670 #ifndef TOLUA_RELEASE
04671  tolua_lerror:
04672  tolua_error(tolua_S,"#ferror in function 'maxlenof_enc'.",&tolua_err);
04673  return 0;
04674 #endif
04675 }
04676 #endif //#ifndef TOLUA_DISABLE
04677 
04678 /* method: new of class  SetMotorAngleMessage */
04679 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00
04680 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00(lua_State* tolua_S)
04681 {
04682 #ifndef TOLUA_RELEASE
04683  tolua_Error tolua_err;
04684  if (
04685      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04686      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04687      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04688      !tolua_isnoobj(tolua_S,4,&tolua_err)
04689  )
04690   goto tolua_lerror;
04691  else
04692 #endif
04693  {
04694   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04695   float ini_angle = ((float)  tolua_tonumber(tolua_S,3,0));
04696   {
04697    fawkes::KatanaInterface::SetMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorAngleMessage)(ini_nr,ini_angle));
04698     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorAngleMessage");
04699   }
04700  }
04701  return 1;
04702 #ifndef TOLUA_RELEASE
04703  tolua_lerror:
04704  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04705  return 0;
04706 #endif
04707 }
04708 #endif //#ifndef TOLUA_DISABLE
04709 
04710 /* method: new_local of class  SetMotorAngleMessage */
04711 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00_local
04712 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00_local(lua_State* tolua_S)
04713 {
04714 #ifndef TOLUA_RELEASE
04715  tolua_Error tolua_err;
04716  if (
04717      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04718      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04719      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
04720      !tolua_isnoobj(tolua_S,4,&tolua_err)
04721  )
04722   goto tolua_lerror;
04723  else
04724 #endif
04725  {
04726   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
04727   float ini_angle = ((float)  tolua_tonumber(tolua_S,3,0));
04728   {
04729    fawkes::KatanaInterface::SetMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorAngleMessage)(ini_nr,ini_angle));
04730     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorAngleMessage");
04731     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04732   }
04733  }
04734  return 1;
04735 #ifndef TOLUA_RELEASE
04736  tolua_lerror:
04737  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
04738  return 0;
04739 #endif
04740 }
04741 #endif //#ifndef TOLUA_DISABLE
04742 
04743 /* method: new of class  SetMotorAngleMessage */
04744 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01
04745 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01(lua_State* tolua_S)
04746 {
04747  tolua_Error tolua_err;
04748  if (
04749      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04750      !tolua_isnoobj(tolua_S,2,&tolua_err)
04751  )
04752   goto tolua_lerror;
04753  else
04754  {
04755   {
04756    fawkes::KatanaInterface::SetMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorAngleMessage)());
04757     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorAngleMessage");
04758   }
04759  }
04760  return 1;
04761 tolua_lerror:
04762  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00(tolua_S);
04763 }
04764 #endif //#ifndef TOLUA_DISABLE
04765 
04766 /* method: new_local of class  SetMotorAngleMessage */
04767 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01_local
04768 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01_local(lua_State* tolua_S)
04769 {
04770  tolua_Error tolua_err;
04771  if (
04772      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04773      !tolua_isnoobj(tolua_S,2,&tolua_err)
04774  )
04775   goto tolua_lerror;
04776  else
04777  {
04778   {
04779    fawkes::KatanaInterface::SetMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::SetMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::SetMotorAngleMessage)());
04780     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::SetMotorAngleMessage");
04781     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
04782   }
04783  }
04784  return 1;
04785 tolua_lerror:
04786  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00_local(tolua_S);
04787 }
04788 #endif //#ifndef TOLUA_DISABLE
04789 
04790 /* method: delete of class  SetMotorAngleMessage */
04791 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_delete00
04792 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_delete00(lua_State* tolua_S)
04793 {
04794 #ifndef TOLUA_RELEASE
04795  tolua_Error tolua_err;
04796  if (
04797      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04798      !tolua_isnoobj(tolua_S,2,&tolua_err)
04799  )
04800   goto tolua_lerror;
04801  else
04802 #endif
04803  {
04804   fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04805 #ifndef TOLUA_RELEASE
04806   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
04807 #endif
04808   Mtolua_delete(self);
04809  }
04810  return 0;
04811 #ifndef TOLUA_RELEASE
04812  tolua_lerror:
04813  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
04814  return 0;
04815 #endif
04816 }
04817 #endif //#ifndef TOLUA_DISABLE
04818 
04819 /* method: nr of class  SetMotorAngleMessage */
04820 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_nr00
04821 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_nr00(lua_State* tolua_S)
04822 {
04823 #ifndef TOLUA_RELEASE
04824  tolua_Error tolua_err;
04825  if (
04826      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04827      !tolua_isnoobj(tolua_S,2,&tolua_err)
04828  )
04829   goto tolua_lerror;
04830  else
04831 #endif
04832  {
04833   fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04834 #ifndef TOLUA_RELEASE
04835   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'nr'", NULL);
04836 #endif
04837   {
04838    unsigned int tolua_ret = (unsigned int)  self->nr();
04839    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04840   }
04841  }
04842  return 1;
04843 #ifndef TOLUA_RELEASE
04844  tolua_lerror:
04845  tolua_error(tolua_S,"#ferror in function 'nr'.",&tolua_err);
04846  return 0;
04847 #endif
04848 }
04849 #endif //#ifndef TOLUA_DISABLE
04850 
04851 /* method: set_nr of class  SetMotorAngleMessage */
04852 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_nr00
04853 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_nr00(lua_State* tolua_S)
04854 {
04855 #ifndef TOLUA_RELEASE
04856  tolua_Error tolua_err;
04857  if (
04858      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04859      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04860      !tolua_isnoobj(tolua_S,3,&tolua_err)
04861  )
04862   goto tolua_lerror;
04863  else
04864 #endif
04865  {
04866   fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04867   unsigned const int new_nr = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
04868 #ifndef TOLUA_RELEASE
04869   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_nr'", NULL);
04870 #endif
04871   {
04872    self->set_nr(new_nr);
04873   }
04874  }
04875  return 0;
04876 #ifndef TOLUA_RELEASE
04877  tolua_lerror:
04878  tolua_error(tolua_S,"#ferror in function 'set_nr'.",&tolua_err);
04879  return 0;
04880 #endif
04881 }
04882 #endif //#ifndef TOLUA_DISABLE
04883 
04884 /* method: maxlenof_nr of class  SetMotorAngleMessage */
04885 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_nr00
04886 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_nr00(lua_State* tolua_S)
04887 {
04888 #ifndef TOLUA_RELEASE
04889  tolua_Error tolua_err;
04890  if (
04891      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04892      !tolua_isnoobj(tolua_S,2,&tolua_err)
04893  )
04894   goto tolua_lerror;
04895  else
04896 #endif
04897  {
04898   const fawkes::KatanaInterface::SetMotorAngleMessage* self = (const fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04899 #ifndef TOLUA_RELEASE
04900   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_nr'", NULL);
04901 #endif
04902   {
04903    int tolua_ret = (int)  self->maxlenof_nr();
04904    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04905   }
04906  }
04907  return 1;
04908 #ifndef TOLUA_RELEASE
04909  tolua_lerror:
04910  tolua_error(tolua_S,"#ferror in function 'maxlenof_nr'.",&tolua_err);
04911  return 0;
04912 #endif
04913 }
04914 #endif //#ifndef TOLUA_DISABLE
04915 
04916 /* method: angle of class  SetMotorAngleMessage */
04917 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_angle00
04918 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_angle00(lua_State* tolua_S)
04919 {
04920 #ifndef TOLUA_RELEASE
04921  tolua_Error tolua_err;
04922  if (
04923      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04924      !tolua_isnoobj(tolua_S,2,&tolua_err)
04925  )
04926   goto tolua_lerror;
04927  else
04928 #endif
04929  {
04930   fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04931 #ifndef TOLUA_RELEASE
04932   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'angle'", NULL);
04933 #endif
04934   {
04935    float tolua_ret = (float)  self->angle();
04936    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
04937   }
04938  }
04939  return 1;
04940 #ifndef TOLUA_RELEASE
04941  tolua_lerror:
04942  tolua_error(tolua_S,"#ferror in function 'angle'.",&tolua_err);
04943  return 0;
04944 #endif
04945 }
04946 #endif //#ifndef TOLUA_DISABLE
04947 
04948 /* method: set_angle of class  SetMotorAngleMessage */
04949 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_angle00
04950 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_angle00(lua_State* tolua_S)
04951 {
04952 #ifndef TOLUA_RELEASE
04953  tolua_Error tolua_err;
04954  if (
04955      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04956      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
04957      !tolua_isnoobj(tolua_S,3,&tolua_err)
04958  )
04959   goto tolua_lerror;
04960  else
04961 #endif
04962  {
04963   fawkes::KatanaInterface::SetMotorAngleMessage* self = (fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04964   const float new_angle = ((const float)  tolua_tonumber(tolua_S,2,0));
04965 #ifndef TOLUA_RELEASE
04966   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_angle'", NULL);
04967 #endif
04968   {
04969    self->set_angle(new_angle);
04970   }
04971  }
04972  return 0;
04973 #ifndef TOLUA_RELEASE
04974  tolua_lerror:
04975  tolua_error(tolua_S,"#ferror in function 'set_angle'.",&tolua_err);
04976  return 0;
04977 #endif
04978 }
04979 #endif //#ifndef TOLUA_DISABLE
04980 
04981 /* method: maxlenof_angle of class  SetMotorAngleMessage */
04982 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_angle00
04983 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_angle00(lua_State* tolua_S)
04984 {
04985 #ifndef TOLUA_RELEASE
04986  tolua_Error tolua_err;
04987  if (
04988      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::SetMotorAngleMessage",0,&tolua_err) ||
04989      !tolua_isnoobj(tolua_S,2,&tolua_err)
04990  )
04991   goto tolua_lerror;
04992  else
04993 #endif
04994  {
04995   const fawkes::KatanaInterface::SetMotorAngleMessage* self = (const fawkes::KatanaInterface::SetMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
04996 #ifndef TOLUA_RELEASE
04997   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_angle'", NULL);
04998 #endif
04999   {
05000    int tolua_ret = (int)  self->maxlenof_angle();
05001    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05002   }
05003  }
05004  return 1;
05005 #ifndef TOLUA_RELEASE
05006  tolua_lerror:
05007  tolua_error(tolua_S,"#ferror in function 'maxlenof_angle'.",&tolua_err);
05008  return 0;
05009 #endif
05010 }
05011 #endif //#ifndef TOLUA_DISABLE
05012 
05013 /* method: new of class  MoveMotorAngleMessage */
05014 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00
05015 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00(lua_State* tolua_S)
05016 {
05017 #ifndef TOLUA_RELEASE
05018  tolua_Error tolua_err;
05019  if (
05020      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05021      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05022      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
05023      !tolua_isnoobj(tolua_S,4,&tolua_err)
05024  )
05025   goto tolua_lerror;
05026  else
05027 #endif
05028  {
05029   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
05030   float ini_angle = ((float)  tolua_tonumber(tolua_S,3,0));
05031   {
05032    fawkes::KatanaInterface::MoveMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorAngleMessage)(ini_nr,ini_angle));
05033     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorAngleMessage");
05034   }
05035  }
05036  return 1;
05037 #ifndef TOLUA_RELEASE
05038  tolua_lerror:
05039  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
05040  return 0;
05041 #endif
05042 }
05043 #endif //#ifndef TOLUA_DISABLE
05044 
05045 /* method: new_local of class  MoveMotorAngleMessage */
05046 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00_local
05047 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00_local(lua_State* tolua_S)
05048 {
05049 #ifndef TOLUA_RELEASE
05050  tolua_Error tolua_err;
05051  if (
05052      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05053      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05054      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
05055      !tolua_isnoobj(tolua_S,4,&tolua_err)
05056  )
05057   goto tolua_lerror;
05058  else
05059 #endif
05060  {
05061   unsigned int ini_nr = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
05062   float ini_angle = ((float)  tolua_tonumber(tolua_S,3,0));
05063   {
05064    fawkes::KatanaInterface::MoveMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorAngleMessage)(ini_nr,ini_angle));
05065     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorAngleMessage");
05066     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
05067   }
05068  }
05069  return 1;
05070 #ifndef TOLUA_RELEASE
05071  tolua_lerror:
05072  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
05073  return 0;
05074 #endif
05075 }
05076 #endif //#ifndef TOLUA_DISABLE
05077 
05078 /* method: new of class  MoveMotorAngleMessage */
05079 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01
05080 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01(lua_State* tolua_S)
05081 {
05082  tolua_Error tolua_err;
05083  if (
05084      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05085      !tolua_isnoobj(tolua_S,2,&tolua_err)
05086  )
05087   goto tolua_lerror;
05088  else
05089  {
05090   {
05091    fawkes::KatanaInterface::MoveMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorAngleMessage)());
05092     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorAngleMessage");
05093   }
05094  }
05095  return 1;
05096 tolua_lerror:
05097  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00(tolua_S);
05098 }
05099 #endif //#ifndef TOLUA_DISABLE
05100 
05101 /* method: new_local of class  MoveMotorAngleMessage */
05102 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01_local
05103 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01_local(lua_State* tolua_S)
05104 {
05105  tolua_Error tolua_err;
05106  if (
05107      !tolua_isusertable(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05108      !tolua_isnoobj(tolua_S,2,&tolua_err)
05109  )
05110   goto tolua_lerror;
05111  else
05112  {
05113   {
05114    fawkes::KatanaInterface::MoveMotorAngleMessage* tolua_ret = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  Mtolua_new((fawkes::KatanaInterface::MoveMotorAngleMessage)());
05115     tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::KatanaInterface::MoveMotorAngleMessage");
05116     tolua_register_gc(tolua_S,lua_gettop(tolua_S));
05117   }
05118  }
05119  return 1;
05120 tolua_lerror:
05121  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00_local(tolua_S);
05122 }
05123 #endif //#ifndef TOLUA_DISABLE
05124 
05125 /* method: delete of class  MoveMotorAngleMessage */
05126 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_delete00
05127 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_delete00(lua_State* tolua_S)
05128 {
05129 #ifndef TOLUA_RELEASE
05130  tolua_Error tolua_err;
05131  if (
05132      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05133      !tolua_isnoobj(tolua_S,2,&tolua_err)
05134  )
05135   goto tolua_lerror;
05136  else
05137 #endif
05138  {
05139   fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05140 #ifndef TOLUA_RELEASE
05141   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL);
05142 #endif
05143   Mtolua_delete(self);
05144  }
05145  return 0;
05146 #ifndef TOLUA_RELEASE
05147  tolua_lerror:
05148  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
05149  return 0;
05150 #endif
05151 }
05152 #endif //#ifndef TOLUA_DISABLE
05153 
05154 /* method: nr of class  MoveMotorAngleMessage */
05155 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_nr00
05156 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_nr00(lua_State* tolua_S)
05157 {
05158 #ifndef TOLUA_RELEASE
05159  tolua_Error tolua_err;
05160  if (
05161      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05162      !tolua_isnoobj(tolua_S,2,&tolua_err)
05163  )
05164   goto tolua_lerror;
05165  else
05166 #endif
05167  {
05168   fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05169 #ifndef TOLUA_RELEASE
05170   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'nr'", NULL);
05171 #endif
05172   {
05173    unsigned int tolua_ret = (unsigned int)  self->nr();
05174    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05175   }
05176  }
05177  return 1;
05178 #ifndef TOLUA_RELEASE
05179  tolua_lerror:
05180  tolua_error(tolua_S,"#ferror in function 'nr'.",&tolua_err);
05181  return 0;
05182 #endif
05183 }
05184 #endif //#ifndef TOLUA_DISABLE
05185 
05186 /* method: set_nr of class  MoveMotorAngleMessage */
05187 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_nr00
05188 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_nr00(lua_State* tolua_S)
05189 {
05190 #ifndef TOLUA_RELEASE
05191  tolua_Error tolua_err;
05192  if (
05193      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05194      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05195      !tolua_isnoobj(tolua_S,3,&tolua_err)
05196  )
05197   goto tolua_lerror;
05198  else
05199 #endif
05200  {
05201   fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05202   unsigned const int new_nr = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
05203 #ifndef TOLUA_RELEASE
05204   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_nr'", NULL);
05205 #endif
05206   {
05207    self->set_nr(new_nr);
05208   }
05209  }
05210  return 0;
05211 #ifndef TOLUA_RELEASE
05212  tolua_lerror:
05213  tolua_error(tolua_S,"#ferror in function 'set_nr'.",&tolua_err);
05214  return 0;
05215 #endif
05216 }
05217 #endif //#ifndef TOLUA_DISABLE
05218 
05219 /* method: maxlenof_nr of class  MoveMotorAngleMessage */
05220 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_nr00
05221 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_nr00(lua_State* tolua_S)
05222 {
05223 #ifndef TOLUA_RELEASE
05224  tolua_Error tolua_err;
05225  if (
05226      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05227      !tolua_isnoobj(tolua_S,2,&tolua_err)
05228  )
05229   goto tolua_lerror;
05230  else
05231 #endif
05232  {
05233   const fawkes::KatanaInterface::MoveMotorAngleMessage* self = (const fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05234 #ifndef TOLUA_RELEASE
05235   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_nr'", NULL);
05236 #endif
05237   {
05238    int tolua_ret = (int)  self->maxlenof_nr();
05239    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05240   }
05241  }
05242  return 1;
05243 #ifndef TOLUA_RELEASE
05244  tolua_lerror:
05245  tolua_error(tolua_S,"#ferror in function 'maxlenof_nr'.",&tolua_err);
05246  return 0;
05247 #endif
05248 }
05249 #endif //#ifndef TOLUA_DISABLE
05250 
05251 /* method: angle of class  MoveMotorAngleMessage */
05252 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_angle00
05253 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_angle00(lua_State* tolua_S)
05254 {
05255 #ifndef TOLUA_RELEASE
05256  tolua_Error tolua_err;
05257  if (
05258      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05259      !tolua_isnoobj(tolua_S,2,&tolua_err)
05260  )
05261   goto tolua_lerror;
05262  else
05263 #endif
05264  {
05265   fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05266 #ifndef TOLUA_RELEASE
05267   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'angle'", NULL);
05268 #endif
05269   {
05270    float tolua_ret = (float)  self->angle();
05271    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05272   }
05273  }
05274  return 1;
05275 #ifndef TOLUA_RELEASE
05276  tolua_lerror:
05277  tolua_error(tolua_S,"#ferror in function 'angle'.",&tolua_err);
05278  return 0;
05279 #endif
05280 }
05281 #endif //#ifndef TOLUA_DISABLE
05282 
05283 /* method: set_angle of class  MoveMotorAngleMessage */
05284 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_angle00
05285 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_angle00(lua_State* tolua_S)
05286 {
05287 #ifndef TOLUA_RELEASE
05288  tolua_Error tolua_err;
05289  if (
05290      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05291      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05292      !tolua_isnoobj(tolua_S,3,&tolua_err)
05293  )
05294   goto tolua_lerror;
05295  else
05296 #endif
05297  {
05298   fawkes::KatanaInterface::MoveMotorAngleMessage* self = (fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05299   const float new_angle = ((const float)  tolua_tonumber(tolua_S,2,0));
05300 #ifndef TOLUA_RELEASE
05301   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_angle'", NULL);
05302 #endif
05303   {
05304    self->set_angle(new_angle);
05305   }
05306  }
05307  return 0;
05308 #ifndef TOLUA_RELEASE
05309  tolua_lerror:
05310  tolua_error(tolua_S,"#ferror in function 'set_angle'.",&tolua_err);
05311  return 0;
05312 #endif
05313 }
05314 #endif //#ifndef TOLUA_DISABLE
05315 
05316 /* method: maxlenof_angle of class  MoveMotorAngleMessage */
05317 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_angle00
05318 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_angle00(lua_State* tolua_S)
05319 {
05320 #ifndef TOLUA_RELEASE
05321  tolua_Error tolua_err;
05322  if (
05323      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface::MoveMotorAngleMessage",0,&tolua_err) ||
05324      !tolua_isnoobj(tolua_S,2,&tolua_err)
05325  )
05326   goto tolua_lerror;
05327  else
05328 #endif
05329  {
05330   const fawkes::KatanaInterface::MoveMotorAngleMessage* self = (const fawkes::KatanaInterface::MoveMotorAngleMessage*)  tolua_tousertype(tolua_S,1,0);
05331 #ifndef TOLUA_RELEASE
05332   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_angle'", NULL);
05333 #endif
05334   {
05335    int tolua_ret = (int)  self->maxlenof_angle();
05336    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05337   }
05338  }
05339  return 1;
05340 #ifndef TOLUA_RELEASE
05341  tolua_lerror:
05342  tolua_error(tolua_S,"#ferror in function 'maxlenof_angle'.",&tolua_err);
05343  return 0;
05344 #endif
05345 }
05346 #endif //#ifndef TOLUA_DISABLE
05347 
05348 /* method: sensor_value of class  fawkes::KatanaInterface */
05349 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_sensor_value00
05350 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_sensor_value00(lua_State* tolua_S)
05351 {
05352 #ifndef TOLUA_RELEASE
05353  tolua_Error tolua_err;
05354  if (
05355      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05356      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05357      !tolua_isnoobj(tolua_S,3,&tolua_err)
05358  )
05359   goto tolua_lerror;
05360  else
05361 #endif
05362  {
05363   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05364   int index = ((int)  tolua_tonumber(tolua_S,2,0));
05365 #ifndef TOLUA_RELEASE
05366   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'sensor_value'", NULL);
05367 #endif
05368   {
05369    unsigned int tolua_ret = (unsigned int)  self->sensor_value(index);
05370    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05371   }
05372  }
05373  return 1;
05374 #ifndef TOLUA_RELEASE
05375  tolua_lerror:
05376  tolua_error(tolua_S,"#ferror in function 'sensor_value'.",&tolua_err);
05377  return 0;
05378 #endif
05379 }
05380 #endif //#ifndef TOLUA_DISABLE
05381 
05382 /* method: set_sensor_value of class  fawkes::KatanaInterface */
05383 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_sensor_value00
05384 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_sensor_value00(lua_State* tolua_S)
05385 {
05386 #ifndef TOLUA_RELEASE
05387  tolua_Error tolua_err;
05388  if (
05389      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05390      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05391      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
05392      !tolua_isnoobj(tolua_S,4,&tolua_err)
05393  )
05394   goto tolua_lerror;
05395  else
05396 #endif
05397  {
05398   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05399   unsigned int index = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
05400   unsigned const char new_sensor_value = ((unsigned const char)  tolua_tonumber(tolua_S,3,0));
05401 #ifndef TOLUA_RELEASE
05402   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_sensor_value'", NULL);
05403 #endif
05404   {
05405    self->set_sensor_value(index,new_sensor_value);
05406   }
05407  }
05408  return 0;
05409 #ifndef TOLUA_RELEASE
05410  tolua_lerror:
05411  tolua_error(tolua_S,"#ferror in function 'set_sensor_value'.",&tolua_err);
05412  return 0;
05413 #endif
05414 }
05415 #endif //#ifndef TOLUA_DISABLE
05416 
05417 /* method: maxlenof_sensor_value of class  fawkes::KatanaInterface */
05418 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_sensor_value00
05419 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_sensor_value00(lua_State* tolua_S)
05420 {
05421 #ifndef TOLUA_RELEASE
05422  tolua_Error tolua_err;
05423  if (
05424      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05425      !tolua_isnoobj(tolua_S,2,&tolua_err)
05426  )
05427   goto tolua_lerror;
05428  else
05429 #endif
05430  {
05431   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05432 #ifndef TOLUA_RELEASE
05433   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_sensor_value'", NULL);
05434 #endif
05435   {
05436    int tolua_ret = (int)  self->maxlenof_sensor_value();
05437    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05438   }
05439  }
05440  return 1;
05441 #ifndef TOLUA_RELEASE
05442  tolua_lerror:
05443  tolua_error(tolua_S,"#ferror in function 'maxlenof_sensor_value'.",&tolua_err);
05444  return 0;
05445 #endif
05446 }
05447 #endif //#ifndef TOLUA_DISABLE
05448 
05449 /* method: x of class  fawkes::KatanaInterface */
05450 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_x00
05451 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_x00(lua_State* tolua_S)
05452 {
05453 #ifndef TOLUA_RELEASE
05454  tolua_Error tolua_err;
05455  if (
05456      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05457      !tolua_isnoobj(tolua_S,2,&tolua_err)
05458  )
05459   goto tolua_lerror;
05460  else
05461 #endif
05462  {
05463   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05464 #ifndef TOLUA_RELEASE
05465   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL);
05466 #endif
05467   {
05468    float tolua_ret = (float)  self->x();
05469    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05470   }
05471  }
05472  return 1;
05473 #ifndef TOLUA_RELEASE
05474  tolua_lerror:
05475  tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err);
05476  return 0;
05477 #endif
05478 }
05479 #endif //#ifndef TOLUA_DISABLE
05480 
05481 /* method: set_x of class  fawkes::KatanaInterface */
05482 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_x00
05483 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_x00(lua_State* tolua_S)
05484 {
05485 #ifndef TOLUA_RELEASE
05486  tolua_Error tolua_err;
05487  if (
05488      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05489      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05490      !tolua_isnoobj(tolua_S,3,&tolua_err)
05491  )
05492   goto tolua_lerror;
05493  else
05494 #endif
05495  {
05496   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05497   const float new_x = ((const float)  tolua_tonumber(tolua_S,2,0));
05498 #ifndef TOLUA_RELEASE
05499   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL);
05500 #endif
05501   {
05502    self->set_x(new_x);
05503   }
05504  }
05505  return 0;
05506 #ifndef TOLUA_RELEASE
05507  tolua_lerror:
05508  tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err);
05509  return 0;
05510 #endif
05511 }
05512 #endif //#ifndef TOLUA_DISABLE
05513 
05514 /* method: maxlenof_x of class  fawkes::KatanaInterface */
05515 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_x00
05516 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_x00(lua_State* tolua_S)
05517 {
05518 #ifndef TOLUA_RELEASE
05519  tolua_Error tolua_err;
05520  if (
05521      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05522      !tolua_isnoobj(tolua_S,2,&tolua_err)
05523  )
05524   goto tolua_lerror;
05525  else
05526 #endif
05527  {
05528   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05529 #ifndef TOLUA_RELEASE
05530   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL);
05531 #endif
05532   {
05533    int tolua_ret = (int)  self->maxlenof_x();
05534    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05535   }
05536  }
05537  return 1;
05538 #ifndef TOLUA_RELEASE
05539  tolua_lerror:
05540  tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err);
05541  return 0;
05542 #endif
05543 }
05544 #endif //#ifndef TOLUA_DISABLE
05545 
05546 /* method: y of class  fawkes::KatanaInterface */
05547 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_y00
05548 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_y00(lua_State* tolua_S)
05549 {
05550 #ifndef TOLUA_RELEASE
05551  tolua_Error tolua_err;
05552  if (
05553      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05554      !tolua_isnoobj(tolua_S,2,&tolua_err)
05555  )
05556   goto tolua_lerror;
05557  else
05558 #endif
05559  {
05560   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05561 #ifndef TOLUA_RELEASE
05562   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL);
05563 #endif
05564   {
05565    float tolua_ret = (float)  self->y();
05566    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05567   }
05568  }
05569  return 1;
05570 #ifndef TOLUA_RELEASE
05571  tolua_lerror:
05572  tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err);
05573  return 0;
05574 #endif
05575 }
05576 #endif //#ifndef TOLUA_DISABLE
05577 
05578 /* method: set_y of class  fawkes::KatanaInterface */
05579 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_y00
05580 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_y00(lua_State* tolua_S)
05581 {
05582 #ifndef TOLUA_RELEASE
05583  tolua_Error tolua_err;
05584  if (
05585      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05586      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05587      !tolua_isnoobj(tolua_S,3,&tolua_err)
05588  )
05589   goto tolua_lerror;
05590  else
05591 #endif
05592  {
05593   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05594   const float new_y = ((const float)  tolua_tonumber(tolua_S,2,0));
05595 #ifndef TOLUA_RELEASE
05596   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL);
05597 #endif
05598   {
05599    self->set_y(new_y);
05600   }
05601  }
05602  return 0;
05603 #ifndef TOLUA_RELEASE
05604  tolua_lerror:
05605  tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err);
05606  return 0;
05607 #endif
05608 }
05609 #endif //#ifndef TOLUA_DISABLE
05610 
05611 /* method: maxlenof_y of class  fawkes::KatanaInterface */
05612 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_y00
05613 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_y00(lua_State* tolua_S)
05614 {
05615 #ifndef TOLUA_RELEASE
05616  tolua_Error tolua_err;
05617  if (
05618      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05619      !tolua_isnoobj(tolua_S,2,&tolua_err)
05620  )
05621   goto tolua_lerror;
05622  else
05623 #endif
05624  {
05625   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05626 #ifndef TOLUA_RELEASE
05627   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL);
05628 #endif
05629   {
05630    int tolua_ret = (int)  self->maxlenof_y();
05631    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05632   }
05633  }
05634  return 1;
05635 #ifndef TOLUA_RELEASE
05636  tolua_lerror:
05637  tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err);
05638  return 0;
05639 #endif
05640 }
05641 #endif //#ifndef TOLUA_DISABLE
05642 
05643 /* method: z of class  fawkes::KatanaInterface */
05644 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_z00
05645 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_z00(lua_State* tolua_S)
05646 {
05647 #ifndef TOLUA_RELEASE
05648  tolua_Error tolua_err;
05649  if (
05650      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05651      !tolua_isnoobj(tolua_S,2,&tolua_err)
05652  )
05653   goto tolua_lerror;
05654  else
05655 #endif
05656  {
05657   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05658 #ifndef TOLUA_RELEASE
05659   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'z'", NULL);
05660 #endif
05661   {
05662    float tolua_ret = (float)  self->z();
05663    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05664   }
05665  }
05666  return 1;
05667 #ifndef TOLUA_RELEASE
05668  tolua_lerror:
05669  tolua_error(tolua_S,"#ferror in function 'z'.",&tolua_err);
05670  return 0;
05671 #endif
05672 }
05673 #endif //#ifndef TOLUA_DISABLE
05674 
05675 /* method: set_z of class  fawkes::KatanaInterface */
05676 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_z00
05677 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_z00(lua_State* tolua_S)
05678 {
05679 #ifndef TOLUA_RELEASE
05680  tolua_Error tolua_err;
05681  if (
05682      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05683      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05684      !tolua_isnoobj(tolua_S,3,&tolua_err)
05685  )
05686   goto tolua_lerror;
05687  else
05688 #endif
05689  {
05690   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05691   const float new_z = ((const float)  tolua_tonumber(tolua_S,2,0));
05692 #ifndef TOLUA_RELEASE
05693   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_z'", NULL);
05694 #endif
05695   {
05696    self->set_z(new_z);
05697   }
05698  }
05699  return 0;
05700 #ifndef TOLUA_RELEASE
05701  tolua_lerror:
05702  tolua_error(tolua_S,"#ferror in function 'set_z'.",&tolua_err);
05703  return 0;
05704 #endif
05705 }
05706 #endif //#ifndef TOLUA_DISABLE
05707 
05708 /* method: maxlenof_z of class  fawkes::KatanaInterface */
05709 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_z00
05710 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_z00(lua_State* tolua_S)
05711 {
05712 #ifndef TOLUA_RELEASE
05713  tolua_Error tolua_err;
05714  if (
05715      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05716      !tolua_isnoobj(tolua_S,2,&tolua_err)
05717  )
05718   goto tolua_lerror;
05719  else
05720 #endif
05721  {
05722   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05723 #ifndef TOLUA_RELEASE
05724   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_z'", NULL);
05725 #endif
05726   {
05727    int tolua_ret = (int)  self->maxlenof_z();
05728    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05729   }
05730  }
05731  return 1;
05732 #ifndef TOLUA_RELEASE
05733  tolua_lerror:
05734  tolua_error(tolua_S,"#ferror in function 'maxlenof_z'.",&tolua_err);
05735  return 0;
05736 #endif
05737 }
05738 #endif //#ifndef TOLUA_DISABLE
05739 
05740 /* method: phi of class  fawkes::KatanaInterface */
05741 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_phi00
05742 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_phi00(lua_State* tolua_S)
05743 {
05744 #ifndef TOLUA_RELEASE
05745  tolua_Error tolua_err;
05746  if (
05747      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05748      !tolua_isnoobj(tolua_S,2,&tolua_err)
05749  )
05750   goto tolua_lerror;
05751  else
05752 #endif
05753  {
05754   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05755 #ifndef TOLUA_RELEASE
05756   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'phi'", NULL);
05757 #endif
05758   {
05759    float tolua_ret = (float)  self->phi();
05760    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05761   }
05762  }
05763  return 1;
05764 #ifndef TOLUA_RELEASE
05765  tolua_lerror:
05766  tolua_error(tolua_S,"#ferror in function 'phi'.",&tolua_err);
05767  return 0;
05768 #endif
05769 }
05770 #endif //#ifndef TOLUA_DISABLE
05771 
05772 /* method: set_phi of class  fawkes::KatanaInterface */
05773 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_phi00
05774 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_phi00(lua_State* tolua_S)
05775 {
05776 #ifndef TOLUA_RELEASE
05777  tolua_Error tolua_err;
05778  if (
05779      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05780      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05781      !tolua_isnoobj(tolua_S,3,&tolua_err)
05782  )
05783   goto tolua_lerror;
05784  else
05785 #endif
05786  {
05787   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05788   const float new_phi = ((const float)  tolua_tonumber(tolua_S,2,0));
05789 #ifndef TOLUA_RELEASE
05790   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_phi'", NULL);
05791 #endif
05792   {
05793    self->set_phi(new_phi);
05794   }
05795  }
05796  return 0;
05797 #ifndef TOLUA_RELEASE
05798  tolua_lerror:
05799  tolua_error(tolua_S,"#ferror in function 'set_phi'.",&tolua_err);
05800  return 0;
05801 #endif
05802 }
05803 #endif //#ifndef TOLUA_DISABLE
05804 
05805 /* method: maxlenof_phi of class  fawkes::KatanaInterface */
05806 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_phi00
05807 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_phi00(lua_State* tolua_S)
05808 {
05809 #ifndef TOLUA_RELEASE
05810  tolua_Error tolua_err;
05811  if (
05812      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05813      !tolua_isnoobj(tolua_S,2,&tolua_err)
05814  )
05815   goto tolua_lerror;
05816  else
05817 #endif
05818  {
05819   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05820 #ifndef TOLUA_RELEASE
05821   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_phi'", NULL);
05822 #endif
05823   {
05824    int tolua_ret = (int)  self->maxlenof_phi();
05825    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05826   }
05827  }
05828  return 1;
05829 #ifndef TOLUA_RELEASE
05830  tolua_lerror:
05831  tolua_error(tolua_S,"#ferror in function 'maxlenof_phi'.",&tolua_err);
05832  return 0;
05833 #endif
05834 }
05835 #endif //#ifndef TOLUA_DISABLE
05836 
05837 /* method: theta of class  fawkes::KatanaInterface */
05838 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_theta00
05839 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_theta00(lua_State* tolua_S)
05840 {
05841 #ifndef TOLUA_RELEASE
05842  tolua_Error tolua_err;
05843  if (
05844      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05845      !tolua_isnoobj(tolua_S,2,&tolua_err)
05846  )
05847   goto tolua_lerror;
05848  else
05849 #endif
05850  {
05851   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05852 #ifndef TOLUA_RELEASE
05853   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'theta'", NULL);
05854 #endif
05855   {
05856    float tolua_ret = (float)  self->theta();
05857    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05858   }
05859  }
05860  return 1;
05861 #ifndef TOLUA_RELEASE
05862  tolua_lerror:
05863  tolua_error(tolua_S,"#ferror in function 'theta'.",&tolua_err);
05864  return 0;
05865 #endif
05866 }
05867 #endif //#ifndef TOLUA_DISABLE
05868 
05869 /* method: set_theta of class  fawkes::KatanaInterface */
05870 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_theta00
05871 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_theta00(lua_State* tolua_S)
05872 {
05873 #ifndef TOLUA_RELEASE
05874  tolua_Error tolua_err;
05875  if (
05876      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05877      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05878      !tolua_isnoobj(tolua_S,3,&tolua_err)
05879  )
05880   goto tolua_lerror;
05881  else
05882 #endif
05883  {
05884   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05885   const float new_theta = ((const float)  tolua_tonumber(tolua_S,2,0));
05886 #ifndef TOLUA_RELEASE
05887   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_theta'", NULL);
05888 #endif
05889   {
05890    self->set_theta(new_theta);
05891   }
05892  }
05893  return 0;
05894 #ifndef TOLUA_RELEASE
05895  tolua_lerror:
05896  tolua_error(tolua_S,"#ferror in function 'set_theta'.",&tolua_err);
05897  return 0;
05898 #endif
05899 }
05900 #endif //#ifndef TOLUA_DISABLE
05901 
05902 /* method: maxlenof_theta of class  fawkes::KatanaInterface */
05903 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_theta00
05904 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_theta00(lua_State* tolua_S)
05905 {
05906 #ifndef TOLUA_RELEASE
05907  tolua_Error tolua_err;
05908  if (
05909      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
05910      !tolua_isnoobj(tolua_S,2,&tolua_err)
05911  )
05912   goto tolua_lerror;
05913  else
05914 #endif
05915  {
05916   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05917 #ifndef TOLUA_RELEASE
05918   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_theta'", NULL);
05919 #endif
05920   {
05921    int tolua_ret = (int)  self->maxlenof_theta();
05922    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05923   }
05924  }
05925  return 1;
05926 #ifndef TOLUA_RELEASE
05927  tolua_lerror:
05928  tolua_error(tolua_S,"#ferror in function 'maxlenof_theta'.",&tolua_err);
05929  return 0;
05930 #endif
05931 }
05932 #endif //#ifndef TOLUA_DISABLE
05933 
05934 /* method: psi of class  fawkes::KatanaInterface */
05935 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_psi00
05936 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_psi00(lua_State* tolua_S)
05937 {
05938 #ifndef TOLUA_RELEASE
05939  tolua_Error tolua_err;
05940  if (
05941      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05942      !tolua_isnoobj(tolua_S,2,&tolua_err)
05943  )
05944   goto tolua_lerror;
05945  else
05946 #endif
05947  {
05948   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05949 #ifndef TOLUA_RELEASE
05950   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'psi'", NULL);
05951 #endif
05952   {
05953    float tolua_ret = (float)  self->psi();
05954    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
05955   }
05956  }
05957  return 1;
05958 #ifndef TOLUA_RELEASE
05959  tolua_lerror:
05960  tolua_error(tolua_S,"#ferror in function 'psi'.",&tolua_err);
05961  return 0;
05962 #endif
05963 }
05964 #endif //#ifndef TOLUA_DISABLE
05965 
05966 /* method: set_psi of class  fawkes::KatanaInterface */
05967 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_psi00
05968 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_psi00(lua_State* tolua_S)
05969 {
05970 #ifndef TOLUA_RELEASE
05971  tolua_Error tolua_err;
05972  if (
05973      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
05974      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
05975      !tolua_isnoobj(tolua_S,3,&tolua_err)
05976  )
05977   goto tolua_lerror;
05978  else
05979 #endif
05980  {
05981   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
05982   const float new_psi = ((const float)  tolua_tonumber(tolua_S,2,0));
05983 #ifndef TOLUA_RELEASE
05984   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_psi'", NULL);
05985 #endif
05986   {
05987    self->set_psi(new_psi);
05988   }
05989  }
05990  return 0;
05991 #ifndef TOLUA_RELEASE
05992  tolua_lerror:
05993  tolua_error(tolua_S,"#ferror in function 'set_psi'.",&tolua_err);
05994  return 0;
05995 #endif
05996 }
05997 #endif //#ifndef TOLUA_DISABLE
05998 
05999 /* method: maxlenof_psi of class  fawkes::KatanaInterface */
06000 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_psi00
06001 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_psi00(lua_State* tolua_S)
06002 {
06003 #ifndef TOLUA_RELEASE
06004  tolua_Error tolua_err;
06005  if (
06006      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06007      !tolua_isnoobj(tolua_S,2,&tolua_err)
06008  )
06009   goto tolua_lerror;
06010  else
06011 #endif
06012  {
06013   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06014 #ifndef TOLUA_RELEASE
06015   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_psi'", NULL);
06016 #endif
06017   {
06018    int tolua_ret = (int)  self->maxlenof_psi();
06019    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06020   }
06021  }
06022  return 1;
06023 #ifndef TOLUA_RELEASE
06024  tolua_lerror:
06025  tolua_error(tolua_S,"#ferror in function 'maxlenof_psi'.",&tolua_err);
06026  return 0;
06027 #endif
06028 }
06029 #endif //#ifndef TOLUA_DISABLE
06030 
06031 /* method: encoders of class  fawkes::KatanaInterface */
06032 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_encoders00
06033 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_encoders00(lua_State* tolua_S)
06034 {
06035 #ifndef TOLUA_RELEASE
06036  tolua_Error tolua_err;
06037  if (
06038      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06039      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06040      !tolua_isnoobj(tolua_S,3,&tolua_err)
06041  )
06042   goto tolua_lerror;
06043  else
06044 #endif
06045  {
06046   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06047   int index = ((int)  tolua_tonumber(tolua_S,2,0));
06048 #ifndef TOLUA_RELEASE
06049   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'encoders'", NULL);
06050 #endif
06051   {
06052    int tolua_ret = (int)  self->encoders(index);
06053    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06054   }
06055  }
06056  return 1;
06057 #ifndef TOLUA_RELEASE
06058  tolua_lerror:
06059  tolua_error(tolua_S,"#ferror in function 'encoders'.",&tolua_err);
06060  return 0;
06061 #endif
06062 }
06063 #endif //#ifndef TOLUA_DISABLE
06064 
06065 /* method: set_encoders of class  fawkes::KatanaInterface */
06066 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_encoders00
06067 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_encoders00(lua_State* tolua_S)
06068 {
06069 #ifndef TOLUA_RELEASE
06070  tolua_Error tolua_err;
06071  if (
06072      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06073      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06074      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
06075      !tolua_isnoobj(tolua_S,4,&tolua_err)
06076  )
06077   goto tolua_lerror;
06078  else
06079 #endif
06080  {
06081   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06082   unsigned int index = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
06083   const int new_encoders = ((const int)  tolua_tonumber(tolua_S,3,0));
06084 #ifndef TOLUA_RELEASE
06085   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_encoders'", NULL);
06086 #endif
06087   {
06088    self->set_encoders(index,new_encoders);
06089   }
06090  }
06091  return 0;
06092 #ifndef TOLUA_RELEASE
06093  tolua_lerror:
06094  tolua_error(tolua_S,"#ferror in function 'set_encoders'.",&tolua_err);
06095  return 0;
06096 #endif
06097 }
06098 #endif //#ifndef TOLUA_DISABLE
06099 
06100 /* method: maxlenof_encoders of class  fawkes::KatanaInterface */
06101 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_encoders00
06102 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_encoders00(lua_State* tolua_S)
06103 {
06104 #ifndef TOLUA_RELEASE
06105  tolua_Error tolua_err;
06106  if (
06107      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06108      !tolua_isnoobj(tolua_S,2,&tolua_err)
06109  )
06110   goto tolua_lerror;
06111  else
06112 #endif
06113  {
06114   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06115 #ifndef TOLUA_RELEASE
06116   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_encoders'", NULL);
06117 #endif
06118   {
06119    int tolua_ret = (int)  self->maxlenof_encoders();
06120    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06121   }
06122  }
06123  return 1;
06124 #ifndef TOLUA_RELEASE
06125  tolua_lerror:
06126  tolua_error(tolua_S,"#ferror in function 'maxlenof_encoders'.",&tolua_err);
06127  return 0;
06128 #endif
06129 }
06130 #endif //#ifndef TOLUA_DISABLE
06131 
06132 /* method: angles of class  fawkes::KatanaInterface */
06133 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_angles00
06134 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_angles00(lua_State* tolua_S)
06135 {
06136 #ifndef TOLUA_RELEASE
06137  tolua_Error tolua_err;
06138  if (
06139      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06140      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06141      !tolua_isnoobj(tolua_S,3,&tolua_err)
06142  )
06143   goto tolua_lerror;
06144  else
06145 #endif
06146  {
06147   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06148   int index = ((int)  tolua_tonumber(tolua_S,2,0));
06149 #ifndef TOLUA_RELEASE
06150   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'angles'", NULL);
06151 #endif
06152   {
06153    float tolua_ret = (float)  self->angles(index);
06154    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06155   }
06156  }
06157  return 1;
06158 #ifndef TOLUA_RELEASE
06159  tolua_lerror:
06160  tolua_error(tolua_S,"#ferror in function 'angles'.",&tolua_err);
06161  return 0;
06162 #endif
06163 }
06164 #endif //#ifndef TOLUA_DISABLE
06165 
06166 /* method: set_angles of class  fawkes::KatanaInterface */
06167 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_angles00
06168 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_angles00(lua_State* tolua_S)
06169 {
06170 #ifndef TOLUA_RELEASE
06171  tolua_Error tolua_err;
06172  if (
06173      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06174      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06175      !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
06176      !tolua_isnoobj(tolua_S,4,&tolua_err)
06177  )
06178   goto tolua_lerror;
06179  else
06180 #endif
06181  {
06182   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06183   unsigned int index = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
06184   const float new_angles = ((const float)  tolua_tonumber(tolua_S,3,0));
06185 #ifndef TOLUA_RELEASE
06186   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_angles'", NULL);
06187 #endif
06188   {
06189    self->set_angles(index,new_angles);
06190   }
06191  }
06192  return 0;
06193 #ifndef TOLUA_RELEASE
06194  tolua_lerror:
06195  tolua_error(tolua_S,"#ferror in function 'set_angles'.",&tolua_err);
06196  return 0;
06197 #endif
06198 }
06199 #endif //#ifndef TOLUA_DISABLE
06200 
06201 /* method: maxlenof_angles of class  fawkes::KatanaInterface */
06202 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_angles00
06203 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_angles00(lua_State* tolua_S)
06204 {
06205 #ifndef TOLUA_RELEASE
06206  tolua_Error tolua_err;
06207  if (
06208      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06209      !tolua_isnoobj(tolua_S,2,&tolua_err)
06210  )
06211   goto tolua_lerror;
06212  else
06213 #endif
06214  {
06215   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06216 #ifndef TOLUA_RELEASE
06217   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_angles'", NULL);
06218 #endif
06219   {
06220    int tolua_ret = (int)  self->maxlenof_angles();
06221    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06222   }
06223  }
06224  return 1;
06225 #ifndef TOLUA_RELEASE
06226  tolua_lerror:
06227  tolua_error(tolua_S,"#ferror in function 'maxlenof_angles'.",&tolua_err);
06228  return 0;
06229 #endif
06230 }
06231 #endif //#ifndef TOLUA_DISABLE
06232 
06233 /* method: msgid of class  fawkes::KatanaInterface */
06234 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgid00
06235 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgid00(lua_State* tolua_S)
06236 {
06237 #ifndef TOLUA_RELEASE
06238  tolua_Error tolua_err;
06239  if (
06240      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06241      !tolua_isnoobj(tolua_S,2,&tolua_err)
06242  )
06243   goto tolua_lerror;
06244  else
06245 #endif
06246  {
06247   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06248 #ifndef TOLUA_RELEASE
06249   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgid'", NULL);
06250 #endif
06251   {
06252    unsigned int tolua_ret = (unsigned int)  self->msgid();
06253    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06254   }
06255  }
06256  return 1;
06257 #ifndef TOLUA_RELEASE
06258  tolua_lerror:
06259  tolua_error(tolua_S,"#ferror in function 'msgid'.",&tolua_err);
06260  return 0;
06261 #endif
06262 }
06263 #endif //#ifndef TOLUA_DISABLE
06264 
06265 /* method: set_msgid of class  fawkes::KatanaInterface */
06266 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_msgid00
06267 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_msgid00(lua_State* tolua_S)
06268 {
06269 #ifndef TOLUA_RELEASE
06270  tolua_Error tolua_err;
06271  if (
06272      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06273      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06274      !tolua_isnoobj(tolua_S,3,&tolua_err)
06275  )
06276   goto tolua_lerror;
06277  else
06278 #endif
06279  {
06280   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06281   unsigned const int new_msgid = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
06282 #ifndef TOLUA_RELEASE
06283   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_msgid'", NULL);
06284 #endif
06285   {
06286    self->set_msgid(new_msgid);
06287   }
06288  }
06289  return 0;
06290 #ifndef TOLUA_RELEASE
06291  tolua_lerror:
06292  tolua_error(tolua_S,"#ferror in function 'set_msgid'.",&tolua_err);
06293  return 0;
06294 #endif
06295 }
06296 #endif //#ifndef TOLUA_DISABLE
06297 
06298 /* method: maxlenof_msgid of class  fawkes::KatanaInterface */
06299 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_msgid00
06300 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_msgid00(lua_State* tolua_S)
06301 {
06302 #ifndef TOLUA_RELEASE
06303  tolua_Error tolua_err;
06304  if (
06305      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06306      !tolua_isnoobj(tolua_S,2,&tolua_err)
06307  )
06308   goto tolua_lerror;
06309  else
06310 #endif
06311  {
06312   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06313 #ifndef TOLUA_RELEASE
06314   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_msgid'", NULL);
06315 #endif
06316   {
06317    int tolua_ret = (int)  self->maxlenof_msgid();
06318    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06319   }
06320  }
06321  return 1;
06322 #ifndef TOLUA_RELEASE
06323  tolua_lerror:
06324  tolua_error(tolua_S,"#ferror in function 'maxlenof_msgid'.",&tolua_err);
06325  return 0;
06326 #endif
06327 }
06328 #endif //#ifndef TOLUA_DISABLE
06329 
06330 /* method: is_final of class  fawkes::KatanaInterface */
06331 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_final00
06332 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_final00(lua_State* tolua_S)
06333 {
06334 #ifndef TOLUA_RELEASE
06335  tolua_Error tolua_err;
06336  if (
06337      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06338      !tolua_isnoobj(tolua_S,2,&tolua_err)
06339  )
06340   goto tolua_lerror;
06341  else
06342 #endif
06343  {
06344   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06345 #ifndef TOLUA_RELEASE
06346   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_final'", NULL);
06347 #endif
06348   {
06349    bool tolua_ret = (bool)  self->is_final();
06350    tolua_pushboolean(tolua_S,(bool)tolua_ret);
06351   }
06352  }
06353  return 1;
06354 #ifndef TOLUA_RELEASE
06355  tolua_lerror:
06356  tolua_error(tolua_S,"#ferror in function 'is_final'.",&tolua_err);
06357  return 0;
06358 #endif
06359 }
06360 #endif //#ifndef TOLUA_DISABLE
06361 
06362 /* method: set_final of class  fawkes::KatanaInterface */
06363 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_final00
06364 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_final00(lua_State* tolua_S)
06365 {
06366 #ifndef TOLUA_RELEASE
06367  tolua_Error tolua_err;
06368  if (
06369      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06370      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
06371      !tolua_isnoobj(tolua_S,3,&tolua_err)
06372  )
06373   goto tolua_lerror;
06374  else
06375 #endif
06376  {
06377   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06378   const bool new_final = ((const bool)  tolua_toboolean(tolua_S,2,0));
06379 #ifndef TOLUA_RELEASE
06380   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_final'", NULL);
06381 #endif
06382   {
06383    self->set_final(new_final);
06384   }
06385  }
06386  return 0;
06387 #ifndef TOLUA_RELEASE
06388  tolua_lerror:
06389  tolua_error(tolua_S,"#ferror in function 'set_final'.",&tolua_err);
06390  return 0;
06391 #endif
06392 }
06393 #endif //#ifndef TOLUA_DISABLE
06394 
06395 /* method: maxlenof_final of class  fawkes::KatanaInterface */
06396 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_final00
06397 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_final00(lua_State* tolua_S)
06398 {
06399 #ifndef TOLUA_RELEASE
06400  tolua_Error tolua_err;
06401  if (
06402      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06403      !tolua_isnoobj(tolua_S,2,&tolua_err)
06404  )
06405   goto tolua_lerror;
06406  else
06407 #endif
06408  {
06409   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06410 #ifndef TOLUA_RELEASE
06411   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_final'", NULL);
06412 #endif
06413   {
06414    int tolua_ret = (int)  self->maxlenof_final();
06415    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06416   }
06417  }
06418  return 1;
06419 #ifndef TOLUA_RELEASE
06420  tolua_lerror:
06421  tolua_error(tolua_S,"#ferror in function 'maxlenof_final'.",&tolua_err);
06422  return 0;
06423 #endif
06424 }
06425 #endif //#ifndef TOLUA_DISABLE
06426 
06427 /* method: error_code of class  fawkes::KatanaInterface */
06428 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_error_code00
06429 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_error_code00(lua_State* tolua_S)
06430 {
06431 #ifndef TOLUA_RELEASE
06432  tolua_Error tolua_err;
06433  if (
06434      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06435      !tolua_isnoobj(tolua_S,2,&tolua_err)
06436  )
06437   goto tolua_lerror;
06438  else
06439 #endif
06440  {
06441   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06442 #ifndef TOLUA_RELEASE
06443   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'error_code'", NULL);
06444 #endif
06445   {
06446    unsigned int tolua_ret = (unsigned int)  self->error_code();
06447    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06448   }
06449  }
06450  return 1;
06451 #ifndef TOLUA_RELEASE
06452  tolua_lerror:
06453  tolua_error(tolua_S,"#ferror in function 'error_code'.",&tolua_err);
06454  return 0;
06455 #endif
06456 }
06457 #endif //#ifndef TOLUA_DISABLE
06458 
06459 /* method: set_error_code of class  fawkes::KatanaInterface */
06460 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_error_code00
06461 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_error_code00(lua_State* tolua_S)
06462 {
06463 #ifndef TOLUA_RELEASE
06464  tolua_Error tolua_err;
06465  if (
06466      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06467      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06468      !tolua_isnoobj(tolua_S,3,&tolua_err)
06469  )
06470   goto tolua_lerror;
06471  else
06472 #endif
06473  {
06474   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06475   unsigned const int new_error_code = ((unsigned const int)  tolua_tonumber(tolua_S,2,0));
06476 #ifndef TOLUA_RELEASE
06477   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_error_code'", NULL);
06478 #endif
06479   {
06480    self->set_error_code(new_error_code);
06481   }
06482  }
06483  return 0;
06484 #ifndef TOLUA_RELEASE
06485  tolua_lerror:
06486  tolua_error(tolua_S,"#ferror in function 'set_error_code'.",&tolua_err);
06487  return 0;
06488 #endif
06489 }
06490 #endif //#ifndef TOLUA_DISABLE
06491 
06492 /* method: maxlenof_error_code of class  fawkes::KatanaInterface */
06493 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_error_code00
06494 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_error_code00(lua_State* tolua_S)
06495 {
06496 #ifndef TOLUA_RELEASE
06497  tolua_Error tolua_err;
06498  if (
06499      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06500      !tolua_isnoobj(tolua_S,2,&tolua_err)
06501  )
06502   goto tolua_lerror;
06503  else
06504 #endif
06505  {
06506   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06507 #ifndef TOLUA_RELEASE
06508   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_error_code'", NULL);
06509 #endif
06510   {
06511    int tolua_ret = (int)  self->maxlenof_error_code();
06512    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06513   }
06514  }
06515  return 1;
06516 #ifndef TOLUA_RELEASE
06517  tolua_lerror:
06518  tolua_error(tolua_S,"#ferror in function 'maxlenof_error_code'.",&tolua_err);
06519  return 0;
06520 #endif
06521 }
06522 #endif //#ifndef TOLUA_DISABLE
06523 
06524 /* method: is_enabled of class  fawkes::KatanaInterface */
06525 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_enabled00
06526 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_enabled00(lua_State* tolua_S)
06527 {
06528 #ifndef TOLUA_RELEASE
06529  tolua_Error tolua_err;
06530  if (
06531      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06532      !tolua_isnoobj(tolua_S,2,&tolua_err)
06533  )
06534   goto tolua_lerror;
06535  else
06536 #endif
06537  {
06538   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06539 #ifndef TOLUA_RELEASE
06540   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_enabled'", NULL);
06541 #endif
06542   {
06543    bool tolua_ret = (bool)  self->is_enabled();
06544    tolua_pushboolean(tolua_S,(bool)tolua_ret);
06545   }
06546  }
06547  return 1;
06548 #ifndef TOLUA_RELEASE
06549  tolua_lerror:
06550  tolua_error(tolua_S,"#ferror in function 'is_enabled'.",&tolua_err);
06551  return 0;
06552 #endif
06553 }
06554 #endif //#ifndef TOLUA_DISABLE
06555 
06556 /* method: set_enabled of class  fawkes::KatanaInterface */
06557 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_enabled00
06558 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_enabled00(lua_State* tolua_S)
06559 {
06560 #ifndef TOLUA_RELEASE
06561  tolua_Error tolua_err;
06562  if (
06563      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06564      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
06565      !tolua_isnoobj(tolua_S,3,&tolua_err)
06566  )
06567   goto tolua_lerror;
06568  else
06569 #endif
06570  {
06571   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06572   const bool new_enabled = ((const bool)  tolua_toboolean(tolua_S,2,0));
06573 #ifndef TOLUA_RELEASE
06574   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_enabled'", NULL);
06575 #endif
06576   {
06577    self->set_enabled(new_enabled);
06578   }
06579  }
06580  return 0;
06581 #ifndef TOLUA_RELEASE
06582  tolua_lerror:
06583  tolua_error(tolua_S,"#ferror in function 'set_enabled'.",&tolua_err);
06584  return 0;
06585 #endif
06586 }
06587 #endif //#ifndef TOLUA_DISABLE
06588 
06589 /* method: maxlenof_enabled of class  fawkes::KatanaInterface */
06590 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_enabled00
06591 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_enabled00(lua_State* tolua_S)
06592 {
06593 #ifndef TOLUA_RELEASE
06594  tolua_Error tolua_err;
06595  if (
06596      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06597      !tolua_isnoobj(tolua_S,2,&tolua_err)
06598  )
06599   goto tolua_lerror;
06600  else
06601 #endif
06602  {
06603   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06604 #ifndef TOLUA_RELEASE
06605   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_enabled'", NULL);
06606 #endif
06607   {
06608    int tolua_ret = (int)  self->maxlenof_enabled();
06609    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06610   }
06611  }
06612  return 1;
06613 #ifndef TOLUA_RELEASE
06614  tolua_lerror:
06615  tolua_error(tolua_S,"#ferror in function 'maxlenof_enabled'.",&tolua_err);
06616  return 0;
06617 #endif
06618 }
06619 #endif //#ifndef TOLUA_DISABLE
06620 
06621 /* method: is_calibrated of class  fawkes::KatanaInterface */
06622 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_calibrated00
06623 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_calibrated00(lua_State* tolua_S)
06624 {
06625 #ifndef TOLUA_RELEASE
06626  tolua_Error tolua_err;
06627  if (
06628      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06629      !tolua_isnoobj(tolua_S,2,&tolua_err)
06630  )
06631   goto tolua_lerror;
06632  else
06633 #endif
06634  {
06635   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06636 #ifndef TOLUA_RELEASE
06637   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_calibrated'", NULL);
06638 #endif
06639   {
06640    bool tolua_ret = (bool)  self->is_calibrated();
06641    tolua_pushboolean(tolua_S,(bool)tolua_ret);
06642   }
06643  }
06644  return 1;
06645 #ifndef TOLUA_RELEASE
06646  tolua_lerror:
06647  tolua_error(tolua_S,"#ferror in function 'is_calibrated'.",&tolua_err);
06648  return 0;
06649 #endif
06650 }
06651 #endif //#ifndef TOLUA_DISABLE
06652 
06653 /* method: set_calibrated of class  fawkes::KatanaInterface */
06654 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_calibrated00
06655 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_calibrated00(lua_State* tolua_S)
06656 {
06657 #ifndef TOLUA_RELEASE
06658  tolua_Error tolua_err;
06659  if (
06660      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06661      !tolua_isboolean(tolua_S,2,0,&tolua_err) ||
06662      !tolua_isnoobj(tolua_S,3,&tolua_err)
06663  )
06664   goto tolua_lerror;
06665  else
06666 #endif
06667  {
06668   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06669   const bool new_calibrated = ((const bool)  tolua_toboolean(tolua_S,2,0));
06670 #ifndef TOLUA_RELEASE
06671   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_calibrated'", NULL);
06672 #endif
06673   {
06674    self->set_calibrated(new_calibrated);
06675   }
06676  }
06677  return 0;
06678 #ifndef TOLUA_RELEASE
06679  tolua_lerror:
06680  tolua_error(tolua_S,"#ferror in function 'set_calibrated'.",&tolua_err);
06681  return 0;
06682 #endif
06683 }
06684 #endif //#ifndef TOLUA_DISABLE
06685 
06686 /* method: maxlenof_calibrated of class  fawkes::KatanaInterface */
06687 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_calibrated00
06688 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_calibrated00(lua_State* tolua_S)
06689 {
06690 #ifndef TOLUA_RELEASE
06691  tolua_Error tolua_err;
06692  if (
06693      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06694      !tolua_isnoobj(tolua_S,2,&tolua_err)
06695  )
06696   goto tolua_lerror;
06697  else
06698 #endif
06699  {
06700   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06701 #ifndef TOLUA_RELEASE
06702   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_calibrated'", NULL);
06703 #endif
06704   {
06705    int tolua_ret = (int)  self->maxlenof_calibrated();
06706    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06707   }
06708  }
06709  return 1;
06710 #ifndef TOLUA_RELEASE
06711  tolua_lerror:
06712  tolua_error(tolua_S,"#ferror in function 'maxlenof_calibrated'.",&tolua_err);
06713  return 0;
06714 #endif
06715 }
06716 #endif //#ifndef TOLUA_DISABLE
06717 
06718 /* method: max_velocity of class  fawkes::KatanaInterface */
06719 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_max_velocity00
06720 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_max_velocity00(lua_State* tolua_S)
06721 {
06722 #ifndef TOLUA_RELEASE
06723  tolua_Error tolua_err;
06724  if (
06725      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06726      !tolua_isnoobj(tolua_S,2,&tolua_err)
06727  )
06728   goto tolua_lerror;
06729  else
06730 #endif
06731  {
06732   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06733 #ifndef TOLUA_RELEASE
06734   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_velocity'", NULL);
06735 #endif
06736   {
06737    unsigned char tolua_ret = (unsigned char)  self->max_velocity();
06738    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06739   }
06740  }
06741  return 1;
06742 #ifndef TOLUA_RELEASE
06743  tolua_lerror:
06744  tolua_error(tolua_S,"#ferror in function 'max_velocity'.",&tolua_err);
06745  return 0;
06746 #endif
06747 }
06748 #endif //#ifndef TOLUA_DISABLE
06749 
06750 /* method: set_max_velocity of class  fawkes::KatanaInterface */
06751 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_max_velocity00
06752 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_max_velocity00(lua_State* tolua_S)
06753 {
06754 #ifndef TOLUA_RELEASE
06755  tolua_Error tolua_err;
06756  if (
06757      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06758      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06759      !tolua_isnoobj(tolua_S,3,&tolua_err)
06760  )
06761   goto tolua_lerror;
06762  else
06763 #endif
06764  {
06765   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06766   unsigned const char new_max_velocity = ((unsigned const char)  tolua_tonumber(tolua_S,2,0));
06767 #ifndef TOLUA_RELEASE
06768   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_velocity'", NULL);
06769 #endif
06770   {
06771    self->set_max_velocity(new_max_velocity);
06772   }
06773  }
06774  return 0;
06775 #ifndef TOLUA_RELEASE
06776  tolua_lerror:
06777  tolua_error(tolua_S,"#ferror in function 'set_max_velocity'.",&tolua_err);
06778  return 0;
06779 #endif
06780 }
06781 #endif //#ifndef TOLUA_DISABLE
06782 
06783 /* method: maxlenof_max_velocity of class  fawkes::KatanaInterface */
06784 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_max_velocity00
06785 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_max_velocity00(lua_State* tolua_S)
06786 {
06787 #ifndef TOLUA_RELEASE
06788  tolua_Error tolua_err;
06789  if (
06790      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06791      !tolua_isnoobj(tolua_S,2,&tolua_err)
06792  )
06793   goto tolua_lerror;
06794  else
06795 #endif
06796  {
06797   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06798 #ifndef TOLUA_RELEASE
06799   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_velocity'", NULL);
06800 #endif
06801   {
06802    int tolua_ret = (int)  self->maxlenof_max_velocity();
06803    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06804   }
06805  }
06806  return 1;
06807 #ifndef TOLUA_RELEASE
06808  tolua_lerror:
06809  tolua_error(tolua_S,"#ferror in function 'maxlenof_max_velocity'.",&tolua_err);
06810  return 0;
06811 #endif
06812 }
06813 #endif //#ifndef TOLUA_DISABLE
06814 
06815 /* method: num_motors of class  fawkes::KatanaInterface */
06816 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_motors00
06817 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_motors00(lua_State* tolua_S)
06818 {
06819 #ifndef TOLUA_RELEASE
06820  tolua_Error tolua_err;
06821  if (
06822      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06823      !tolua_isnoobj(tolua_S,2,&tolua_err)
06824  )
06825   goto tolua_lerror;
06826  else
06827 #endif
06828  {
06829   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06830 #ifndef TOLUA_RELEASE
06831   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_motors'", NULL);
06832 #endif
06833   {
06834    unsigned char tolua_ret = (unsigned char)  self->num_motors();
06835    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06836   }
06837  }
06838  return 1;
06839 #ifndef TOLUA_RELEASE
06840  tolua_lerror:
06841  tolua_error(tolua_S,"#ferror in function 'num_motors'.",&tolua_err);
06842  return 0;
06843 #endif
06844 }
06845 #endif //#ifndef TOLUA_DISABLE
06846 
06847 /* method: set_num_motors of class  fawkes::KatanaInterface */
06848 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_num_motors00
06849 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_num_motors00(lua_State* tolua_S)
06850 {
06851 #ifndef TOLUA_RELEASE
06852  tolua_Error tolua_err;
06853  if (
06854      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
06855      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
06856      !tolua_isnoobj(tolua_S,3,&tolua_err)
06857  )
06858   goto tolua_lerror;
06859  else
06860 #endif
06861  {
06862   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06863   unsigned const char new_num_motors = ((unsigned const char)  tolua_tonumber(tolua_S,2,0));
06864 #ifndef TOLUA_RELEASE
06865   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_num_motors'", NULL);
06866 #endif
06867   {
06868    self->set_num_motors(new_num_motors);
06869   }
06870  }
06871  return 0;
06872 #ifndef TOLUA_RELEASE
06873  tolua_lerror:
06874  tolua_error(tolua_S,"#ferror in function 'set_num_motors'.",&tolua_err);
06875  return 0;
06876 #endif
06877 }
06878 #endif //#ifndef TOLUA_DISABLE
06879 
06880 /* method: maxlenof_num_motors of class  fawkes::KatanaInterface */
06881 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_num_motors00
06882 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_num_motors00(lua_State* tolua_S)
06883 {
06884 #ifndef TOLUA_RELEASE
06885  tolua_Error tolua_err;
06886  if (
06887      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06888      !tolua_isnoobj(tolua_S,2,&tolua_err)
06889  )
06890   goto tolua_lerror;
06891  else
06892 #endif
06893  {
06894   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06895 #ifndef TOLUA_RELEASE
06896   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_num_motors'", NULL);
06897 #endif
06898   {
06899    int tolua_ret = (int)  self->maxlenof_num_motors();
06900    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06901   }
06902  }
06903  return 1;
06904 #ifndef TOLUA_RELEASE
06905  tolua_lerror:
06906  tolua_error(tolua_S,"#ferror in function 'maxlenof_num_motors'.",&tolua_err);
06907  return 0;
06908 #endif
06909 }
06910 #endif //#ifndef TOLUA_DISABLE
06911 
06912 /* method: oftype of class  fawkes::KatanaInterface */
06913 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_oftype00
06914 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_oftype00(lua_State* tolua_S)
06915 {
06916 #ifndef TOLUA_RELEASE
06917  tolua_Error tolua_err;
06918  if (
06919      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06920      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
06921      !tolua_isnoobj(tolua_S,3,&tolua_err)
06922  )
06923   goto tolua_lerror;
06924  else
06925 #endif
06926  {
06927   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06928   const char* interface_type = ((const char*)  tolua_tostring(tolua_S,2,0));
06929 #ifndef TOLUA_RELEASE
06930   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'", NULL);
06931 #endif
06932   {
06933    bool tolua_ret = (bool)  self->oftype(interface_type);
06934    tolua_pushboolean(tolua_S,(bool)tolua_ret);
06935   }
06936  }
06937  return 1;
06938 #ifndef TOLUA_RELEASE
06939  tolua_lerror:
06940  tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err);
06941  return 0;
06942 #endif
06943 }
06944 #endif //#ifndef TOLUA_DISABLE
06945 
06946 /* method: datachunk of class  fawkes::KatanaInterface */
06947 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datachunk00
06948 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datachunk00(lua_State* tolua_S)
06949 {
06950 #ifndef TOLUA_RELEASE
06951  tolua_Error tolua_err;
06952  if (
06953      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06954      !tolua_isnoobj(tolua_S,2,&tolua_err)
06955  )
06956   goto tolua_lerror;
06957  else
06958 #endif
06959  {
06960   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06961 #ifndef TOLUA_RELEASE
06962   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'", NULL);
06963 #endif
06964   {
06965    const void* tolua_ret = (const void*)  self->datachunk();
06966    tolua_pushuserdata(tolua_S,(void*)tolua_ret);
06967   }
06968  }
06969  return 1;
06970 #ifndef TOLUA_RELEASE
06971  tolua_lerror:
06972  tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err);
06973  return 0;
06974 #endif
06975 }
06976 #endif //#ifndef TOLUA_DISABLE
06977 
06978 /* method: datasize of class  fawkes::KatanaInterface */
06979 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datasize00
06980 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datasize00(lua_State* tolua_S)
06981 {
06982 #ifndef TOLUA_RELEASE
06983  tolua_Error tolua_err;
06984  if (
06985      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
06986      !tolua_isnoobj(tolua_S,2,&tolua_err)
06987  )
06988   goto tolua_lerror;
06989  else
06990 #endif
06991  {
06992   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
06993 #ifndef TOLUA_RELEASE
06994   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'", NULL);
06995 #endif
06996   {
06997    unsigned int tolua_ret = (unsigned int)  self->datasize();
06998    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
06999   }
07000  }
07001  return 1;
07002 #ifndef TOLUA_RELEASE
07003  tolua_lerror:
07004  tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err);
07005  return 0;
07006 #endif
07007 }
07008 #endif //#ifndef TOLUA_DISABLE
07009 
07010 /* method: type of class  fawkes::KatanaInterface */
07011 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_type00
07012 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_type00(lua_State* tolua_S)
07013 {
07014 #ifndef TOLUA_RELEASE
07015  tolua_Error tolua_err;
07016  if (
07017      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07018      !tolua_isnoobj(tolua_S,2,&tolua_err)
07019  )
07020   goto tolua_lerror;
07021  else
07022 #endif
07023  {
07024   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07025 #ifndef TOLUA_RELEASE
07026   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'", NULL);
07027 #endif
07028   {
07029    const char* tolua_ret = (const char*)  self->type();
07030    tolua_pushstring(tolua_S,(const char*)tolua_ret);
07031   }
07032  }
07033  return 1;
07034 #ifndef TOLUA_RELEASE
07035  tolua_lerror:
07036  tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err);
07037  return 0;
07038 #endif
07039 }
07040 #endif //#ifndef TOLUA_DISABLE
07041 
07042 /* method: id of class  fawkes::KatanaInterface */
07043 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_id00
07044 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_id00(lua_State* tolua_S)
07045 {
07046 #ifndef TOLUA_RELEASE
07047  tolua_Error tolua_err;
07048  if (
07049      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07050      !tolua_isnoobj(tolua_S,2,&tolua_err)
07051  )
07052   goto tolua_lerror;
07053  else
07054 #endif
07055  {
07056   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07057 #ifndef TOLUA_RELEASE
07058   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'", NULL);
07059 #endif
07060   {
07061    const char* tolua_ret = (const char*)  self->id();
07062    tolua_pushstring(tolua_S,(const char*)tolua_ret);
07063   }
07064  }
07065  return 1;
07066 #ifndef TOLUA_RELEASE
07067  tolua_lerror:
07068  tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err);
07069  return 0;
07070 #endif
07071 }
07072 #endif //#ifndef TOLUA_DISABLE
07073 
07074 /* method: uid of class  fawkes::KatanaInterface */
07075 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_uid00
07076 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_uid00(lua_State* tolua_S)
07077 {
07078 #ifndef TOLUA_RELEASE
07079  tolua_Error tolua_err;
07080  if (
07081      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07082      !tolua_isnoobj(tolua_S,2,&tolua_err)
07083  )
07084   goto tolua_lerror;
07085  else
07086 #endif
07087  {
07088   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07089 #ifndef TOLUA_RELEASE
07090   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'", NULL);
07091 #endif
07092   {
07093    const char* tolua_ret = (const char*)  self->uid();
07094    tolua_pushstring(tolua_S,(const char*)tolua_ret);
07095   }
07096  }
07097  return 1;
07098 #ifndef TOLUA_RELEASE
07099  tolua_lerror:
07100  tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err);
07101  return 0;
07102 #endif
07103 }
07104 #endif //#ifndef TOLUA_DISABLE
07105 
07106 /* method: serial of class  fawkes::KatanaInterface */
07107 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_serial00
07108 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_serial00(lua_State* tolua_S)
07109 {
07110 #ifndef TOLUA_RELEASE
07111  tolua_Error tolua_err;
07112  if (
07113      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07114      !tolua_isnoobj(tolua_S,2,&tolua_err)
07115  )
07116   goto tolua_lerror;
07117  else
07118 #endif
07119  {
07120   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07121 #ifndef TOLUA_RELEASE
07122   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'", NULL);
07123 #endif
07124   {
07125    unsigned int tolua_ret = (unsigned int)  self->serial();
07126    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07127   }
07128  }
07129  return 1;
07130 #ifndef TOLUA_RELEASE
07131  tolua_lerror:
07132  tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err);
07133  return 0;
07134 #endif
07135 }
07136 #endif //#ifndef TOLUA_DISABLE
07137 
07138 /* method: mem_serial of class  fawkes::KatanaInterface */
07139 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_mem_serial00
07140 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_mem_serial00(lua_State* tolua_S)
07141 {
07142 #ifndef TOLUA_RELEASE
07143  tolua_Error tolua_err;
07144  if (
07145      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07146      !tolua_isnoobj(tolua_S,2,&tolua_err)
07147  )
07148   goto tolua_lerror;
07149  else
07150 #endif
07151  {
07152   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07153 #ifndef TOLUA_RELEASE
07154   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'", NULL);
07155 #endif
07156   {
07157    unsigned int tolua_ret = (unsigned int)  self->mem_serial();
07158    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07159   }
07160  }
07161  return 1;
07162 #ifndef TOLUA_RELEASE
07163  tolua_lerror:
07164  tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err);
07165  return 0;
07166 #endif
07167 }
07168 #endif //#ifndef TOLUA_DISABLE
07169 
07170 /* method: operator== of class  fawkes::KatanaInterface */
07171 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface__eq00
07172 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface__eq00(lua_State* tolua_S)
07173 {
07174 #ifndef TOLUA_RELEASE
07175  tolua_Error tolua_err;
07176  if (
07177      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07178      (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err)) ||
07179      !tolua_isnoobj(tolua_S,3,&tolua_err)
07180  )
07181   goto tolua_lerror;
07182  else
07183 #endif
07184  {
07185   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07186   Interface* comp = ((Interface*)  tolua_tousertype(tolua_S,2,0));
07187 #ifndef TOLUA_RELEASE
07188   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='", NULL);
07189 #endif
07190   {
07191    bool tolua_ret = (bool)  self->operator==(*comp);
07192    tolua_pushboolean(tolua_S,(bool)tolua_ret);
07193   }
07194  }
07195  return 1;
07196 #ifndef TOLUA_RELEASE
07197  tolua_lerror:
07198  tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
07199  return 0;
07200 #endif
07201 }
07202 #endif //#ifndef TOLUA_DISABLE
07203 
07204 /* method: hash of class  fawkes::KatanaInterface */
07205 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash00
07206 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash00(lua_State* tolua_S)
07207 {
07208 #ifndef TOLUA_RELEASE
07209  tolua_Error tolua_err;
07210  if (
07211      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07212      !tolua_isnoobj(tolua_S,2,&tolua_err)
07213  )
07214   goto tolua_lerror;
07215  else
07216 #endif
07217  {
07218   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07219 #ifndef TOLUA_RELEASE
07220   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'", NULL);
07221 #endif
07222   {
07223    unsigned const char* tolua_ret = ( unsigned const char*)  self->hash();
07224    tolua_pushstring(tolua_S,(const char*)tolua_ret);
07225   }
07226  }
07227  return 1;
07228 #ifndef TOLUA_RELEASE
07229  tolua_lerror:
07230  tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err);
07231  return 0;
07232 #endif
07233 }
07234 #endif //#ifndef TOLUA_DISABLE
07235 
07236 /* method: hash_size of class  fawkes::KatanaInterface */
07237 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_size00
07238 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_size00(lua_State* tolua_S)
07239 {
07240 #ifndef TOLUA_RELEASE
07241  tolua_Error tolua_err;
07242  if (
07243      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07244      !tolua_isnoobj(tolua_S,2,&tolua_err)
07245  )
07246   goto tolua_lerror;
07247  else
07248 #endif
07249  {
07250   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07251 #ifndef TOLUA_RELEASE
07252   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'", NULL);
07253 #endif
07254   {
07255    int tolua_ret = (int)  self->hash_size();
07256    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07257   }
07258  }
07259  return 1;
07260 #ifndef TOLUA_RELEASE
07261  tolua_lerror:
07262  tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err);
07263  return 0;
07264 #endif
07265 }
07266 #endif //#ifndef TOLUA_DISABLE
07267 
07268 /* method: hash_printable of class  fawkes::KatanaInterface */
07269 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_printable00
07270 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_printable00(lua_State* tolua_S)
07271 {
07272 #ifndef TOLUA_RELEASE
07273  tolua_Error tolua_err;
07274  if (
07275      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07276      !tolua_isnoobj(tolua_S,2,&tolua_err)
07277  )
07278   goto tolua_lerror;
07279  else
07280 #endif
07281  {
07282   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07283 #ifndef TOLUA_RELEASE
07284   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'", NULL);
07285 #endif
07286   {
07287    const char* tolua_ret = (const char*)  self->hash_printable();
07288    tolua_pushstring(tolua_S,(const char*)tolua_ret);
07289   }
07290  }
07291  return 1;
07292 #ifndef TOLUA_RELEASE
07293  tolua_lerror:
07294  tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err);
07295  return 0;
07296 #endif
07297 }
07298 #endif //#ifndef TOLUA_DISABLE
07299 
07300 /* method: is_writer of class  fawkes::KatanaInterface */
07301 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_writer00
07302 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_writer00(lua_State* tolua_S)
07303 {
07304 #ifndef TOLUA_RELEASE
07305  tolua_Error tolua_err;
07306  if (
07307      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07308      !tolua_isnoobj(tolua_S,2,&tolua_err)
07309  )
07310   goto tolua_lerror;
07311  else
07312 #endif
07313  {
07314   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07315 #ifndef TOLUA_RELEASE
07316   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'", NULL);
07317 #endif
07318   {
07319    bool tolua_ret = (bool)  self->is_writer();
07320    tolua_pushboolean(tolua_S,(bool)tolua_ret);
07321   }
07322  }
07323  return 1;
07324 #ifndef TOLUA_RELEASE
07325  tolua_lerror:
07326  tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err);
07327  return 0;
07328 #endif
07329 }
07330 #endif //#ifndef TOLUA_DISABLE
07331 
07332 /* method: set_from_chunk of class  fawkes::KatanaInterface */
07333 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_from_chunk00
07334 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_from_chunk00(lua_State* tolua_S)
07335 {
07336 #ifndef TOLUA_RELEASE
07337  tolua_Error tolua_err;
07338  if (
07339      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07340      !tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
07341      !tolua_isnoobj(tolua_S,3,&tolua_err)
07342  )
07343   goto tolua_lerror;
07344  else
07345 #endif
07346  {
07347   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07348   void* chunk = ((void*)  tolua_touserdata(tolua_S,2,0));
07349 #ifndef TOLUA_RELEASE
07350   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'", NULL);
07351 #endif
07352   {
07353    self->set_from_chunk(chunk);
07354   }
07355  }
07356  return 0;
07357 #ifndef TOLUA_RELEASE
07358  tolua_lerror:
07359  tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err);
07360  return 0;
07361 #endif
07362 }
07363 #endif //#ifndef TOLUA_DISABLE
07364 
07365 /* method: create_message of class  fawkes::KatanaInterface */
07366 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_create_message00
07367 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_create_message00(lua_State* tolua_S)
07368 {
07369 #ifndef TOLUA_RELEASE
07370  tolua_Error tolua_err;
07371  if (
07372      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07373      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
07374      !tolua_isnoobj(tolua_S,3,&tolua_err)
07375  )
07376   goto tolua_lerror;
07377  else
07378 #endif
07379  {
07380   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07381   const char* type = ((const char*)  tolua_tostring(tolua_S,2,0));
07382 #ifndef TOLUA_RELEASE
07383   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'", NULL);
07384 #endif
07385   {
07386    Message* tolua_ret = (Message*)  self->create_message(type);
07387     tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
07388   }
07389  }
07390  return 1;
07391 #ifndef TOLUA_RELEASE
07392  tolua_lerror:
07393  tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err);
07394  return 0;
07395 #endif
07396 }
07397 #endif //#ifndef TOLUA_DISABLE
07398 
07399 /* method: read of class  fawkes::KatanaInterface */
07400 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_read00
07401 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_read00(lua_State* tolua_S)
07402 {
07403 #ifndef TOLUA_RELEASE
07404  tolua_Error tolua_err;
07405  if (
07406      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07407      !tolua_isnoobj(tolua_S,2,&tolua_err)
07408  )
07409   goto tolua_lerror;
07410  else
07411 #endif
07412  {
07413   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07414 #ifndef TOLUA_RELEASE
07415   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'", NULL);
07416 #endif
07417   {
07418    self->read();
07419   }
07420  }
07421  return 0;
07422 #ifndef TOLUA_RELEASE
07423  tolua_lerror:
07424  tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err);
07425  return 0;
07426 #endif
07427 }
07428 #endif //#ifndef TOLUA_DISABLE
07429 
07430 /* method: write of class  fawkes::KatanaInterface */
07431 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_write00
07432 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_write00(lua_State* tolua_S)
07433 {
07434 #ifndef TOLUA_RELEASE
07435  tolua_Error tolua_err;
07436  if (
07437      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07438      !tolua_isnoobj(tolua_S,2,&tolua_err)
07439  )
07440   goto tolua_lerror;
07441  else
07442 #endif
07443  {
07444   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07445 #ifndef TOLUA_RELEASE
07446   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'", NULL);
07447 #endif
07448   {
07449    self->write();
07450   }
07451  }
07452  return 0;
07453 #ifndef TOLUA_RELEASE
07454  tolua_lerror:
07455  tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err);
07456  return 0;
07457 #endif
07458 }
07459 #endif //#ifndef TOLUA_DISABLE
07460 
07461 /* method: has_writer of class  fawkes::KatanaInterface */
07462 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_has_writer00
07463 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_has_writer00(lua_State* tolua_S)
07464 {
07465 #ifndef TOLUA_RELEASE
07466  tolua_Error tolua_err;
07467  if (
07468      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07469      !tolua_isnoobj(tolua_S,2,&tolua_err)
07470  )
07471   goto tolua_lerror;
07472  else
07473 #endif
07474  {
07475   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07476 #ifndef TOLUA_RELEASE
07477   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'", NULL);
07478 #endif
07479   {
07480    bool tolua_ret = (bool)  self->has_writer();
07481    tolua_pushboolean(tolua_S,(bool)tolua_ret);
07482   }
07483  }
07484  return 1;
07485 #ifndef TOLUA_RELEASE
07486  tolua_lerror:
07487  tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err);
07488  return 0;
07489 #endif
07490 }
07491 #endif //#ifndef TOLUA_DISABLE
07492 
07493 /* method: num_readers of class  fawkes::KatanaInterface */
07494 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_readers00
07495 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_readers00(lua_State* tolua_S)
07496 {
07497 #ifndef TOLUA_RELEASE
07498  tolua_Error tolua_err;
07499  if (
07500      !tolua_isusertype(tolua_S,1,"const fawkes::KatanaInterface",0,&tolua_err) ||
07501      !tolua_isnoobj(tolua_S,2,&tolua_err)
07502  )
07503   goto tolua_lerror;
07504  else
07505 #endif
07506  {
07507   const fawkes::KatanaInterface* self = (const fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07508 #ifndef TOLUA_RELEASE
07509   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'", NULL);
07510 #endif
07511   {
07512    unsigned int tolua_ret = (unsigned int)  self->num_readers();
07513    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07514   }
07515  }
07516  return 1;
07517 #ifndef TOLUA_RELEASE
07518  tolua_lerror:
07519  tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err);
07520  return 0;
07521 #endif
07522 }
07523 #endif //#ifndef TOLUA_DISABLE
07524 
07525 /* method: msgq_enqueue_copy of class  fawkes::KatanaInterface */
07526 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_enqueue_copy00
07527 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_enqueue_copy00(lua_State* tolua_S)
07528 {
07529 #ifndef TOLUA_RELEASE
07530  tolua_Error tolua_err;
07531  if (
07532      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07533      !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
07534      !tolua_isnoobj(tolua_S,3,&tolua_err)
07535  )
07536   goto tolua_lerror;
07537  else
07538 #endif
07539  {
07540   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07541   Message* message = ((Message*)  tolua_tousertype(tolua_S,2,0));
07542 #ifndef TOLUA_RELEASE
07543   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'", NULL);
07544 #endif
07545   {
07546    unsigned int tolua_ret = (unsigned int)  self->msgq_enqueue_copy(message);
07547    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07548   }
07549  }
07550  return 1;
07551 #ifndef TOLUA_RELEASE
07552  tolua_lerror:
07553  tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err);
07554  return 0;
07555 #endif
07556 }
07557 #endif //#ifndef TOLUA_DISABLE
07558 
07559 /* method: msgq_remove of class  fawkes::KatanaInterface */
07560 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove00
07561 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove00(lua_State* tolua_S)
07562 {
07563 #ifndef TOLUA_RELEASE
07564  tolua_Error tolua_err;
07565  if (
07566      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07567      !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
07568      !tolua_isnoobj(tolua_S,3,&tolua_err)
07569  )
07570   goto tolua_lerror;
07571  else
07572 #endif
07573  {
07574   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07575   Message* message = ((Message*)  tolua_tousertype(tolua_S,2,0));
07576 #ifndef TOLUA_RELEASE
07577   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL);
07578 #endif
07579   {
07580    self->msgq_remove(message);
07581   }
07582  }
07583  return 0;
07584 #ifndef TOLUA_RELEASE
07585  tolua_lerror:
07586  tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err);
07587  return 0;
07588 #endif
07589 }
07590 #endif //#ifndef TOLUA_DISABLE
07591 
07592 /* method: msgq_remove of class  fawkes::KatanaInterface */
07593 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove01
07594 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove01(lua_State* tolua_S)
07595 {
07596  tolua_Error tolua_err;
07597  if (
07598      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07599      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
07600      !tolua_isnoobj(tolua_S,3,&tolua_err)
07601  )
07602   goto tolua_lerror;
07603  else
07604  {
07605   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07606   unsigned int message_id = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
07607 #ifndef TOLUA_RELEASE
07608   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL);
07609 #endif
07610   {
07611    self->msgq_remove(message_id);
07612   }
07613  }
07614  return 0;
07615 tolua_lerror:
07616  return tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove00(tolua_S);
07617 }
07618 #endif //#ifndef TOLUA_DISABLE
07619 
07620 /* method: msgq_size of class  fawkes::KatanaInterface */
07621 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_size00
07622 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_size00(lua_State* tolua_S)
07623 {
07624 #ifndef TOLUA_RELEASE
07625  tolua_Error tolua_err;
07626  if (
07627      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07628      !tolua_isnoobj(tolua_S,2,&tolua_err)
07629  )
07630   goto tolua_lerror;
07631  else
07632 #endif
07633  {
07634   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07635 #ifndef TOLUA_RELEASE
07636   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'", NULL);
07637 #endif
07638   {
07639    unsigned int tolua_ret = (unsigned int)  self->msgq_size();
07640    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
07641   }
07642  }
07643  return 1;
07644 #ifndef TOLUA_RELEASE
07645  tolua_lerror:
07646  tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err);
07647  return 0;
07648 #endif
07649 }
07650 #endif //#ifndef TOLUA_DISABLE
07651 
07652 /* method: msgq_flush of class  fawkes::KatanaInterface */
07653 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_flush00
07654 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_flush00(lua_State* tolua_S)
07655 {
07656 #ifndef TOLUA_RELEASE
07657  tolua_Error tolua_err;
07658  if (
07659      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07660      !tolua_isnoobj(tolua_S,2,&tolua_err)
07661  )
07662   goto tolua_lerror;
07663  else
07664 #endif
07665  {
07666   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07667 #ifndef TOLUA_RELEASE
07668   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'", NULL);
07669 #endif
07670   {
07671    self->msgq_flush();
07672   }
07673  }
07674  return 0;
07675 #ifndef TOLUA_RELEASE
07676  tolua_lerror:
07677  tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err);
07678  return 0;
07679 #endif
07680 }
07681 #endif //#ifndef TOLUA_DISABLE
07682 
07683 /* method: msgq_lock of class  fawkes::KatanaInterface */
07684 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_lock00
07685 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_lock00(lua_State* tolua_S)
07686 {
07687 #ifndef TOLUA_RELEASE
07688  tolua_Error tolua_err;
07689  if (
07690      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07691      !tolua_isnoobj(tolua_S,2,&tolua_err)
07692  )
07693   goto tolua_lerror;
07694  else
07695 #endif
07696  {
07697   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07698 #ifndef TOLUA_RELEASE
07699   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'", NULL);
07700 #endif
07701   {
07702    self->msgq_lock();
07703   }
07704  }
07705  return 0;
07706 #ifndef TOLUA_RELEASE
07707  tolua_lerror:
07708  tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err);
07709  return 0;
07710 #endif
07711 }
07712 #endif //#ifndef TOLUA_DISABLE
07713 
07714 /* method: msgq_try_lock of class  fawkes::KatanaInterface */
07715 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_try_lock00
07716 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_try_lock00(lua_State* tolua_S)
07717 {
07718 #ifndef TOLUA_RELEASE
07719  tolua_Error tolua_err;
07720  if (
07721      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07722      !tolua_isnoobj(tolua_S,2,&tolua_err)
07723  )
07724   goto tolua_lerror;
07725  else
07726 #endif
07727  {
07728   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07729 #ifndef TOLUA_RELEASE
07730   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'", NULL);
07731 #endif
07732   {
07733    bool tolua_ret = (bool)  self->msgq_try_lock();
07734    tolua_pushboolean(tolua_S,(bool)tolua_ret);
07735   }
07736  }
07737  return 1;
07738 #ifndef TOLUA_RELEASE
07739  tolua_lerror:
07740  tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err);
07741  return 0;
07742 #endif
07743 }
07744 #endif //#ifndef TOLUA_DISABLE
07745 
07746 /* method: msgq_unlock of class  fawkes::KatanaInterface */
07747 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_unlock00
07748 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_unlock00(lua_State* tolua_S)
07749 {
07750 #ifndef TOLUA_RELEASE
07751  tolua_Error tolua_err;
07752  if (
07753      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07754      !tolua_isnoobj(tolua_S,2,&tolua_err)
07755  )
07756   goto tolua_lerror;
07757  else
07758 #endif
07759  {
07760   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07761 #ifndef TOLUA_RELEASE
07762   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'", NULL);
07763 #endif
07764   {
07765    self->msgq_unlock();
07766   }
07767  }
07768  return 0;
07769 #ifndef TOLUA_RELEASE
07770  tolua_lerror:
07771  tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err);
07772  return 0;
07773 #endif
07774 }
07775 #endif //#ifndef TOLUA_DISABLE
07776 
07777 /* method: msgq_pop of class  fawkes::KatanaInterface */
07778 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_pop00
07779 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_pop00(lua_State* tolua_S)
07780 {
07781 #ifndef TOLUA_RELEASE
07782  tolua_Error tolua_err;
07783  if (
07784      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07785      !tolua_isnoobj(tolua_S,2,&tolua_err)
07786  )
07787   goto tolua_lerror;
07788  else
07789 #endif
07790  {
07791   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07792 #ifndef TOLUA_RELEASE
07793   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'", NULL);
07794 #endif
07795   {
07796    self->msgq_pop();
07797   }
07798  }
07799  return 0;
07800 #ifndef TOLUA_RELEASE
07801  tolua_lerror:
07802  tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err);
07803  return 0;
07804 #endif
07805 }
07806 #endif //#ifndef TOLUA_DISABLE
07807 
07808 /* method: msgq_first of class  fawkes::KatanaInterface */
07809 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_first00
07810 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_first00(lua_State* tolua_S)
07811 {
07812 #ifndef TOLUA_RELEASE
07813  tolua_Error tolua_err;
07814  if (
07815      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07816      !tolua_isnoobj(tolua_S,2,&tolua_err)
07817  )
07818   goto tolua_lerror;
07819  else
07820 #endif
07821  {
07822   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07823 #ifndef TOLUA_RELEASE
07824   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'", NULL);
07825 #endif
07826   {
07827    Message* tolua_ret = (Message*)  self->msgq_first();
07828     tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
07829   }
07830  }
07831  return 1;
07832 #ifndef TOLUA_RELEASE
07833  tolua_lerror:
07834  tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err);
07835  return 0;
07836 #endif
07837 }
07838 #endif //#ifndef TOLUA_DISABLE
07839 
07840 /* method: msgq_empty of class  fawkes::KatanaInterface */
07841 #ifndef TOLUA_DISABLE_tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_empty00
07842 static int tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_empty00(lua_State* tolua_S)
07843 {
07844 #ifndef TOLUA_RELEASE
07845  tolua_Error tolua_err;
07846  if (
07847      !tolua_isusertype(tolua_S,1,"fawkes::KatanaInterface",0,&tolua_err) ||
07848      !tolua_isnoobj(tolua_S,2,&tolua_err)
07849  )
07850   goto tolua_lerror;
07851  else
07852 #endif
07853  {
07854   fawkes::KatanaInterface* self = (fawkes::KatanaInterface*)  tolua_tousertype(tolua_S,1,0);
07855 #ifndef TOLUA_RELEASE
07856   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'", NULL);
07857 #endif
07858   {
07859    bool tolua_ret = (bool)  self->msgq_empty();
07860    tolua_pushboolean(tolua_S,(bool)tolua_ret);
07861   }
07862  }
07863  return 1;
07864 #ifndef TOLUA_RELEASE
07865  tolua_lerror:
07866  tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err);
07867  return 0;
07868 #endif
07869 }
07870 #endif //#ifndef TOLUA_DISABLE
07871 
07872 /* Open function */
07873 TOLUA_API int tolua_interfaces_KatanaInterface_open (lua_State* tolua_S)
07874 {
07875  tolua_open(tolua_S);
07876  tolua_reg_types(tolua_S);
07877  tolua_module(tolua_S,NULL,0);
07878  tolua_beginmodule(tolua_S,NULL);
07879   tolua_module(tolua_S,"fawkes",0);
07880   tolua_beginmodule(tolua_S,"fawkes");
07881    tolua_cclass(tolua_S,"KatanaInterface","fawkes::KatanaInterface","Interface",NULL);
07882    tolua_beginmodule(tolua_S,"KatanaInterface");
07883     tolua_variable(tolua_S,"SENSOR_IR_RIGHT_INNER_MIDDLE",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_MIDDLE,NULL);
07884     tolua_variable(tolua_S,"SENSOR_IR_RIGHT_INNER_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_INNER_FRONT,NULL);
07885     tolua_variable(tolua_S,"SENSOR_RESERVED_2",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_2,NULL);
07886     tolua_variable(tolua_S,"SENSOR_COND_BOTH",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_COND_BOTH,NULL);
07887     tolua_variable(tolua_S,"SENSOR_IR_RIGHT_OUTER_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_OUTER_FRONT,NULL);
07888     tolua_variable(tolua_S,"SENSOR_IR_RIGHT_BOTTOM_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_RIGHT_BOTTOM_FRONT,NULL);
07889     tolua_variable(tolua_S,"SENSOR_FORCE_RIGHT_REAR",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_REAR,NULL);
07890     tolua_variable(tolua_S,"SENSOR_FORCE_RIGHT_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_RIGHT_FRONT,NULL);
07891     tolua_variable(tolua_S,"SENSOR_IR_LEFT_INNER_MIDDLE",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_MIDDLE,NULL);
07892     tolua_variable(tolua_S,"SENSOR_IR_LEFT_INNER_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_INNER_FRONT,NULL);
07893     tolua_variable(tolua_S,"SENSOR_RESERVED_10",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_RESERVED_10,NULL);
07894     tolua_variable(tolua_S,"SENSOR_IR_CENTER_GRIPPER",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_CENTER_GRIPPER,NULL);
07895     tolua_variable(tolua_S,"SENSOR_IR_LEFT_OUTER_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_OUTER_FRONT,NULL);
07896     tolua_variable(tolua_S,"SENSOR_IR_LEFT_BOTTOM_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_IR_LEFT_BOTTOM_FRONT,NULL);
07897     tolua_variable(tolua_S,"SENSOR_FORCE_LEFT_REAR",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_REAR,NULL);
07898     tolua_variable(tolua_S,"SENSOR_FORCE_LEFT_FRONT",tolua_get_fawkes__KatanaInterface_unsigned_SENSOR_FORCE_LEFT_FRONT,NULL);
07899     tolua_variable(tolua_S,"ERROR_NONE",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NONE,NULL);
07900     tolua_variable(tolua_S,"ERROR_UNSPECIFIC",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_UNSPECIFIC,NULL);
07901     tolua_variable(tolua_S,"ERROR_CMD_START_FAILED",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_CMD_START_FAILED,NULL);
07902     tolua_variable(tolua_S,"ERROR_NO_SOLUTION",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_NO_SOLUTION,NULL);
07903     tolua_variable(tolua_S,"ERROR_COMMUNICATION",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_COMMUNICATION,NULL);
07904     tolua_variable(tolua_S,"ERROR_MOTOR_CRASHED",tolua_get_fawkes__KatanaInterface_unsigned_ERROR_MOTOR_CRASHED,NULL);
07905     #ifdef __cplusplus
07906     tolua_cclass(tolua_S,"StopMessage","fawkes::KatanaInterface::StopMessage","Message",tolua_collect_fawkes__KatanaInterface__StopMessage);
07907     #else
07908     tolua_cclass(tolua_S,"StopMessage","fawkes::KatanaInterface::StopMessage","Message",NULL);
07909     #endif
07910     tolua_beginmodule(tolua_S,"StopMessage");
07911      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00);
07912      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00_local);
07913      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_new00_local);
07914      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_StopMessage_delete00);
07915     tolua_endmodule(tolua_S);
07916     #ifdef __cplusplus
07917     tolua_cclass(tolua_S,"FlushMessage","fawkes::KatanaInterface::FlushMessage","Message",tolua_collect_fawkes__KatanaInterface__FlushMessage);
07918     #else
07919     tolua_cclass(tolua_S,"FlushMessage","fawkes::KatanaInterface::FlushMessage","Message",NULL);
07920     #endif
07921     tolua_beginmodule(tolua_S,"FlushMessage");
07922      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00);
07923      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00_local);
07924      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_new00_local);
07925      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_FlushMessage_delete00);
07926     tolua_endmodule(tolua_S);
07927     #ifdef __cplusplus
07928     tolua_cclass(tolua_S,"ParkMessage","fawkes::KatanaInterface::ParkMessage","Message",tolua_collect_fawkes__KatanaInterface__ParkMessage);
07929     #else
07930     tolua_cclass(tolua_S,"ParkMessage","fawkes::KatanaInterface::ParkMessage","Message",NULL);
07931     #endif
07932     tolua_beginmodule(tolua_S,"ParkMessage");
07933      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00);
07934      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00_local);
07935      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_new00_local);
07936      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ParkMessage_delete00);
07937     tolua_endmodule(tolua_S);
07938     #ifdef __cplusplus
07939     tolua_cclass(tolua_S,"LinearGotoMessage","fawkes::KatanaInterface::LinearGotoMessage","Message",tolua_collect_fawkes__KatanaInterface__LinearGotoMessage);
07940     #else
07941     tolua_cclass(tolua_S,"LinearGotoMessage","fawkes::KatanaInterface::LinearGotoMessage","Message",NULL);
07942     #endif
07943     tolua_beginmodule(tolua_S,"LinearGotoMessage");
07944      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00);
07945      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00_local);
07946      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new00_local);
07947      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01);
07948      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01_local);
07949      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_new01_local);
07950      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_delete00);
07951      tolua_function(tolua_S,"theta_error",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta_error00);
07952      tolua_function(tolua_S,"set_theta_error",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta_error00);
07953      tolua_function(tolua_S,"maxlenof_theta_error",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta_error00);
07954      tolua_function(tolua_S,"offset_xy",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_offset_xy00);
07955      tolua_function(tolua_S,"set_offset_xy",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_offset_xy00);
07956      tolua_function(tolua_S,"maxlenof_offset_xy",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_offset_xy00);
07957      tolua_function(tolua_S,"is_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_is_straight00);
07958      tolua_function(tolua_S,"set_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_straight00);
07959      tolua_function(tolua_S,"maxlenof_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_straight00);
07960      tolua_function(tolua_S,"trans_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_trans_frame00);
07961      tolua_function(tolua_S,"set_trans_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_trans_frame00);
07962      tolua_function(tolua_S,"maxlenof_trans_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_trans_frame00);
07963      tolua_function(tolua_S,"rot_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_rot_frame00);
07964      tolua_function(tolua_S,"set_rot_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_rot_frame00);
07965      tolua_function(tolua_S,"maxlenof_rot_frame",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_rot_frame00);
07966      tolua_function(tolua_S,"x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_x00);
07967      tolua_function(tolua_S,"set_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_x00);
07968      tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_x00);
07969      tolua_function(tolua_S,"y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_y00);
07970      tolua_function(tolua_S,"set_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_y00);
07971      tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_y00);
07972      tolua_function(tolua_S,"z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_z00);
07973      tolua_function(tolua_S,"set_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_z00);
07974      tolua_function(tolua_S,"maxlenof_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_z00);
07975      tolua_function(tolua_S,"phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_phi00);
07976      tolua_function(tolua_S,"set_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_phi00);
07977      tolua_function(tolua_S,"maxlenof_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_phi00);
07978      tolua_function(tolua_S,"theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_theta00);
07979      tolua_function(tolua_S,"set_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_theta00);
07980      tolua_function(tolua_S,"maxlenof_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_theta00);
07981      tolua_function(tolua_S,"psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_psi00);
07982      tolua_function(tolua_S,"set_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_set_psi00);
07983      tolua_function(tolua_S,"maxlenof_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoMessage_maxlenof_psi00);
07984     tolua_endmodule(tolua_S);
07985     #ifdef __cplusplus
07986     tolua_cclass(tolua_S,"LinearGotoKniMessage","fawkes::KatanaInterface::LinearGotoKniMessage","Message",tolua_collect_fawkes__KatanaInterface__LinearGotoKniMessage);
07987     #else
07988     tolua_cclass(tolua_S,"LinearGotoKniMessage","fawkes::KatanaInterface::LinearGotoKniMessage","Message",NULL);
07989     #endif
07990     tolua_beginmodule(tolua_S,"LinearGotoKniMessage");
07991      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00);
07992      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00_local);
07993      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new00_local);
07994      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01);
07995      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01_local);
07996      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_new01_local);
07997      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_delete00);
07998      tolua_function(tolua_S,"x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_x00);
07999      tolua_function(tolua_S,"set_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_x00);
08000      tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_x00);
08001      tolua_function(tolua_S,"y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_y00);
08002      tolua_function(tolua_S,"set_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_y00);
08003      tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_y00);
08004      tolua_function(tolua_S,"z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_z00);
08005      tolua_function(tolua_S,"set_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_z00);
08006      tolua_function(tolua_S,"maxlenof_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_z00);
08007      tolua_function(tolua_S,"phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_phi00);
08008      tolua_function(tolua_S,"set_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_phi00);
08009      tolua_function(tolua_S,"maxlenof_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_phi00);
08010      tolua_function(tolua_S,"theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_theta00);
08011      tolua_function(tolua_S,"set_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_theta00);
08012      tolua_function(tolua_S,"maxlenof_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_theta00);
08013      tolua_function(tolua_S,"psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_psi00);
08014      tolua_function(tolua_S,"set_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_set_psi00);
08015      tolua_function(tolua_S,"maxlenof_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_LinearGotoKniMessage_maxlenof_psi00);
08016     tolua_endmodule(tolua_S);
08017     #ifdef __cplusplus
08018     tolua_cclass(tolua_S,"ObjectGotoMessage","fawkes::KatanaInterface::ObjectGotoMessage","Message",tolua_collect_fawkes__KatanaInterface__ObjectGotoMessage);
08019     #else
08020     tolua_cclass(tolua_S,"ObjectGotoMessage","fawkes::KatanaInterface::ObjectGotoMessage","Message",NULL);
08021     #endif
08022     tolua_beginmodule(tolua_S,"ObjectGotoMessage");
08023      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00);
08024      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00_local);
08025      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new00_local);
08026      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01);
08027      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01_local);
08028      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_new01_local);
08029      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_delete00);
08030      tolua_function(tolua_S,"object",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_object00);
08031      tolua_function(tolua_S,"set_object",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_object00);
08032      tolua_function(tolua_S,"maxlenof_object",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_object00);
08033      tolua_function(tolua_S,"rot_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_rot_x00);
08034      tolua_function(tolua_S,"set_rot_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_set_rot_x00);
08035      tolua_function(tolua_S,"maxlenof_rot_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_ObjectGotoMessage_maxlenof_rot_x00);
08036     tolua_endmodule(tolua_S);
08037     #ifdef __cplusplus
08038     tolua_cclass(tolua_S,"CalibrateMessage","fawkes::KatanaInterface::CalibrateMessage","Message",tolua_collect_fawkes__KatanaInterface__CalibrateMessage);
08039     #else
08040     tolua_cclass(tolua_S,"CalibrateMessage","fawkes::KatanaInterface::CalibrateMessage","Message",NULL);
08041     #endif
08042     tolua_beginmodule(tolua_S,"CalibrateMessage");
08043      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00);
08044      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00_local);
08045      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_new00_local);
08046      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CalibrateMessage_delete00);
08047     tolua_endmodule(tolua_S);
08048     #ifdef __cplusplus
08049     tolua_cclass(tolua_S,"OpenGripperMessage","fawkes::KatanaInterface::OpenGripperMessage","Message",tolua_collect_fawkes__KatanaInterface__OpenGripperMessage);
08050     #else
08051     tolua_cclass(tolua_S,"OpenGripperMessage","fawkes::KatanaInterface::OpenGripperMessage","Message",NULL);
08052     #endif
08053     tolua_beginmodule(tolua_S,"OpenGripperMessage");
08054      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00);
08055      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00_local);
08056      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_new00_local);
08057      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_OpenGripperMessage_delete00);
08058     tolua_endmodule(tolua_S);
08059     #ifdef __cplusplus
08060     tolua_cclass(tolua_S,"CloseGripperMessage","fawkes::KatanaInterface::CloseGripperMessage","Message",tolua_collect_fawkes__KatanaInterface__CloseGripperMessage);
08061     #else
08062     tolua_cclass(tolua_S,"CloseGripperMessage","fawkes::KatanaInterface::CloseGripperMessage","Message",NULL);
08063     #endif
08064     tolua_beginmodule(tolua_S,"CloseGripperMessage");
08065      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00);
08066      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00_local);
08067      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_new00_local);
08068      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_CloseGripperMessage_delete00);
08069     tolua_endmodule(tolua_S);
08070     #ifdef __cplusplus
08071     tolua_cclass(tolua_S,"SetEnabledMessage","fawkes::KatanaInterface::SetEnabledMessage","Message",tolua_collect_fawkes__KatanaInterface__SetEnabledMessage);
08072     #else
08073     tolua_cclass(tolua_S,"SetEnabledMessage","fawkes::KatanaInterface::SetEnabledMessage","Message",NULL);
08074     #endif
08075     tolua_beginmodule(tolua_S,"SetEnabledMessage");
08076      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00);
08077      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00_local);
08078      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new00_local);
08079      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01);
08080      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01_local);
08081      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_new01_local);
08082      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_delete00);
08083      tolua_function(tolua_S,"is_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_is_enabled00);
08084      tolua_function(tolua_S,"set_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_set_enabled00);
08085      tolua_function(tolua_S,"maxlenof_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetEnabledMessage_maxlenof_enabled00);
08086     tolua_endmodule(tolua_S);
08087     #ifdef __cplusplus
08088     tolua_cclass(tolua_S,"SetMaxVelocityMessage","fawkes::KatanaInterface::SetMaxVelocityMessage","Message",tolua_collect_fawkes__KatanaInterface__SetMaxVelocityMessage);
08089     #else
08090     tolua_cclass(tolua_S,"SetMaxVelocityMessage","fawkes::KatanaInterface::SetMaxVelocityMessage","Message",NULL);
08091     #endif
08092     tolua_beginmodule(tolua_S,"SetMaxVelocityMessage");
08093      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00);
08094      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00_local);
08095      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new00_local);
08096      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01);
08097      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01_local);
08098      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_new01_local);
08099      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_delete00);
08100      tolua_function(tolua_S,"max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_max_velocity00);
08101      tolua_function(tolua_S,"set_max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_set_max_velocity00);
08102      tolua_function(tolua_S,"maxlenof_max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMaxVelocityMessage_maxlenof_max_velocity00);
08103     tolua_endmodule(tolua_S);
08104     #ifdef __cplusplus
08105     tolua_cclass(tolua_S,"SetPlannerParamsMessage","fawkes::KatanaInterface::SetPlannerParamsMessage","Message",tolua_collect_fawkes__KatanaInterface__SetPlannerParamsMessage);
08106     #else
08107     tolua_cclass(tolua_S,"SetPlannerParamsMessage","fawkes::KatanaInterface::SetPlannerParamsMessage","Message",NULL);
08108     #endif
08109     tolua_beginmodule(tolua_S,"SetPlannerParamsMessage");
08110      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00);
08111      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00_local);
08112      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new00_local);
08113      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01);
08114      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01_local);
08115      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_new01_local);
08116      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_delete00);
08117      tolua_function(tolua_S,"plannerparams",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_plannerparams00);
08118      tolua_function(tolua_S,"set_plannerparams",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_plannerparams00);
08119      tolua_function(tolua_S,"maxlenof_plannerparams",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_plannerparams00);
08120      tolua_function(tolua_S,"is_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_is_straight00);
08121      tolua_function(tolua_S,"set_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_set_straight00);
08122      tolua_function(tolua_S,"maxlenof_straight",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetPlannerParamsMessage_maxlenof_straight00);
08123     tolua_endmodule(tolua_S);
08124     #ifdef __cplusplus
08125     tolua_cclass(tolua_S,"SetMotorEncoderMessage","fawkes::KatanaInterface::SetMotorEncoderMessage","Message",tolua_collect_fawkes__KatanaInterface__SetMotorEncoderMessage);
08126     #else
08127     tolua_cclass(tolua_S,"SetMotorEncoderMessage","fawkes::KatanaInterface::SetMotorEncoderMessage","Message",NULL);
08128     #endif
08129     tolua_beginmodule(tolua_S,"SetMotorEncoderMessage");
08130      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00);
08131      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00_local);
08132      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new00_local);
08133      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01);
08134      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01_local);
08135      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_new01_local);
08136      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_delete00);
08137      tolua_function(tolua_S,"nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_nr00);
08138      tolua_function(tolua_S,"set_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_nr00);
08139      tolua_function(tolua_S,"maxlenof_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_nr00);
08140      tolua_function(tolua_S,"enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_enc00);
08141      tolua_function(tolua_S,"set_enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_set_enc00);
08142      tolua_function(tolua_S,"maxlenof_enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorEncoderMessage_maxlenof_enc00);
08143     tolua_endmodule(tolua_S);
08144     #ifdef __cplusplus
08145     tolua_cclass(tolua_S,"MoveMotorEncoderMessage","fawkes::KatanaInterface::MoveMotorEncoderMessage","Message",tolua_collect_fawkes__KatanaInterface__MoveMotorEncoderMessage);
08146     #else
08147     tolua_cclass(tolua_S,"MoveMotorEncoderMessage","fawkes::KatanaInterface::MoveMotorEncoderMessage","Message",NULL);
08148     #endif
08149     tolua_beginmodule(tolua_S,"MoveMotorEncoderMessage");
08150      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00);
08151      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00_local);
08152      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new00_local);
08153      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01);
08154      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01_local);
08155      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_new01_local);
08156      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_delete00);
08157      tolua_function(tolua_S,"nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_nr00);
08158      tolua_function(tolua_S,"set_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_nr00);
08159      tolua_function(tolua_S,"maxlenof_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_nr00);
08160      tolua_function(tolua_S,"enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_enc00);
08161      tolua_function(tolua_S,"set_enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_set_enc00);
08162      tolua_function(tolua_S,"maxlenof_enc",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorEncoderMessage_maxlenof_enc00);
08163     tolua_endmodule(tolua_S);
08164     #ifdef __cplusplus
08165     tolua_cclass(tolua_S,"SetMotorAngleMessage","fawkes::KatanaInterface::SetMotorAngleMessage","Message",tolua_collect_fawkes__KatanaInterface__SetMotorAngleMessage);
08166     #else
08167     tolua_cclass(tolua_S,"SetMotorAngleMessage","fawkes::KatanaInterface::SetMotorAngleMessage","Message",NULL);
08168     #endif
08169     tolua_beginmodule(tolua_S,"SetMotorAngleMessage");
08170      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00);
08171      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00_local);
08172      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new00_local);
08173      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01);
08174      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01_local);
08175      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_new01_local);
08176      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_delete00);
08177      tolua_function(tolua_S,"nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_nr00);
08178      tolua_function(tolua_S,"set_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_nr00);
08179      tolua_function(tolua_S,"maxlenof_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_nr00);
08180      tolua_function(tolua_S,"angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_angle00);
08181      tolua_function(tolua_S,"set_angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_set_angle00);
08182      tolua_function(tolua_S,"maxlenof_angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_SetMotorAngleMessage_maxlenof_angle00);
08183     tolua_endmodule(tolua_S);
08184     #ifdef __cplusplus
08185     tolua_cclass(tolua_S,"MoveMotorAngleMessage","fawkes::KatanaInterface::MoveMotorAngleMessage","Message",tolua_collect_fawkes__KatanaInterface__MoveMotorAngleMessage);
08186     #else
08187     tolua_cclass(tolua_S,"MoveMotorAngleMessage","fawkes::KatanaInterface::MoveMotorAngleMessage","Message",NULL);
08188     #endif
08189     tolua_beginmodule(tolua_S,"MoveMotorAngleMessage");
08190      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00);
08191      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00_local);
08192      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new00_local);
08193      tolua_function(tolua_S,"new",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01);
08194      tolua_function(tolua_S,"new_local",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01_local);
08195      tolua_function(tolua_S,".call",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_new01_local);
08196      tolua_function(tolua_S,"delete",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_delete00);
08197      tolua_function(tolua_S,"nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_nr00);
08198      tolua_function(tolua_S,"set_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_nr00);
08199      tolua_function(tolua_S,"maxlenof_nr",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_nr00);
08200      tolua_function(tolua_S,"angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_angle00);
08201      tolua_function(tolua_S,"set_angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_set_angle00);
08202      tolua_function(tolua_S,"maxlenof_angle",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_MoveMotorAngleMessage_maxlenof_angle00);
08203     tolua_endmodule(tolua_S);
08204     tolua_function(tolua_S,"sensor_value",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_sensor_value00);
08205     tolua_function(tolua_S,"set_sensor_value",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_sensor_value00);
08206     tolua_function(tolua_S,"maxlenof_sensor_value",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_sensor_value00);
08207     tolua_function(tolua_S,"x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_x00);
08208     tolua_function(tolua_S,"set_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_x00);
08209     tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_x00);
08210     tolua_function(tolua_S,"y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_y00);
08211     tolua_function(tolua_S,"set_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_y00);
08212     tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_y00);
08213     tolua_function(tolua_S,"z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_z00);
08214     tolua_function(tolua_S,"set_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_z00);
08215     tolua_function(tolua_S,"maxlenof_z",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_z00);
08216     tolua_function(tolua_S,"phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_phi00);
08217     tolua_function(tolua_S,"set_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_phi00);
08218     tolua_function(tolua_S,"maxlenof_phi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_phi00);
08219     tolua_function(tolua_S,"theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_theta00);
08220     tolua_function(tolua_S,"set_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_theta00);
08221     tolua_function(tolua_S,"maxlenof_theta",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_theta00);
08222     tolua_function(tolua_S,"psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_psi00);
08223     tolua_function(tolua_S,"set_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_psi00);
08224     tolua_function(tolua_S,"maxlenof_psi",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_psi00);
08225     tolua_function(tolua_S,"encoders",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_encoders00);
08226     tolua_function(tolua_S,"set_encoders",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_encoders00);
08227     tolua_function(tolua_S,"maxlenof_encoders",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_encoders00);
08228     tolua_function(tolua_S,"angles",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_angles00);
08229     tolua_function(tolua_S,"set_angles",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_angles00);
08230     tolua_function(tolua_S,"maxlenof_angles",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_angles00);
08231     tolua_function(tolua_S,"msgid",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgid00);
08232     tolua_function(tolua_S,"set_msgid",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_msgid00);
08233     tolua_function(tolua_S,"maxlenof_msgid",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_msgid00);
08234     tolua_function(tolua_S,"is_final",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_final00);
08235     tolua_function(tolua_S,"set_final",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_final00);
08236     tolua_function(tolua_S,"maxlenof_final",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_final00);
08237     tolua_function(tolua_S,"error_code",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_error_code00);
08238     tolua_function(tolua_S,"set_error_code",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_error_code00);
08239     tolua_function(tolua_S,"maxlenof_error_code",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_error_code00);
08240     tolua_function(tolua_S,"is_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_enabled00);
08241     tolua_function(tolua_S,"set_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_enabled00);
08242     tolua_function(tolua_S,"maxlenof_enabled",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_enabled00);
08243     tolua_function(tolua_S,"is_calibrated",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_calibrated00);
08244     tolua_function(tolua_S,"set_calibrated",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_calibrated00);
08245     tolua_function(tolua_S,"maxlenof_calibrated",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_calibrated00);
08246     tolua_function(tolua_S,"max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_max_velocity00);
08247     tolua_function(tolua_S,"set_max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_max_velocity00);
08248     tolua_function(tolua_S,"maxlenof_max_velocity",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_max_velocity00);
08249     tolua_function(tolua_S,"num_motors",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_motors00);
08250     tolua_function(tolua_S,"set_num_motors",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_num_motors00);
08251     tolua_function(tolua_S,"maxlenof_num_motors",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_maxlenof_num_motors00);
08252     tolua_function(tolua_S,"oftype",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_oftype00);
08253     tolua_function(tolua_S,"datachunk",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datachunk00);
08254     tolua_function(tolua_S,"datasize",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_datasize00);
08255     tolua_function(tolua_S,"type",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_type00);
08256     tolua_function(tolua_S,"id",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_id00);
08257     tolua_function(tolua_S,"uid",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_uid00);
08258     tolua_function(tolua_S,"serial",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_serial00);
08259     tolua_function(tolua_S,"mem_serial",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_mem_serial00);
08260     tolua_function(tolua_S,".eq",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface__eq00);
08261     tolua_function(tolua_S,"hash",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash00);
08262     tolua_function(tolua_S,"hash_size",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_size00);
08263     tolua_function(tolua_S,"hash_printable",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_hash_printable00);
08264     tolua_function(tolua_S,"is_writer",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_is_writer00);
08265     tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_set_from_chunk00);
08266     tolua_function(tolua_S,"create_message",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_create_message00);
08267     tolua_function(tolua_S,"read",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_read00);
08268     tolua_function(tolua_S,"write",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_write00);
08269     tolua_function(tolua_S,"has_writer",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_has_writer00);
08270     tolua_function(tolua_S,"num_readers",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_num_readers00);
08271     tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_enqueue_copy00);
08272     tolua_function(tolua_S,"msgq_remove",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove00);
08273     tolua_function(tolua_S,"msgq_remove",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_remove01);
08274     tolua_function(tolua_S,"msgq_size",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_size00);
08275     tolua_function(tolua_S,"msgq_flush",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_flush00);
08276     tolua_function(tolua_S,"msgq_lock",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_lock00);
08277     tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_try_lock00);
08278     tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_unlock00);
08279     tolua_function(tolua_S,"msgq_pop",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_pop00);
08280     tolua_function(tolua_S,"msgq_first",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_first00);
08281     tolua_function(tolua_S,"msgq_empty",tolua_interfaces_KatanaInterface_fawkes_KatanaInterface_msgq_empty00);
08282    tolua_endmodule(tolua_S);
08283   tolua_endmodule(tolua_S);
08284  tolua_endmodule(tolua_S);
08285  return 1;
08286 }
08287 
08288 
08289 extern "C" {
08290 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
08291  TOLUA_API int luaopen_interfaces_KatanaInterface (lua_State* tolua_S) {
08292  return tolua_interfaces_KatanaInterface_open(tolua_S);
08293 };
08294 #endif
08295 }
08296 
08297