FacialExpressionInterface_tolua.cpp

00001 /*
00002 ** Lua binding: interfaces_FacialExpressionInterface
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_FacialExpressionInterface_open (lua_State* tolua_S);
00028
00029 #include <interfaces/FacialExpressionInterface.h>
00030 using namespace fawkes;
00031
00032 /* function to release collected object via destructor */
00033 #ifdef __cplusplus
00034 
00035 static int tolua_collect_fawkes__FacialExpressionInterface__MoveEyesMessage (lua_State* tolua_S)
00036 {
00037  fawkes::FacialExpressionInterface::MoveEyesMessage* self = (fawkes::FacialExpressionInterface::MoveEyesMessage*) tolua_tousertype(tolua_S,1,0);
00038         delete self;
00039         return 0;
00040 }
00041
00042 static int tolua_collect_fawkes__FacialExpressionInterface__MoveJowlMessage (lua_State* tolua_S)
00043 {
00044  fawkes::FacialExpressionInterface::MoveJowlMessage* self = (fawkes::FacialExpressionInterface::MoveJowlMessage*) tolua_tousertype(tolua_S,1,0);
00045         delete self;
00046         return 0;
00047 }
00048
00049 static int tolua_collect_fawkes__FacialExpressionInterface__MoveMouthMessage (lua_State* tolua_S)
00050 {
00051  fawkes::FacialExpressionInterface::MoveMouthMessage* self = (fawkes::FacialExpressionInterface::MoveMouthMessage*) tolua_tousertype(tolua_S,1,0);
00052         delete self;
00053         return 0;
00054 }
00055
00056 static int tolua_collect_fawkes__FacialExpressionInterface__MoveBrowsMessage (lua_State* tolua_S)
00057 {
00058  fawkes::FacialExpressionInterface::MoveBrowsMessage* self = (fawkes::FacialExpressionInterface::MoveBrowsMessage*) tolua_tousertype(tolua_S,1,0);
00059         delete self;
00060         return 0;
00061 }
00062 #endif
00063 
00064
00065 /* function to register type */
00066 static void tolua_reg_types (lua_State* tolua_S)
00067 {
00068  tolua_usertype(tolua_S,"fawkes::FacialExpressionInterface::MoveBrowsMessage");
00069  tolua_usertype(tolua_S,"fawkes::FacialExpressionInterface::MoveJowlMessage");
00070  tolua_usertype(tolua_S,"fawkes::FacialExpressionInterface::MoveMouthMessage");
00071  tolua_usertype(tolua_S,"fawkes::FacialExpressionInterface");
00072  tolua_usertype(tolua_S,"fawkes::FacialExpressionInterface::MoveEyesMessage");
00073  tolua_usertype(tolua_S,"Message");
00074  tolua_usertype(tolua_S,"Interface");
00075 }
00076
00077 /* method: new of class  MoveBrowsMessage */
00078 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00
00079 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00(lua_State* tolua_S)
00080 {
00081 #ifndef TOLUA_RELEASE
00082  tolua_Error tolua_err;
00083  if (
00084      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00085      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00086      !tolua_isnoobj(tolua_S,3,&tolua_err)
00087  )
00088   goto tolua_lerror;
00089  else
00090 #endif
00091  {
00092   fawkes::FacialExpressionInterface::brows_t ini_brows_action = ((fawkes::FacialExpressionInterface::brows_t) (int)  tolua_tonumber(tolua_S,2,0));
00093   {
00094    fawkes::FacialExpressionInterface::MoveBrowsMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  new fawkes::FacialExpressionInterface::MoveBrowsMessage(ini_brows_action);
00095    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveBrowsMessage");
00096   }
00097  }
00098  return 1;
00099 #ifndef TOLUA_RELEASE
00100  tolua_lerror:
00101  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00102  return 0;
00103 #endif
00104 }
00105 #endif //#ifndef TOLUA_DISABLE
00106 
00107 /* method: new_local of class  MoveBrowsMessage */
00108 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00_local
00109 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00_local(lua_State* tolua_S)
00110 {
00111 #ifndef TOLUA_RELEASE
00112  tolua_Error tolua_err;
00113  if (
00114      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00115      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00116      !tolua_isnoobj(tolua_S,3,&tolua_err)
00117  )
00118   goto tolua_lerror;
00119  else
00120 #endif
00121  {
00122   fawkes::FacialExpressionInterface::brows_t ini_brows_action = ((fawkes::FacialExpressionInterface::brows_t) (int)  tolua_tonumber(tolua_S,2,0));
00123   {
00124    fawkes::FacialExpressionInterface::MoveBrowsMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  new fawkes::FacialExpressionInterface::MoveBrowsMessage(ini_brows_action);
00125    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveBrowsMessage");
00126   }
00127  }
00128  return 1;
00129 #ifndef TOLUA_RELEASE
00130  tolua_lerror:
00131  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00132  return 0;
00133 #endif
00134 }
00135 #endif //#ifndef TOLUA_DISABLE
00136 
00137 /* method: new of class  MoveBrowsMessage */
00138 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01
00139 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01(lua_State* tolua_S)
00140 {
00141  tolua_Error tolua_err;
00142  if (
00143      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00144      !tolua_isnoobj(tolua_S,2,&tolua_err)
00145  )
00146   goto tolua_lerror;
00147  else
00148  {
00149   {
00150    fawkes::FacialExpressionInterface::MoveBrowsMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  new fawkes::FacialExpressionInterface::MoveBrowsMessage();
00151    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveBrowsMessage");
00152   }
00153  }
00154  return 1;
00155 tolua_lerror:
00156  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00(tolua_S);
00157 }
00158 #endif //#ifndef TOLUA_DISABLE
00159 
00160 /* method: new_local of class  MoveBrowsMessage */
00161 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01_local
00162 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01_local(lua_State* tolua_S)
00163 {
00164  tolua_Error tolua_err;
00165  if (
00166      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00167      !tolua_isnoobj(tolua_S,2,&tolua_err)
00168  )
00169   goto tolua_lerror;
00170  else
00171  {
00172   {
00173    fawkes::FacialExpressionInterface::MoveBrowsMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  new fawkes::FacialExpressionInterface::MoveBrowsMessage();
00174    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveBrowsMessage");
00175   }
00176  }
00177  return 1;
00178 tolua_lerror:
00179  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00_local(tolua_S);
00180 }
00181 #endif //#ifndef TOLUA_DISABLE
00182 
00183 /* method: delete of class  MoveBrowsMessage */
00184 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_delete00
00185 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_delete00(lua_State* tolua_S)
00186 {
00187 #ifndef TOLUA_RELEASE
00188  tolua_Error tolua_err;
00189  if (
00190      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00191      !tolua_isnoobj(tolua_S,2,&tolua_err)
00192  )
00193   goto tolua_lerror;
00194  else
00195 #endif
00196  {
00197   fawkes::FacialExpressionInterface::MoveBrowsMessage* self = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  tolua_tousertype(tolua_S,1,0);
00198 #ifndef TOLUA_RELEASE
00199   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
00200 #endif
00201   delete self;
00202  }
00203  return 0;
00204 #ifndef TOLUA_RELEASE
00205  tolua_lerror:
00206  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00207  return 0;
00208 #endif
00209 }
00210 #endif //#ifndef TOLUA_DISABLE
00211 
00212 /* method: brows_action of class  MoveBrowsMessage */
00213 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_brows_action00
00214 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_brows_action00(lua_State* tolua_S)
00215 {
00216 #ifndef TOLUA_RELEASE
00217  tolua_Error tolua_err;
00218  if (
00219      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00220      !tolua_isnoobj(tolua_S,2,&tolua_err)
00221  )
00222   goto tolua_lerror;
00223  else
00224 #endif
00225  {
00226   fawkes::FacialExpressionInterface::MoveBrowsMessage* self = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  tolua_tousertype(tolua_S,1,0);
00227 #ifndef TOLUA_RELEASE
00228   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'brows_action'",NULL);
00229 #endif
00230   {
00231    fawkes::FacialExpressionInterface::brows_t tolua_ret = (fawkes::FacialExpressionInterface::brows_t)  self->brows_action();
00232    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00233   }
00234  }
00235  return 1;
00236 #ifndef TOLUA_RELEASE
00237  tolua_lerror:
00238  tolua_error(tolua_S,"#ferror in function 'brows_action'.",&tolua_err);
00239  return 0;
00240 #endif
00241 }
00242 #endif //#ifndef TOLUA_DISABLE
00243 
00244 /* method: set_brows_action of class  MoveBrowsMessage */
00245 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_set_brows_action00
00246 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_set_brows_action00(lua_State* tolua_S)
00247 {
00248 #ifndef TOLUA_RELEASE
00249  tolua_Error tolua_err;
00250  if (
00251      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00252      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00253      !tolua_isnoobj(tolua_S,3,&tolua_err)
00254  )
00255   goto tolua_lerror;
00256  else
00257 #endif
00258  {
00259   fawkes::FacialExpressionInterface::MoveBrowsMessage* self = (fawkes::FacialExpressionInterface::MoveBrowsMessage*)  tolua_tousertype(tolua_S,1,0);
00260   const fawkes::FacialExpressionInterface::brows_t new_brows_action = ((const fawkes::FacialExpressionInterface::brows_t)  tolua_tonumber(tolua_S,2,0));
00261 #ifndef TOLUA_RELEASE
00262   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_brows_action'",NULL);
00263 #endif
00264   {
00265    self->set_brows_action(new_brows_action);
00266   }
00267  }
00268  return 0;
00269 #ifndef TOLUA_RELEASE
00270  tolua_lerror:
00271  tolua_error(tolua_S,"#ferror in function 'set_brows_action'.",&tolua_err);
00272  return 0;
00273 #endif
00274 }
00275 #endif //#ifndef TOLUA_DISABLE
00276 
00277 /* method: maxlenof_brows_action of class  MoveBrowsMessage */
00278 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_maxlenof_brows_action00
00279 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_maxlenof_brows_action00(lua_State* tolua_S)
00280 {
00281 #ifndef TOLUA_RELEASE
00282  tolua_Error tolua_err;
00283  if (
00284      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface::MoveBrowsMessage",0,&tolua_err) ||
00285      !tolua_isnoobj(tolua_S,2,&tolua_err)
00286  )
00287   goto tolua_lerror;
00288  else
00289 #endif
00290  {
00291   const fawkes::FacialExpressionInterface::MoveBrowsMessage* self = (const fawkes::FacialExpressionInterface::MoveBrowsMessage*)  tolua_tousertype(tolua_S,1,0);
00292 #ifndef TOLUA_RELEASE
00293   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_brows_action'",NULL);
00294 #endif
00295   {
00296    int tolua_ret = (int)  self->maxlenof_brows_action();
00297    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00298   }
00299  }
00300  return 1;
00301 #ifndef TOLUA_RELEASE
00302  tolua_lerror:
00303  tolua_error(tolua_S,"#ferror in function 'maxlenof_brows_action'.",&tolua_err);
00304  return 0;
00305 #endif
00306 }
00307 #endif //#ifndef TOLUA_DISABLE
00308 
00309 /* method: new of class  MoveEyesMessage */
00310 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00
00311 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00(lua_State* tolua_S)
00312 {
00313 #ifndef TOLUA_RELEASE
00314  tolua_Error tolua_err;
00315  if (
00316      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00317      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00318      !tolua_isnoobj(tolua_S,3,&tolua_err)
00319  )
00320   goto tolua_lerror;
00321  else
00322 #endif
00323  {
00324   fawkes::FacialExpressionInterface::eyes_t ini_eyes_action = ((fawkes::FacialExpressionInterface::eyes_t) (int)  tolua_tonumber(tolua_S,2,0));
00325   {
00326    fawkes::FacialExpressionInterface::MoveEyesMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  new fawkes::FacialExpressionInterface::MoveEyesMessage(ini_eyes_action);
00327    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveEyesMessage");
00328   }
00329  }
00330  return 1;
00331 #ifndef TOLUA_RELEASE
00332  tolua_lerror:
00333  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00334  return 0;
00335 #endif
00336 }
00337 #endif //#ifndef TOLUA_DISABLE
00338 
00339 /* method: new_local of class  MoveEyesMessage */
00340 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00_local
00341 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00_local(lua_State* tolua_S)
00342 {
00343 #ifndef TOLUA_RELEASE
00344  tolua_Error tolua_err;
00345  if (
00346      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00347      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00348      !tolua_isnoobj(tolua_S,3,&tolua_err)
00349  )
00350   goto tolua_lerror;
00351  else
00352 #endif
00353  {
00354   fawkes::FacialExpressionInterface::eyes_t ini_eyes_action = ((fawkes::FacialExpressionInterface::eyes_t) (int)  tolua_tonumber(tolua_S,2,0));
00355   {
00356    fawkes::FacialExpressionInterface::MoveEyesMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  new fawkes::FacialExpressionInterface::MoveEyesMessage(ini_eyes_action);
00357    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveEyesMessage");
00358   }
00359  }
00360  return 1;
00361 #ifndef TOLUA_RELEASE
00362  tolua_lerror:
00363  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00364  return 0;
00365 #endif
00366 }
00367 #endif //#ifndef TOLUA_DISABLE
00368 
00369 /* method: new of class  MoveEyesMessage */
00370 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01
00371 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01(lua_State* tolua_S)
00372 {
00373  tolua_Error tolua_err;
00374  if (
00375      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00376      !tolua_isnoobj(tolua_S,2,&tolua_err)
00377  )
00378   goto tolua_lerror;
00379  else
00380  {
00381   {
00382    fawkes::FacialExpressionInterface::MoveEyesMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  new fawkes::FacialExpressionInterface::MoveEyesMessage();
00383    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveEyesMessage");
00384   }
00385  }
00386  return 1;
00387 tolua_lerror:
00388  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00(tolua_S);
00389 }
00390 #endif //#ifndef TOLUA_DISABLE
00391 
00392 /* method: new_local of class  MoveEyesMessage */
00393 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01_local
00394 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01_local(lua_State* tolua_S)
00395 {
00396  tolua_Error tolua_err;
00397  if (
00398      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00399      !tolua_isnoobj(tolua_S,2,&tolua_err)
00400  )
00401   goto tolua_lerror;
00402  else
00403  {
00404   {
00405    fawkes::FacialExpressionInterface::MoveEyesMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  new fawkes::FacialExpressionInterface::MoveEyesMessage();
00406    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveEyesMessage");
00407   }
00408  }
00409  return 1;
00410 tolua_lerror:
00411  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00_local(tolua_S);
00412 }
00413 #endif //#ifndef TOLUA_DISABLE
00414 
00415 /* method: delete of class  MoveEyesMessage */
00416 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_delete00
00417 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_delete00(lua_State* tolua_S)
00418 {
00419 #ifndef TOLUA_RELEASE
00420  tolua_Error tolua_err;
00421  if (
00422      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00423      !tolua_isnoobj(tolua_S,2,&tolua_err)
00424  )
00425   goto tolua_lerror;
00426  else
00427 #endif
00428  {
00429   fawkes::FacialExpressionInterface::MoveEyesMessage* self = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  tolua_tousertype(tolua_S,1,0);
00430 #ifndef TOLUA_RELEASE
00431   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
00432 #endif
00433   delete self;
00434  }
00435  return 0;
00436 #ifndef TOLUA_RELEASE
00437  tolua_lerror:
00438  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00439  return 0;
00440 #endif
00441 }
00442 #endif //#ifndef TOLUA_DISABLE
00443 
00444 /* method: eyes_action of class  MoveEyesMessage */
00445 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_eyes_action00
00446 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_eyes_action00(lua_State* tolua_S)
00447 {
00448 #ifndef TOLUA_RELEASE
00449  tolua_Error tolua_err;
00450  if (
00451      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00452      !tolua_isnoobj(tolua_S,2,&tolua_err)
00453  )
00454   goto tolua_lerror;
00455  else
00456 #endif
00457  {
00458   fawkes::FacialExpressionInterface::MoveEyesMessage* self = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  tolua_tousertype(tolua_S,1,0);
00459 #ifndef TOLUA_RELEASE
00460   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'eyes_action'",NULL);
00461 #endif
00462   {
00463    fawkes::FacialExpressionInterface::eyes_t tolua_ret = (fawkes::FacialExpressionInterface::eyes_t)  self->eyes_action();
00464    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00465   }
00466  }
00467  return 1;
00468 #ifndef TOLUA_RELEASE
00469  tolua_lerror:
00470  tolua_error(tolua_S,"#ferror in function 'eyes_action'.",&tolua_err);
00471  return 0;
00472 #endif
00473 }
00474 #endif //#ifndef TOLUA_DISABLE
00475 
00476 /* method: set_eyes_action of class  MoveEyesMessage */
00477 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_set_eyes_action00
00478 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_set_eyes_action00(lua_State* tolua_S)
00479 {
00480 #ifndef TOLUA_RELEASE
00481  tolua_Error tolua_err;
00482  if (
00483      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00484      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00485      !tolua_isnoobj(tolua_S,3,&tolua_err)
00486  )
00487   goto tolua_lerror;
00488  else
00489 #endif
00490  {
00491   fawkes::FacialExpressionInterface::MoveEyesMessage* self = (fawkes::FacialExpressionInterface::MoveEyesMessage*)  tolua_tousertype(tolua_S,1,0);
00492   const fawkes::FacialExpressionInterface::eyes_t new_eyes_action = ((const fawkes::FacialExpressionInterface::eyes_t)  tolua_tonumber(tolua_S,2,0));
00493 #ifndef TOLUA_RELEASE
00494   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_eyes_action'",NULL);
00495 #endif
00496   {
00497    self->set_eyes_action(new_eyes_action);
00498   }
00499  }
00500  return 0;
00501 #ifndef TOLUA_RELEASE
00502  tolua_lerror:
00503  tolua_error(tolua_S,"#ferror in function 'set_eyes_action'.",&tolua_err);
00504  return 0;
00505 #endif
00506 }
00507 #endif //#ifndef TOLUA_DISABLE
00508 
00509 /* method: maxlenof_eyes_action of class  MoveEyesMessage */
00510 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_maxlenof_eyes_action00
00511 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_maxlenof_eyes_action00(lua_State* tolua_S)
00512 {
00513 #ifndef TOLUA_RELEASE
00514  tolua_Error tolua_err;
00515  if (
00516      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface::MoveEyesMessage",0,&tolua_err) ||
00517      !tolua_isnoobj(tolua_S,2,&tolua_err)
00518  )
00519   goto tolua_lerror;
00520  else
00521 #endif
00522  {
00523   const fawkes::FacialExpressionInterface::MoveEyesMessage* self = (const fawkes::FacialExpressionInterface::MoveEyesMessage*)  tolua_tousertype(tolua_S,1,0);
00524 #ifndef TOLUA_RELEASE
00525   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_eyes_action'",NULL);
00526 #endif
00527   {
00528    int tolua_ret = (int)  self->maxlenof_eyes_action();
00529    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00530   }
00531  }
00532  return 1;
00533 #ifndef TOLUA_RELEASE
00534  tolua_lerror:
00535  tolua_error(tolua_S,"#ferror in function 'maxlenof_eyes_action'.",&tolua_err);
00536  return 0;
00537 #endif
00538 }
00539 #endif //#ifndef TOLUA_DISABLE
00540 
00541 /* method: new of class  MoveJowlMessage */
00542 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00
00543 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00(lua_State* tolua_S)
00544 {
00545 #ifndef TOLUA_RELEASE
00546  tolua_Error tolua_err;
00547  if (
00548      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00549      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00550      !tolua_isnoobj(tolua_S,3,&tolua_err)
00551  )
00552   goto tolua_lerror;
00553  else
00554 #endif
00555  {
00556   fawkes::FacialExpressionInterface::jowl_t ini_jowl_action = ((fawkes::FacialExpressionInterface::jowl_t) (int)  tolua_tonumber(tolua_S,2,0));
00557   {
00558    fawkes::FacialExpressionInterface::MoveJowlMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  new fawkes::FacialExpressionInterface::MoveJowlMessage(ini_jowl_action);
00559    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveJowlMessage");
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  MoveJowlMessage */
00572 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00_local
00573 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_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::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00579      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00580      !tolua_isnoobj(tolua_S,3,&tolua_err)
00581  )
00582   goto tolua_lerror;
00583  else
00584 #endif
00585  {
00586   fawkes::FacialExpressionInterface::jowl_t ini_jowl_action = ((fawkes::FacialExpressionInterface::jowl_t) (int)  tolua_tonumber(tolua_S,2,0));
00587   {
00588    fawkes::FacialExpressionInterface::MoveJowlMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  new fawkes::FacialExpressionInterface::MoveJowlMessage(ini_jowl_action);
00589    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveJowlMessage");
00590   }
00591  }
00592  return 1;
00593 #ifndef TOLUA_RELEASE
00594  tolua_lerror:
00595  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00596  return 0;
00597 #endif
00598 }
00599 #endif //#ifndef TOLUA_DISABLE
00600 
00601 /* method: new of class  MoveJowlMessage */
00602 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01
00603 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01(lua_State* tolua_S)
00604 {
00605  tolua_Error tolua_err;
00606  if (
00607      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00608      !tolua_isnoobj(tolua_S,2,&tolua_err)
00609  )
00610   goto tolua_lerror;
00611  else
00612  {
00613   {
00614    fawkes::FacialExpressionInterface::MoveJowlMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  new fawkes::FacialExpressionInterface::MoveJowlMessage();
00615    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveJowlMessage");
00616   }
00617  }
00618  return 1;
00619 tolua_lerror:
00620  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00(tolua_S);
00621 }
00622 #endif //#ifndef TOLUA_DISABLE
00623 
00624 /* method: new_local of class  MoveJowlMessage */
00625 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01_local
00626 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01_local(lua_State* tolua_S)
00627 {
00628  tolua_Error tolua_err;
00629  if (
00630      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00631      !tolua_isnoobj(tolua_S,2,&tolua_err)
00632  )
00633   goto tolua_lerror;
00634  else
00635  {
00636   {
00637    fawkes::FacialExpressionInterface::MoveJowlMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  new fawkes::FacialExpressionInterface::MoveJowlMessage();
00638    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveJowlMessage");
00639   }
00640  }
00641  return 1;
00642 tolua_lerror:
00643  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00_local(tolua_S);
00644 }
00645 #endif //#ifndef TOLUA_DISABLE
00646 
00647 /* method: delete of class  MoveJowlMessage */
00648 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_delete00
00649 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_delete00(lua_State* tolua_S)
00650 {
00651 #ifndef TOLUA_RELEASE
00652  tolua_Error tolua_err;
00653  if (
00654      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00655      !tolua_isnoobj(tolua_S,2,&tolua_err)
00656  )
00657   goto tolua_lerror;
00658  else
00659 #endif
00660  {
00661   fawkes::FacialExpressionInterface::MoveJowlMessage* self = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  tolua_tousertype(tolua_S,1,0);
00662 #ifndef TOLUA_RELEASE
00663   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
00664 #endif
00665   delete self;
00666  }
00667  return 0;
00668 #ifndef TOLUA_RELEASE
00669  tolua_lerror:
00670  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00671  return 0;
00672 #endif
00673 }
00674 #endif //#ifndef TOLUA_DISABLE
00675 
00676 /* method: jowl_action of class  MoveJowlMessage */
00677 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_jowl_action00
00678 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_jowl_action00(lua_State* tolua_S)
00679 {
00680 #ifndef TOLUA_RELEASE
00681  tolua_Error tolua_err;
00682  if (
00683      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00684      !tolua_isnoobj(tolua_S,2,&tolua_err)
00685  )
00686   goto tolua_lerror;
00687  else
00688 #endif
00689  {
00690   fawkes::FacialExpressionInterface::MoveJowlMessage* self = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  tolua_tousertype(tolua_S,1,0);
00691 #ifndef TOLUA_RELEASE
00692   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'jowl_action'",NULL);
00693 #endif
00694   {
00695    fawkes::FacialExpressionInterface::jowl_t tolua_ret = (fawkes::FacialExpressionInterface::jowl_t)  self->jowl_action();
00696    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00697   }
00698  }
00699  return 1;
00700 #ifndef TOLUA_RELEASE
00701  tolua_lerror:
00702  tolua_error(tolua_S,"#ferror in function 'jowl_action'.",&tolua_err);
00703  return 0;
00704 #endif
00705 }
00706 #endif //#ifndef TOLUA_DISABLE
00707 
00708 /* method: set_jowl_action of class  MoveJowlMessage */
00709 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_set_jowl_action00
00710 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_set_jowl_action00(lua_State* tolua_S)
00711 {
00712 #ifndef TOLUA_RELEASE
00713  tolua_Error tolua_err;
00714  if (
00715      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00716      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00717      !tolua_isnoobj(tolua_S,3,&tolua_err)
00718  )
00719   goto tolua_lerror;
00720  else
00721 #endif
00722  {
00723   fawkes::FacialExpressionInterface::MoveJowlMessage* self = (fawkes::FacialExpressionInterface::MoveJowlMessage*)  tolua_tousertype(tolua_S,1,0);
00724   const fawkes::FacialExpressionInterface::jowl_t new_jowl_action = ((const fawkes::FacialExpressionInterface::jowl_t)  tolua_tonumber(tolua_S,2,0));
00725 #ifndef TOLUA_RELEASE
00726   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_jowl_action'",NULL);
00727 #endif
00728   {
00729    self->set_jowl_action(new_jowl_action);
00730   }
00731  }
00732  return 0;
00733 #ifndef TOLUA_RELEASE
00734  tolua_lerror:
00735  tolua_error(tolua_S,"#ferror in function 'set_jowl_action'.",&tolua_err);
00736  return 0;
00737 #endif
00738 }
00739 #endif //#ifndef TOLUA_DISABLE
00740 
00741 /* method: maxlenof_jowl_action of class  MoveJowlMessage */
00742 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_maxlenof_jowl_action00
00743 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_maxlenof_jowl_action00(lua_State* tolua_S)
00744 {
00745 #ifndef TOLUA_RELEASE
00746  tolua_Error tolua_err;
00747  if (
00748      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface::MoveJowlMessage",0,&tolua_err) ||
00749      !tolua_isnoobj(tolua_S,2,&tolua_err)
00750  )
00751   goto tolua_lerror;
00752  else
00753 #endif
00754  {
00755   const fawkes::FacialExpressionInterface::MoveJowlMessage* self = (const fawkes::FacialExpressionInterface::MoveJowlMessage*)  tolua_tousertype(tolua_S,1,0);
00756 #ifndef TOLUA_RELEASE
00757   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_jowl_action'",NULL);
00758 #endif
00759   {
00760    int tolua_ret = (int)  self->maxlenof_jowl_action();
00761    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00762   }
00763  }
00764  return 1;
00765 #ifndef TOLUA_RELEASE
00766  tolua_lerror:
00767  tolua_error(tolua_S,"#ferror in function 'maxlenof_jowl_action'.",&tolua_err);
00768  return 0;
00769 #endif
00770 }
00771 #endif //#ifndef TOLUA_DISABLE
00772 
00773 /* method: new of class  MoveMouthMessage */
00774 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00
00775 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00(lua_State* tolua_S)
00776 {
00777 #ifndef TOLUA_RELEASE
00778  tolua_Error tolua_err;
00779  if (
00780      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00781      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00782      !tolua_isnoobj(tolua_S,3,&tolua_err)
00783  )
00784   goto tolua_lerror;
00785  else
00786 #endif
00787  {
00788   fawkes::FacialExpressionInterface::mouth_t ini_mouth_action = ((fawkes::FacialExpressionInterface::mouth_t) (int)  tolua_tonumber(tolua_S,2,0));
00789   {
00790    fawkes::FacialExpressionInterface::MoveMouthMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  new fawkes::FacialExpressionInterface::MoveMouthMessage(ini_mouth_action);
00791    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveMouthMessage");
00792   }
00793  }
00794  return 1;
00795 #ifndef TOLUA_RELEASE
00796  tolua_lerror:
00797  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00798  return 0;
00799 #endif
00800 }
00801 #endif //#ifndef TOLUA_DISABLE
00802 
00803 /* method: new_local of class  MoveMouthMessage */
00804 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00_local
00805 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00_local(lua_State* tolua_S)
00806 {
00807 #ifndef TOLUA_RELEASE
00808  tolua_Error tolua_err;
00809  if (
00810      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00811      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00812      !tolua_isnoobj(tolua_S,3,&tolua_err)
00813  )
00814   goto tolua_lerror;
00815  else
00816 #endif
00817  {
00818   fawkes::FacialExpressionInterface::mouth_t ini_mouth_action = ((fawkes::FacialExpressionInterface::mouth_t) (int)  tolua_tonumber(tolua_S,2,0));
00819   {
00820    fawkes::FacialExpressionInterface::MoveMouthMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  new fawkes::FacialExpressionInterface::MoveMouthMessage(ini_mouth_action);
00821    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveMouthMessage");
00822   }
00823  }
00824  return 1;
00825 #ifndef TOLUA_RELEASE
00826  tolua_lerror:
00827  tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
00828  return 0;
00829 #endif
00830 }
00831 #endif //#ifndef TOLUA_DISABLE
00832 
00833 /* method: new of class  MoveMouthMessage */
00834 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01
00835 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01(lua_State* tolua_S)
00836 {
00837  tolua_Error tolua_err;
00838  if (
00839      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00840      !tolua_isnoobj(tolua_S,2,&tolua_err)
00841  )
00842   goto tolua_lerror;
00843  else
00844  {
00845   {
00846    fawkes::FacialExpressionInterface::MoveMouthMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  new fawkes::FacialExpressionInterface::MoveMouthMessage();
00847    tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::FacialExpressionInterface::MoveMouthMessage");
00848   }
00849  }
00850  return 1;
00851 tolua_lerror:
00852  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00(tolua_S);
00853 }
00854 #endif //#ifndef TOLUA_DISABLE
00855 
00856 /* method: new_local of class  MoveMouthMessage */
00857 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01_local
00858 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01_local(lua_State* tolua_S)
00859 {
00860  tolua_Error tolua_err;
00861  if (
00862      !tolua_isusertable(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00863      !tolua_isnoobj(tolua_S,2,&tolua_err)
00864  )
00865   goto tolua_lerror;
00866  else
00867  {
00868   {
00869    fawkes::FacialExpressionInterface::MoveMouthMessage* tolua_ret = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  new fawkes::FacialExpressionInterface::MoveMouthMessage();
00870    tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"fawkes::FacialExpressionInterface::MoveMouthMessage");
00871   }
00872  }
00873  return 1;
00874 tolua_lerror:
00875  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00_local(tolua_S);
00876 }
00877 #endif //#ifndef TOLUA_DISABLE
00878 
00879 /* method: delete of class  MoveMouthMessage */
00880 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_delete00
00881 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_delete00(lua_State* tolua_S)
00882 {
00883 #ifndef TOLUA_RELEASE
00884  tolua_Error tolua_err;
00885  if (
00886      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00887      !tolua_isnoobj(tolua_S,2,&tolua_err)
00888  )
00889   goto tolua_lerror;
00890  else
00891 #endif
00892  {
00893   fawkes::FacialExpressionInterface::MoveMouthMessage* self = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  tolua_tousertype(tolua_S,1,0);
00894 #ifndef TOLUA_RELEASE
00895   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
00896 #endif
00897   delete self;
00898  }
00899  return 0;
00900 #ifndef TOLUA_RELEASE
00901  tolua_lerror:
00902  tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
00903  return 0;
00904 #endif
00905 }
00906 #endif //#ifndef TOLUA_DISABLE
00907 
00908 /* method: mouth_action of class  MoveMouthMessage */
00909 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_mouth_action00
00910 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_mouth_action00(lua_State* tolua_S)
00911 {
00912 #ifndef TOLUA_RELEASE
00913  tolua_Error tolua_err;
00914  if (
00915      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00916      !tolua_isnoobj(tolua_S,2,&tolua_err)
00917  )
00918   goto tolua_lerror;
00919  else
00920 #endif
00921  {
00922   fawkes::FacialExpressionInterface::MoveMouthMessage* self = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  tolua_tousertype(tolua_S,1,0);
00923 #ifndef TOLUA_RELEASE
00924   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mouth_action'",NULL);
00925 #endif
00926   {
00927    fawkes::FacialExpressionInterface::mouth_t tolua_ret = (fawkes::FacialExpressionInterface::mouth_t)  self->mouth_action();
00928    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00929   }
00930  }
00931  return 1;
00932 #ifndef TOLUA_RELEASE
00933  tolua_lerror:
00934  tolua_error(tolua_S,"#ferror in function 'mouth_action'.",&tolua_err);
00935  return 0;
00936 #endif
00937 }
00938 #endif //#ifndef TOLUA_DISABLE
00939 
00940 /* method: set_mouth_action of class  MoveMouthMessage */
00941 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_set_mouth_action00
00942 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_set_mouth_action00(lua_State* tolua_S)
00943 {
00944 #ifndef TOLUA_RELEASE
00945  tolua_Error tolua_err;
00946  if (
00947      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00948      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
00949      !tolua_isnoobj(tolua_S,3,&tolua_err)
00950  )
00951   goto tolua_lerror;
00952  else
00953 #endif
00954  {
00955   fawkes::FacialExpressionInterface::MoveMouthMessage* self = (fawkes::FacialExpressionInterface::MoveMouthMessage*)  tolua_tousertype(tolua_S,1,0);
00956   const fawkes::FacialExpressionInterface::mouth_t new_mouth_action = ((const fawkes::FacialExpressionInterface::mouth_t)  tolua_tonumber(tolua_S,2,0));
00957 #ifndef TOLUA_RELEASE
00958   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_mouth_action'",NULL);
00959 #endif
00960   {
00961    self->set_mouth_action(new_mouth_action);
00962   }
00963  }
00964  return 0;
00965 #ifndef TOLUA_RELEASE
00966  tolua_lerror:
00967  tolua_error(tolua_S,"#ferror in function 'set_mouth_action'.",&tolua_err);
00968  return 0;
00969 #endif
00970 }
00971 #endif //#ifndef TOLUA_DISABLE
00972 
00973 /* method: maxlenof_mouth_action of class  MoveMouthMessage */
00974 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_maxlenof_mouth_action00
00975 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_maxlenof_mouth_action00(lua_State* tolua_S)
00976 {
00977 #ifndef TOLUA_RELEASE
00978  tolua_Error tolua_err;
00979  if (
00980      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface::MoveMouthMessage",0,&tolua_err) ||
00981      !tolua_isnoobj(tolua_S,2,&tolua_err)
00982  )
00983   goto tolua_lerror;
00984  else
00985 #endif
00986  {
00987   const fawkes::FacialExpressionInterface::MoveMouthMessage* self = (const fawkes::FacialExpressionInterface::MoveMouthMessage*)  tolua_tousertype(tolua_S,1,0);
00988 #ifndef TOLUA_RELEASE
00989   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_mouth_action'",NULL);
00990 #endif
00991   {
00992    int tolua_ret = (int)  self->maxlenof_mouth_action();
00993    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
00994   }
00995  }
00996  return 1;
00997 #ifndef TOLUA_RELEASE
00998  tolua_lerror:
00999  tolua_error(tolua_S,"#ferror in function 'maxlenof_mouth_action'.",&tolua_err);
01000  return 0;
01001 #endif
01002 }
01003 #endif //#ifndef TOLUA_DISABLE
01004 
01005 /* method: brows_action of class  fawkes::FacialExpressionInterface */
01006 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_brows_action00
01007 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_brows_action00(lua_State* tolua_S)
01008 {
01009 #ifndef TOLUA_RELEASE
01010  tolua_Error tolua_err;
01011  if (
01012      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01013      !tolua_isnoobj(tolua_S,2,&tolua_err)
01014  )
01015   goto tolua_lerror;
01016  else
01017 #endif
01018  {
01019   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01020 #ifndef TOLUA_RELEASE
01021   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'brows_action'",NULL);
01022 #endif
01023   {
01024    fawkes::FacialExpressionInterface::brows_t tolua_ret = (fawkes::FacialExpressionInterface::brows_t)  self->brows_action();
01025    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01026   }
01027  }
01028  return 1;
01029 #ifndef TOLUA_RELEASE
01030  tolua_lerror:
01031  tolua_error(tolua_S,"#ferror in function 'brows_action'.",&tolua_err);
01032  return 0;
01033 #endif
01034 }
01035 #endif //#ifndef TOLUA_DISABLE
01036 
01037 /* method: set_brows_action of class  fawkes::FacialExpressionInterface */
01038 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_brows_action00
01039 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_brows_action00(lua_State* tolua_S)
01040 {
01041 #ifndef TOLUA_RELEASE
01042  tolua_Error tolua_err;
01043  if (
01044      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01045      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01046      !tolua_isnoobj(tolua_S,3,&tolua_err)
01047  )
01048   goto tolua_lerror;
01049  else
01050 #endif
01051  {
01052   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01053   const fawkes::FacialExpressionInterface::brows_t new_brows_action = ((const fawkes::FacialExpressionInterface::brows_t)  tolua_tonumber(tolua_S,2,0));
01054 #ifndef TOLUA_RELEASE
01055   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_brows_action'",NULL);
01056 #endif
01057   {
01058    self->set_brows_action(new_brows_action);
01059   }
01060  }
01061  return 0;
01062 #ifndef TOLUA_RELEASE
01063  tolua_lerror:
01064  tolua_error(tolua_S,"#ferror in function 'set_brows_action'.",&tolua_err);
01065  return 0;
01066 #endif
01067 }
01068 #endif //#ifndef TOLUA_DISABLE
01069 
01070 /* method: maxlenof_brows_action of class  fawkes::FacialExpressionInterface */
01071 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_brows_action00
01072 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_brows_action00(lua_State* tolua_S)
01073 {
01074 #ifndef TOLUA_RELEASE
01075  tolua_Error tolua_err;
01076  if (
01077      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01078      !tolua_isnoobj(tolua_S,2,&tolua_err)
01079  )
01080   goto tolua_lerror;
01081  else
01082 #endif
01083  {
01084   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01085 #ifndef TOLUA_RELEASE
01086   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_brows_action'",NULL);
01087 #endif
01088   {
01089    int tolua_ret = (int)  self->maxlenof_brows_action();
01090    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01091   }
01092  }
01093  return 1;
01094 #ifndef TOLUA_RELEASE
01095  tolua_lerror:
01096  tolua_error(tolua_S,"#ferror in function 'maxlenof_brows_action'.",&tolua_err);
01097  return 0;
01098 #endif
01099 }
01100 #endif //#ifndef TOLUA_DISABLE
01101 
01102 /* method: eyes_action of class  fawkes::FacialExpressionInterface */
01103 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_eyes_action00
01104 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_eyes_action00(lua_State* tolua_S)
01105 {
01106 #ifndef TOLUA_RELEASE
01107  tolua_Error tolua_err;
01108  if (
01109      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01110      !tolua_isnoobj(tolua_S,2,&tolua_err)
01111  )
01112   goto tolua_lerror;
01113  else
01114 #endif
01115  {
01116   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01117 #ifndef TOLUA_RELEASE
01118   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'eyes_action'",NULL);
01119 #endif
01120   {
01121    fawkes::FacialExpressionInterface::eyes_t tolua_ret = (fawkes::FacialExpressionInterface::eyes_t)  self->eyes_action();
01122    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01123   }
01124  }
01125  return 1;
01126 #ifndef TOLUA_RELEASE
01127  tolua_lerror:
01128  tolua_error(tolua_S,"#ferror in function 'eyes_action'.",&tolua_err);
01129  return 0;
01130 #endif
01131 }
01132 #endif //#ifndef TOLUA_DISABLE
01133 
01134 /* method: set_eyes_action of class  fawkes::FacialExpressionInterface */
01135 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_eyes_action00
01136 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_eyes_action00(lua_State* tolua_S)
01137 {
01138 #ifndef TOLUA_RELEASE
01139  tolua_Error tolua_err;
01140  if (
01141      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01142      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01143      !tolua_isnoobj(tolua_S,3,&tolua_err)
01144  )
01145   goto tolua_lerror;
01146  else
01147 #endif
01148  {
01149   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01150   const fawkes::FacialExpressionInterface::eyes_t new_eyes_action = ((const fawkes::FacialExpressionInterface::eyes_t)  tolua_tonumber(tolua_S,2,0));
01151 #ifndef TOLUA_RELEASE
01152   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_eyes_action'",NULL);
01153 #endif
01154   {
01155    self->set_eyes_action(new_eyes_action);
01156   }
01157  }
01158  return 0;
01159 #ifndef TOLUA_RELEASE
01160  tolua_lerror:
01161  tolua_error(tolua_S,"#ferror in function 'set_eyes_action'.",&tolua_err);
01162  return 0;
01163 #endif
01164 }
01165 #endif //#ifndef TOLUA_DISABLE
01166 
01167 /* method: maxlenof_eyes_action of class  fawkes::FacialExpressionInterface */
01168 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_eyes_action00
01169 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_eyes_action00(lua_State* tolua_S)
01170 {
01171 #ifndef TOLUA_RELEASE
01172  tolua_Error tolua_err;
01173  if (
01174      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01175      !tolua_isnoobj(tolua_S,2,&tolua_err)
01176  )
01177   goto tolua_lerror;
01178  else
01179 #endif
01180  {
01181   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01182 #ifndef TOLUA_RELEASE
01183   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_eyes_action'",NULL);
01184 #endif
01185   {
01186    int tolua_ret = (int)  self->maxlenof_eyes_action();
01187    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01188   }
01189  }
01190  return 1;
01191 #ifndef TOLUA_RELEASE
01192  tolua_lerror:
01193  tolua_error(tolua_S,"#ferror in function 'maxlenof_eyes_action'.",&tolua_err);
01194  return 0;
01195 #endif
01196 }
01197 #endif //#ifndef TOLUA_DISABLE
01198 
01199 /* method: jowl_action of class  fawkes::FacialExpressionInterface */
01200 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_jowl_action00
01201 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_jowl_action00(lua_State* tolua_S)
01202 {
01203 #ifndef TOLUA_RELEASE
01204  tolua_Error tolua_err;
01205  if (
01206      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01207      !tolua_isnoobj(tolua_S,2,&tolua_err)
01208  )
01209   goto tolua_lerror;
01210  else
01211 #endif
01212  {
01213   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01214 #ifndef TOLUA_RELEASE
01215   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'jowl_action'",NULL);
01216 #endif
01217   {
01218    fawkes::FacialExpressionInterface::jowl_t tolua_ret = (fawkes::FacialExpressionInterface::jowl_t)  self->jowl_action();
01219    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01220   }
01221  }
01222  return 1;
01223 #ifndef TOLUA_RELEASE
01224  tolua_lerror:
01225  tolua_error(tolua_S,"#ferror in function 'jowl_action'.",&tolua_err);
01226  return 0;
01227 #endif
01228 }
01229 #endif //#ifndef TOLUA_DISABLE
01230 
01231 /* method: set_jowl_action of class  fawkes::FacialExpressionInterface */
01232 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_jowl_action00
01233 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_jowl_action00(lua_State* tolua_S)
01234 {
01235 #ifndef TOLUA_RELEASE
01236  tolua_Error tolua_err;
01237  if (
01238      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01239      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01240      !tolua_isnoobj(tolua_S,3,&tolua_err)
01241  )
01242   goto tolua_lerror;
01243  else
01244 #endif
01245  {
01246   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01247   const fawkes::FacialExpressionInterface::jowl_t new_jowl_action = ((const fawkes::FacialExpressionInterface::jowl_t)  tolua_tonumber(tolua_S,2,0));
01248 #ifndef TOLUA_RELEASE
01249   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_jowl_action'",NULL);
01250 #endif
01251   {
01252    self->set_jowl_action(new_jowl_action);
01253   }
01254  }
01255  return 0;
01256 #ifndef TOLUA_RELEASE
01257  tolua_lerror:
01258  tolua_error(tolua_S,"#ferror in function 'set_jowl_action'.",&tolua_err);
01259  return 0;
01260 #endif
01261 }
01262 #endif //#ifndef TOLUA_DISABLE
01263 
01264 /* method: maxlenof_jowl_action of class  fawkes::FacialExpressionInterface */
01265 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_jowl_action00
01266 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_jowl_action00(lua_State* tolua_S)
01267 {
01268 #ifndef TOLUA_RELEASE
01269  tolua_Error tolua_err;
01270  if (
01271      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01272      !tolua_isnoobj(tolua_S,2,&tolua_err)
01273  )
01274   goto tolua_lerror;
01275  else
01276 #endif
01277  {
01278   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01279 #ifndef TOLUA_RELEASE
01280   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_jowl_action'",NULL);
01281 #endif
01282   {
01283    int tolua_ret = (int)  self->maxlenof_jowl_action();
01284    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01285   }
01286  }
01287  return 1;
01288 #ifndef TOLUA_RELEASE
01289  tolua_lerror:
01290  tolua_error(tolua_S,"#ferror in function 'maxlenof_jowl_action'.",&tolua_err);
01291  return 0;
01292 #endif
01293 }
01294 #endif //#ifndef TOLUA_DISABLE
01295 
01296 /* method: mouth_action of class  fawkes::FacialExpressionInterface */
01297 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mouth_action00
01298 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mouth_action00(lua_State* tolua_S)
01299 {
01300 #ifndef TOLUA_RELEASE
01301  tolua_Error tolua_err;
01302  if (
01303      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01304      !tolua_isnoobj(tolua_S,2,&tolua_err)
01305  )
01306   goto tolua_lerror;
01307  else
01308 #endif
01309  {
01310   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01311 #ifndef TOLUA_RELEASE
01312   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mouth_action'",NULL);
01313 #endif
01314   {
01315    fawkes::FacialExpressionInterface::mouth_t tolua_ret = (fawkes::FacialExpressionInterface::mouth_t)  self->mouth_action();
01316    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01317   }
01318  }
01319  return 1;
01320 #ifndef TOLUA_RELEASE
01321  tolua_lerror:
01322  tolua_error(tolua_S,"#ferror in function 'mouth_action'.",&tolua_err);
01323  return 0;
01324 #endif
01325 }
01326 #endif //#ifndef TOLUA_DISABLE
01327 
01328 /* method: set_mouth_action of class  fawkes::FacialExpressionInterface */
01329 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_mouth_action00
01330 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_mouth_action00(lua_State* tolua_S)
01331 {
01332 #ifndef TOLUA_RELEASE
01333  tolua_Error tolua_err;
01334  if (
01335      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01336      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
01337      !tolua_isnoobj(tolua_S,3,&tolua_err)
01338  )
01339   goto tolua_lerror;
01340  else
01341 #endif
01342  {
01343   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01344   const fawkes::FacialExpressionInterface::mouth_t new_mouth_action = ((const fawkes::FacialExpressionInterface::mouth_t)  tolua_tonumber(tolua_S,2,0));
01345 #ifndef TOLUA_RELEASE
01346   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_mouth_action'",NULL);
01347 #endif
01348   {
01349    self->set_mouth_action(new_mouth_action);
01350   }
01351  }
01352  return 0;
01353 #ifndef TOLUA_RELEASE
01354  tolua_lerror:
01355  tolua_error(tolua_S,"#ferror in function 'set_mouth_action'.",&tolua_err);
01356  return 0;
01357 #endif
01358 }
01359 #endif //#ifndef TOLUA_DISABLE
01360 
01361 /* method: maxlenof_mouth_action of class  fawkes::FacialExpressionInterface */
01362 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_mouth_action00
01363 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_mouth_action00(lua_State* tolua_S)
01364 {
01365 #ifndef TOLUA_RELEASE
01366  tolua_Error tolua_err;
01367  if (
01368      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01369      !tolua_isnoobj(tolua_S,2,&tolua_err)
01370  )
01371   goto tolua_lerror;
01372  else
01373 #endif
01374  {
01375   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01376 #ifndef TOLUA_RELEASE
01377   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_mouth_action'",NULL);
01378 #endif
01379   {
01380    int tolua_ret = (int)  self->maxlenof_mouth_action();
01381    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01382   }
01383  }
01384  return 1;
01385 #ifndef TOLUA_RELEASE
01386  tolua_lerror:
01387  tolua_error(tolua_S,"#ferror in function 'maxlenof_mouth_action'.",&tolua_err);
01388  return 0;
01389 #endif
01390 }
01391 #endif //#ifndef TOLUA_DISABLE
01392 
01393 /* method: oftype of class  fawkes::FacialExpressionInterface */
01394 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_oftype00
01395 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_oftype00(lua_State* tolua_S)
01396 {
01397 #ifndef TOLUA_RELEASE
01398  tolua_Error tolua_err;
01399  if (
01400      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01401      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
01402      !tolua_isnoobj(tolua_S,3,&tolua_err)
01403  )
01404   goto tolua_lerror;
01405  else
01406 #endif
01407  {
01408   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01409   const char* interface_type = ((const char*)  tolua_tostring(tolua_S,2,0));
01410 #ifndef TOLUA_RELEASE
01411   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'",NULL);
01412 #endif
01413   {
01414    bool tolua_ret = (bool)  self->oftype(interface_type);
01415    tolua_pushboolean(tolua_S,(bool)tolua_ret);
01416   }
01417  }
01418  return 1;
01419 #ifndef TOLUA_RELEASE
01420  tolua_lerror:
01421  tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err);
01422  return 0;
01423 #endif
01424 }
01425 #endif //#ifndef TOLUA_DISABLE
01426 
01427 /* method: datachunk of class  fawkes::FacialExpressionInterface */
01428 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datachunk00
01429 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datachunk00(lua_State* tolua_S)
01430 {
01431 #ifndef TOLUA_RELEASE
01432  tolua_Error tolua_err;
01433  if (
01434      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01435      !tolua_isnoobj(tolua_S,2,&tolua_err)
01436  )
01437   goto tolua_lerror;
01438  else
01439 #endif
01440  {
01441   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01442 #ifndef TOLUA_RELEASE
01443   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'",NULL);
01444 #endif
01445   {
01446    const void* tolua_ret = (const void*)  self->datachunk();
01447    tolua_pushuserdata(tolua_S,(void*)tolua_ret);
01448   }
01449  }
01450  return 1;
01451 #ifndef TOLUA_RELEASE
01452  tolua_lerror:
01453  tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err);
01454  return 0;
01455 #endif
01456 }
01457 #endif //#ifndef TOLUA_DISABLE
01458 
01459 /* method: datasize of class  fawkes::FacialExpressionInterface */
01460 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datasize00
01461 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datasize00(lua_State* tolua_S)
01462 {
01463 #ifndef TOLUA_RELEASE
01464  tolua_Error tolua_err;
01465  if (
01466      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01467      !tolua_isnoobj(tolua_S,2,&tolua_err)
01468  )
01469   goto tolua_lerror;
01470  else
01471 #endif
01472  {
01473   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01474 #ifndef TOLUA_RELEASE
01475   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'",NULL);
01476 #endif
01477   {
01478    unsigned int tolua_ret = (unsigned int)  self->datasize();
01479    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01480   }
01481  }
01482  return 1;
01483 #ifndef TOLUA_RELEASE
01484  tolua_lerror:
01485  tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err);
01486  return 0;
01487 #endif
01488 }
01489 #endif //#ifndef TOLUA_DISABLE
01490 
01491 /* method: type of class  fawkes::FacialExpressionInterface */
01492 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_type00
01493 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_type00(lua_State* tolua_S)
01494 {
01495 #ifndef TOLUA_RELEASE
01496  tolua_Error tolua_err;
01497  if (
01498      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01499      !tolua_isnoobj(tolua_S,2,&tolua_err)
01500  )
01501   goto tolua_lerror;
01502  else
01503 #endif
01504  {
01505   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01506 #ifndef TOLUA_RELEASE
01507   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'",NULL);
01508 #endif
01509   {
01510    const char* tolua_ret = (const char*)  self->type();
01511    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01512   }
01513  }
01514  return 1;
01515 #ifndef TOLUA_RELEASE
01516  tolua_lerror:
01517  tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err);
01518  return 0;
01519 #endif
01520 }
01521 #endif //#ifndef TOLUA_DISABLE
01522 
01523 /* method: id of class  fawkes::FacialExpressionInterface */
01524 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_id00
01525 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_id00(lua_State* tolua_S)
01526 {
01527 #ifndef TOLUA_RELEASE
01528  tolua_Error tolua_err;
01529  if (
01530      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01531      !tolua_isnoobj(tolua_S,2,&tolua_err)
01532  )
01533   goto tolua_lerror;
01534  else
01535 #endif
01536  {
01537   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01538 #ifndef TOLUA_RELEASE
01539   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'",NULL);
01540 #endif
01541   {
01542    const char* tolua_ret = (const char*)  self->id();
01543    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01544   }
01545  }
01546  return 1;
01547 #ifndef TOLUA_RELEASE
01548  tolua_lerror:
01549  tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err);
01550  return 0;
01551 #endif
01552 }
01553 #endif //#ifndef TOLUA_DISABLE
01554 
01555 /* method: uid of class  fawkes::FacialExpressionInterface */
01556 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_uid00
01557 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_uid00(lua_State* tolua_S)
01558 {
01559 #ifndef TOLUA_RELEASE
01560  tolua_Error tolua_err;
01561  if (
01562      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01563      !tolua_isnoobj(tolua_S,2,&tolua_err)
01564  )
01565   goto tolua_lerror;
01566  else
01567 #endif
01568  {
01569   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01570 #ifndef TOLUA_RELEASE
01571   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'",NULL);
01572 #endif
01573   {
01574    const char* tolua_ret = (const char*)  self->uid();
01575    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01576   }
01577  }
01578  return 1;
01579 #ifndef TOLUA_RELEASE
01580  tolua_lerror:
01581  tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err);
01582  return 0;
01583 #endif
01584 }
01585 #endif //#ifndef TOLUA_DISABLE
01586 
01587 /* method: serial of class  fawkes::FacialExpressionInterface */
01588 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_serial00
01589 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_serial00(lua_State* tolua_S)
01590 {
01591 #ifndef TOLUA_RELEASE
01592  tolua_Error tolua_err;
01593  if (
01594      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01595      !tolua_isnoobj(tolua_S,2,&tolua_err)
01596  )
01597   goto tolua_lerror;
01598  else
01599 #endif
01600  {
01601   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01602 #ifndef TOLUA_RELEASE
01603   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'",NULL);
01604 #endif
01605   {
01606    unsigned int tolua_ret = (unsigned int)  self->serial();
01607    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01608   }
01609  }
01610  return 1;
01611 #ifndef TOLUA_RELEASE
01612  tolua_lerror:
01613  tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err);
01614  return 0;
01615 #endif
01616 }
01617 #endif //#ifndef TOLUA_DISABLE
01618 
01619 /* method: mem_serial of class  fawkes::FacialExpressionInterface */
01620 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mem_serial00
01621 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mem_serial00(lua_State* tolua_S)
01622 {
01623 #ifndef TOLUA_RELEASE
01624  tolua_Error tolua_err;
01625  if (
01626      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01627      !tolua_isnoobj(tolua_S,2,&tolua_err)
01628  )
01629   goto tolua_lerror;
01630  else
01631 #endif
01632  {
01633   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01634 #ifndef TOLUA_RELEASE
01635   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'",NULL);
01636 #endif
01637   {
01638    unsigned int tolua_ret = (unsigned int)  self->mem_serial();
01639    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01640   }
01641  }
01642  return 1;
01643 #ifndef TOLUA_RELEASE
01644  tolua_lerror:
01645  tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err);
01646  return 0;
01647 #endif
01648 }
01649 #endif //#ifndef TOLUA_DISABLE
01650 
01651 /* method: operator== of class  fawkes::FacialExpressionInterface */
01652 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface__eq00
01653 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface__eq00(lua_State* tolua_S)
01654 {
01655 #ifndef TOLUA_RELEASE
01656  tolua_Error tolua_err;
01657  if (
01658      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01659      !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err) ||
01660      !tolua_isnoobj(tolua_S,3,&tolua_err)
01661  )
01662   goto tolua_lerror;
01663  else
01664 #endif
01665  {
01666   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01667   Interface* comp = ((Interface*)  tolua_tousertype(tolua_S,2,0));
01668 #ifndef TOLUA_RELEASE
01669   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
01670 #endif
01671   {
01672    bool tolua_ret = (bool)  self->operator==(*comp);
01673    tolua_pushboolean(tolua_S,(bool)tolua_ret);
01674   }
01675  }
01676  return 1;
01677 #ifndef TOLUA_RELEASE
01678  tolua_lerror:
01679  tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
01680  return 0;
01681 #endif
01682 }
01683 #endif //#ifndef TOLUA_DISABLE
01684 
01685 /* method: hash of class  fawkes::FacialExpressionInterface */
01686 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash00
01687 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash00(lua_State* tolua_S)
01688 {
01689 #ifndef TOLUA_RELEASE
01690  tolua_Error tolua_err;
01691  if (
01692      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01693      !tolua_isnoobj(tolua_S,2,&tolua_err)
01694  )
01695   goto tolua_lerror;
01696  else
01697 #endif
01698  {
01699   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01700 #ifndef TOLUA_RELEASE
01701   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'",NULL);
01702 #endif
01703   {
01704    unsigned const char* tolua_ret = ( unsigned const char*)  self->hash();
01705    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01706   }
01707  }
01708  return 1;
01709 #ifndef TOLUA_RELEASE
01710  tolua_lerror:
01711  tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err);
01712  return 0;
01713 #endif
01714 }
01715 #endif //#ifndef TOLUA_DISABLE
01716 
01717 /* method: hash_size of class  fawkes::FacialExpressionInterface */
01718 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_size00
01719 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_size00(lua_State* tolua_S)
01720 {
01721 #ifndef TOLUA_RELEASE
01722  tolua_Error tolua_err;
01723  if (
01724      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01725      !tolua_isnoobj(tolua_S,2,&tolua_err)
01726  )
01727   goto tolua_lerror;
01728  else
01729 #endif
01730  {
01731   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01732 #ifndef TOLUA_RELEASE
01733   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'",NULL);
01734 #endif
01735   {
01736    int tolua_ret = (int)  self->hash_size();
01737    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01738   }
01739  }
01740  return 1;
01741 #ifndef TOLUA_RELEASE
01742  tolua_lerror:
01743  tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err);
01744  return 0;
01745 #endif
01746 }
01747 #endif //#ifndef TOLUA_DISABLE
01748 
01749 /* method: hash_printable of class  fawkes::FacialExpressionInterface */
01750 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_printable00
01751 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_printable00(lua_State* tolua_S)
01752 {
01753 #ifndef TOLUA_RELEASE
01754  tolua_Error tolua_err;
01755  if (
01756      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01757      !tolua_isnoobj(tolua_S,2,&tolua_err)
01758  )
01759   goto tolua_lerror;
01760  else
01761 #endif
01762  {
01763   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01764 #ifndef TOLUA_RELEASE
01765   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'",NULL);
01766 #endif
01767   {
01768    const char* tolua_ret = (const char*)  self->hash_printable();
01769    tolua_pushstring(tolua_S,(const char*)tolua_ret);
01770   }
01771  }
01772  return 1;
01773 #ifndef TOLUA_RELEASE
01774  tolua_lerror:
01775  tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err);
01776  return 0;
01777 #endif
01778 }
01779 #endif //#ifndef TOLUA_DISABLE
01780 
01781 /* method: is_writer of class  fawkes::FacialExpressionInterface */
01782 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_is_writer00
01783 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_is_writer00(lua_State* tolua_S)
01784 {
01785 #ifndef TOLUA_RELEASE
01786  tolua_Error tolua_err;
01787  if (
01788      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01789      !tolua_isnoobj(tolua_S,2,&tolua_err)
01790  )
01791   goto tolua_lerror;
01792  else
01793 #endif
01794  {
01795   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01796 #ifndef TOLUA_RELEASE
01797   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'",NULL);
01798 #endif
01799   {
01800    bool tolua_ret = (bool)  self->is_writer();
01801    tolua_pushboolean(tolua_S,(bool)tolua_ret);
01802   }
01803  }
01804  return 1;
01805 #ifndef TOLUA_RELEASE
01806  tolua_lerror:
01807  tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err);
01808  return 0;
01809 #endif
01810 }
01811 #endif //#ifndef TOLUA_DISABLE
01812 
01813 /* method: set_from_chunk of class  fawkes::FacialExpressionInterface */
01814 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_from_chunk00
01815 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_from_chunk00(lua_State* tolua_S)
01816 {
01817 #ifndef TOLUA_RELEASE
01818  tolua_Error tolua_err;
01819  if (
01820      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01821      !tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
01822      !tolua_isnoobj(tolua_S,3,&tolua_err)
01823  )
01824   goto tolua_lerror;
01825  else
01826 #endif
01827  {
01828   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01829   void* chunk = ((void*)  tolua_touserdata(tolua_S,2,0));
01830 #ifndef TOLUA_RELEASE
01831   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'",NULL);
01832 #endif
01833   {
01834    self->set_from_chunk(chunk);
01835   }
01836  }
01837  return 0;
01838 #ifndef TOLUA_RELEASE
01839  tolua_lerror:
01840  tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err);
01841  return 0;
01842 #endif
01843 }
01844 #endif //#ifndef TOLUA_DISABLE
01845 
01846 /* method: create_message of class  fawkes::FacialExpressionInterface */
01847 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_create_message00
01848 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_create_message00(lua_State* tolua_S)
01849 {
01850 #ifndef TOLUA_RELEASE
01851  tolua_Error tolua_err;
01852  if (
01853      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01854      !tolua_isstring(tolua_S,2,0,&tolua_err) ||
01855      !tolua_isnoobj(tolua_S,3,&tolua_err)
01856  )
01857   goto tolua_lerror;
01858  else
01859 #endif
01860  {
01861   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01862   const char* type = ((const char*)  tolua_tostring(tolua_S,2,0));
01863 #ifndef TOLUA_RELEASE
01864   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'",NULL);
01865 #endif
01866   {
01867    Message* tolua_ret = (Message*)  self->create_message(type);
01868    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
01869   }
01870  }
01871  return 1;
01872 #ifndef TOLUA_RELEASE
01873  tolua_lerror:
01874  tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err);
01875  return 0;
01876 #endif
01877 }
01878 #endif //#ifndef TOLUA_DISABLE
01879 
01880 /* method: read of class  fawkes::FacialExpressionInterface */
01881 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_read00
01882 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_read00(lua_State* tolua_S)
01883 {
01884 #ifndef TOLUA_RELEASE
01885  tolua_Error tolua_err;
01886  if (
01887      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01888      !tolua_isnoobj(tolua_S,2,&tolua_err)
01889  )
01890   goto tolua_lerror;
01891  else
01892 #endif
01893  {
01894   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01895 #ifndef TOLUA_RELEASE
01896   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'",NULL);
01897 #endif
01898   {
01899    self->read();
01900   }
01901  }
01902  return 0;
01903 #ifndef TOLUA_RELEASE
01904  tolua_lerror:
01905  tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err);
01906  return 0;
01907 #endif
01908 }
01909 #endif //#ifndef TOLUA_DISABLE
01910 
01911 /* method: write of class  fawkes::FacialExpressionInterface */
01912 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_write00
01913 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_write00(lua_State* tolua_S)
01914 {
01915 #ifndef TOLUA_RELEASE
01916  tolua_Error tolua_err;
01917  if (
01918      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
01919      !tolua_isnoobj(tolua_S,2,&tolua_err)
01920  )
01921   goto tolua_lerror;
01922  else
01923 #endif
01924  {
01925   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01926 #ifndef TOLUA_RELEASE
01927   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'",NULL);
01928 #endif
01929   {
01930    self->write();
01931   }
01932  }
01933  return 0;
01934 #ifndef TOLUA_RELEASE
01935  tolua_lerror:
01936  tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err);
01937  return 0;
01938 #endif
01939 }
01940 #endif //#ifndef TOLUA_DISABLE
01941 
01942 /* method: has_writer of class  fawkes::FacialExpressionInterface */
01943 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_has_writer00
01944 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_has_writer00(lua_State* tolua_S)
01945 {
01946 #ifndef TOLUA_RELEASE
01947  tolua_Error tolua_err;
01948  if (
01949      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01950      !tolua_isnoobj(tolua_S,2,&tolua_err)
01951  )
01952   goto tolua_lerror;
01953  else
01954 #endif
01955  {
01956   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01957 #ifndef TOLUA_RELEASE
01958   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'",NULL);
01959 #endif
01960   {
01961    bool tolua_ret = (bool)  self->has_writer();
01962    tolua_pushboolean(tolua_S,(bool)tolua_ret);
01963   }
01964  }
01965  return 1;
01966 #ifndef TOLUA_RELEASE
01967  tolua_lerror:
01968  tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err);
01969  return 0;
01970 #endif
01971 }
01972 #endif //#ifndef TOLUA_DISABLE
01973 
01974 /* method: num_readers of class  fawkes::FacialExpressionInterface */
01975 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_num_readers00
01976 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_num_readers00(lua_State* tolua_S)
01977 {
01978 #ifndef TOLUA_RELEASE
01979  tolua_Error tolua_err;
01980  if (
01981      !tolua_isusertype(tolua_S,1,"const fawkes::FacialExpressionInterface",0,&tolua_err) ||
01982      !tolua_isnoobj(tolua_S,2,&tolua_err)
01983  )
01984   goto tolua_lerror;
01985  else
01986 #endif
01987  {
01988   const fawkes::FacialExpressionInterface* self = (const fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
01989 #ifndef TOLUA_RELEASE
01990   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'",NULL);
01991 #endif
01992   {
01993    unsigned int tolua_ret = (unsigned int)  self->num_readers();
01994    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
01995   }
01996  }
01997  return 1;
01998 #ifndef TOLUA_RELEASE
01999  tolua_lerror:
02000  tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err);
02001  return 0;
02002 #endif
02003 }
02004 #endif //#ifndef TOLUA_DISABLE
02005 
02006 /* method: msgq_enqueue_copy of class  fawkes::FacialExpressionInterface */
02007 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_enqueue_copy00
02008 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_enqueue_copy00(lua_State* tolua_S)
02009 {
02010 #ifndef TOLUA_RELEASE
02011  tolua_Error tolua_err;
02012  if (
02013      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02014      !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
02015      !tolua_isnoobj(tolua_S,3,&tolua_err)
02016  )
02017   goto tolua_lerror;
02018  else
02019 #endif
02020  {
02021   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02022   Message* message = ((Message*)  tolua_tousertype(tolua_S,2,0));
02023 #ifndef TOLUA_RELEASE
02024   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'",NULL);
02025 #endif
02026   {
02027    unsigned int tolua_ret = (unsigned int)  self->msgq_enqueue_copy(message);
02028    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02029   }
02030  }
02031  return 1;
02032 #ifndef TOLUA_RELEASE
02033  tolua_lerror:
02034  tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err);
02035  return 0;
02036 #endif
02037 }
02038 #endif //#ifndef TOLUA_DISABLE
02039 
02040 /* method: msgq_remove of class  fawkes::FacialExpressionInterface */
02041 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove00
02042 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove00(lua_State* tolua_S)
02043 {
02044 #ifndef TOLUA_RELEASE
02045  tolua_Error tolua_err;
02046  if (
02047      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02048      !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) ||
02049      !tolua_isnoobj(tolua_S,3,&tolua_err)
02050  )
02051   goto tolua_lerror;
02052  else
02053 #endif
02054  {
02055   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02056   Message* message = ((Message*)  tolua_tousertype(tolua_S,2,0));
02057 #ifndef TOLUA_RELEASE
02058   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'",NULL);
02059 #endif
02060   {
02061    self->msgq_remove(message);
02062   }
02063  }
02064  return 0;
02065 #ifndef TOLUA_RELEASE
02066  tolua_lerror:
02067  tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err);
02068  return 0;
02069 #endif
02070 }
02071 #endif //#ifndef TOLUA_DISABLE
02072 
02073 /* method: msgq_remove of class  fawkes::FacialExpressionInterface */
02074 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove01
02075 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove01(lua_State* tolua_S)
02076 {
02077  tolua_Error tolua_err;
02078  if (
02079      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02080      !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
02081      !tolua_isnoobj(tolua_S,3,&tolua_err)
02082  )
02083   goto tolua_lerror;
02084  else
02085  {
02086   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02087   unsigned int message_id = ((unsigned int)  tolua_tonumber(tolua_S,2,0));
02088 #ifndef TOLUA_RELEASE
02089   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'",NULL);
02090 #endif
02091   {
02092    self->msgq_remove(message_id);
02093   }
02094  }
02095  return 0;
02096 tolua_lerror:
02097  return tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove00(tolua_S);
02098 }
02099 #endif //#ifndef TOLUA_DISABLE
02100 
02101 /* method: msgq_size of class  fawkes::FacialExpressionInterface */
02102 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_size00
02103 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_size00(lua_State* tolua_S)
02104 {
02105 #ifndef TOLUA_RELEASE
02106  tolua_Error tolua_err;
02107  if (
02108      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02109      !tolua_isnoobj(tolua_S,2,&tolua_err)
02110  )
02111   goto tolua_lerror;
02112  else
02113 #endif
02114  {
02115   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02116 #ifndef TOLUA_RELEASE
02117   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'",NULL);
02118 #endif
02119   {
02120    unsigned int tolua_ret = (unsigned int)  self->msgq_size();
02121    tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
02122   }
02123  }
02124  return 1;
02125 #ifndef TOLUA_RELEASE
02126  tolua_lerror:
02127  tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err);
02128  return 0;
02129 #endif
02130 }
02131 #endif //#ifndef TOLUA_DISABLE
02132 
02133 /* method: msgq_flush of class  fawkes::FacialExpressionInterface */
02134 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_flush00
02135 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_flush00(lua_State* tolua_S)
02136 {
02137 #ifndef TOLUA_RELEASE
02138  tolua_Error tolua_err;
02139  if (
02140      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02141      !tolua_isnoobj(tolua_S,2,&tolua_err)
02142  )
02143   goto tolua_lerror;
02144  else
02145 #endif
02146  {
02147   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02148 #ifndef TOLUA_RELEASE
02149   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'",NULL);
02150 #endif
02151   {
02152    self->msgq_flush();
02153   }
02154  }
02155  return 0;
02156 #ifndef TOLUA_RELEASE
02157  tolua_lerror:
02158  tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err);
02159  return 0;
02160 #endif
02161 }
02162 #endif //#ifndef TOLUA_DISABLE
02163 
02164 /* method: msgq_lock of class  fawkes::FacialExpressionInterface */
02165 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_lock00
02166 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_lock00(lua_State* tolua_S)
02167 {
02168 #ifndef TOLUA_RELEASE
02169  tolua_Error tolua_err;
02170  if (
02171      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02172      !tolua_isnoobj(tolua_S,2,&tolua_err)
02173  )
02174   goto tolua_lerror;
02175  else
02176 #endif
02177  {
02178   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02179 #ifndef TOLUA_RELEASE
02180   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'",NULL);
02181 #endif
02182   {
02183    self->msgq_lock();
02184   }
02185  }
02186  return 0;
02187 #ifndef TOLUA_RELEASE
02188  tolua_lerror:
02189  tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err);
02190  return 0;
02191 #endif
02192 }
02193 #endif //#ifndef TOLUA_DISABLE
02194 
02195 /* method: msgq_try_lock of class  fawkes::FacialExpressionInterface */
02196 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_try_lock00
02197 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_try_lock00(lua_State* tolua_S)
02198 {
02199 #ifndef TOLUA_RELEASE
02200  tolua_Error tolua_err;
02201  if (
02202      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02203      !tolua_isnoobj(tolua_S,2,&tolua_err)
02204  )
02205   goto tolua_lerror;
02206  else
02207 #endif
02208  {
02209   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02210 #ifndef TOLUA_RELEASE
02211   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'",NULL);
02212 #endif
02213   {
02214    bool tolua_ret = (bool)  self->msgq_try_lock();
02215    tolua_pushboolean(tolua_S,(bool)tolua_ret);
02216   }
02217  }
02218  return 1;
02219 #ifndef TOLUA_RELEASE
02220  tolua_lerror:
02221  tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err);
02222  return 0;
02223 #endif
02224 }
02225 #endif //#ifndef TOLUA_DISABLE
02226 
02227 /* method: msgq_unlock of class  fawkes::FacialExpressionInterface */
02228 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_unlock00
02229 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_unlock00(lua_State* tolua_S)
02230 {
02231 #ifndef TOLUA_RELEASE
02232  tolua_Error tolua_err;
02233  if (
02234      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02235      !tolua_isnoobj(tolua_S,2,&tolua_err)
02236  )
02237   goto tolua_lerror;
02238  else
02239 #endif
02240  {
02241   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02242 #ifndef TOLUA_RELEASE
02243   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'",NULL);
02244 #endif
02245   {
02246    self->msgq_unlock();
02247   }
02248  }
02249  return 0;
02250 #ifndef TOLUA_RELEASE
02251  tolua_lerror:
02252  tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err);
02253  return 0;
02254 #endif
02255 }
02256 #endif //#ifndef TOLUA_DISABLE
02257 
02258 /* method: msgq_pop of class  fawkes::FacialExpressionInterface */
02259 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_pop00
02260 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_pop00(lua_State* tolua_S)
02261 {
02262 #ifndef TOLUA_RELEASE
02263  tolua_Error tolua_err;
02264  if (
02265      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02266      !tolua_isnoobj(tolua_S,2,&tolua_err)
02267  )
02268   goto tolua_lerror;
02269  else
02270 #endif
02271  {
02272   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02273 #ifndef TOLUA_RELEASE
02274   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'",NULL);
02275 #endif
02276   {
02277    self->msgq_pop();
02278   }
02279  }
02280  return 0;
02281 #ifndef TOLUA_RELEASE
02282  tolua_lerror:
02283  tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err);
02284  return 0;
02285 #endif
02286 }
02287 #endif //#ifndef TOLUA_DISABLE
02288 
02289 /* method: msgq_first of class  fawkes::FacialExpressionInterface */
02290 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_first00
02291 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_first00(lua_State* tolua_S)
02292 {
02293 #ifndef TOLUA_RELEASE
02294  tolua_Error tolua_err;
02295  if (
02296      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02297      !tolua_isnoobj(tolua_S,2,&tolua_err)
02298  )
02299   goto tolua_lerror;
02300  else
02301 #endif
02302  {
02303   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02304 #ifndef TOLUA_RELEASE
02305   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'",NULL);
02306 #endif
02307   {
02308    Message* tolua_ret = (Message*)  self->msgq_first();
02309    tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message");
02310   }
02311  }
02312  return 1;
02313 #ifndef TOLUA_RELEASE
02314  tolua_lerror:
02315  tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err);
02316  return 0;
02317 #endif
02318 }
02319 #endif //#ifndef TOLUA_DISABLE
02320 
02321 /* method: msgq_empty of class  fawkes::FacialExpressionInterface */
02322 #ifndef TOLUA_DISABLE_tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_empty00
02323 static int tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_empty00(lua_State* tolua_S)
02324 {
02325 #ifndef TOLUA_RELEASE
02326  tolua_Error tolua_err;
02327  if (
02328      !tolua_isusertype(tolua_S,1,"fawkes::FacialExpressionInterface",0,&tolua_err) ||
02329      !tolua_isnoobj(tolua_S,2,&tolua_err)
02330  )
02331   goto tolua_lerror;
02332  else
02333 #endif
02334  {
02335   fawkes::FacialExpressionInterface* self = (fawkes::FacialExpressionInterface*)  tolua_tousertype(tolua_S,1,0);
02336 #ifndef TOLUA_RELEASE
02337   if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'",NULL);
02338 #endif
02339   {
02340    bool tolua_ret = (bool)  self->msgq_empty();
02341    tolua_pushboolean(tolua_S,(bool)tolua_ret);
02342   }
02343  }
02344  return 1;
02345 #ifndef TOLUA_RELEASE
02346  tolua_lerror:
02347  tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err);
02348  return 0;
02349 #endif
02350 }
02351 #endif //#ifndef TOLUA_DISABLE
02352 
02353 /* Open function */
02354 TOLUA_API int tolua_interfaces_FacialExpressionInterface_open (lua_State* tolua_S)
02355 {
02356  tolua_open(tolua_S);
02357  tolua_reg_types(tolua_S);
02358  tolua_module(tolua_S,NULL,0);
02359  tolua_beginmodule(tolua_S,NULL);
02360   tolua_module(tolua_S,"fawkes",0);
02361   tolua_beginmodule(tolua_S,"fawkes");
02362    tolua_cclass(tolua_S,"FacialExpressionInterface","fawkes::FacialExpressionInterface","Interface",NULL);
02363    tolua_beginmodule(tolua_S,"FacialExpressionInterface");
02364     tolua_constant(tolua_S,"BROWS_DEFAULT",fawkes::FacialExpressionInterface::BROWS_DEFAULT);
02365     tolua_constant(tolua_S,"BROWS_FROWN",fawkes::FacialExpressionInterface::BROWS_FROWN);
02366     tolua_constant(tolua_S,"BROWS_LIFT",fawkes::FacialExpressionInterface::BROWS_LIFT);
02367     tolua_constant(tolua_S,"EYES_DEFAULT",fawkes::FacialExpressionInterface::EYES_DEFAULT);
02368     tolua_constant(tolua_S,"EYES_UP",fawkes::FacialExpressionInterface::EYES_UP);
02369     tolua_constant(tolua_S,"EYES_DOWN",fawkes::FacialExpressionInterface::EYES_DOWN);
02370     tolua_constant(tolua_S,"EYES_LEFT",fawkes::FacialExpressionInterface::EYES_LEFT);
02371     tolua_constant(tolua_S,"EYES_RIGHT",fawkes::FacialExpressionInterface::EYES_RIGHT);
02372     tolua_constant(tolua_S,"EYES_COOL",fawkes::FacialExpressionInterface::EYES_COOL);
02373     tolua_constant(tolua_S,"EYES_CROSS",fawkes::FacialExpressionInterface::EYES_CROSS);
02374     tolua_constant(tolua_S,"EYES_HEART",fawkes::FacialExpressionInterface::EYES_HEART);
02375     tolua_constant(tolua_S,"EYES_DOLLAR",fawkes::FacialExpressionInterface::EYES_DOLLAR);
02376     tolua_constant(tolua_S,"JOWL_DEFAULT",fawkes::FacialExpressionInterface::JOWL_DEFAULT);
02377     tolua_constant(tolua_S,"JOWL_BLUSH",fawkes::FacialExpressionInterface::JOWL_BLUSH);
02378     tolua_constant(tolua_S,"JOWL_TEARS",fawkes::FacialExpressionInterface::JOWL_TEARS);
02379     tolua_constant(tolua_S,"MOUTH_DEFAULT",fawkes::FacialExpressionInterface::MOUTH_DEFAULT);
02380     tolua_constant(tolua_S,"MOUTH_OPEN",fawkes::FacialExpressionInterface::MOUTH_OPEN);
02381     tolua_constant(tolua_S,"MOUTH_CLOSE",fawkes::FacialExpressionInterface::MOUTH_CLOSE);
02382     tolua_constant(tolua_S,"MOUTH_SMILE",fawkes::FacialExpressionInterface::MOUTH_SMILE);
02383     tolua_constant(tolua_S,"MOUTH_SCOWL",fawkes::FacialExpressionInterface::MOUTH_SCOWL);
02384     #ifdef __cplusplus
02385     tolua_cclass(tolua_S,"MoveBrowsMessage","fawkes::FacialExpressionInterface::MoveBrowsMessage","Message",tolua_collect_fawkes__FacialExpressionInterface__MoveBrowsMessage);
02386     #else
02387     tolua_cclass(tolua_S,"MoveBrowsMessage","fawkes::FacialExpressionInterface::MoveBrowsMessage","Message",NULL);
02388     #endif
02389     tolua_beginmodule(tolua_S,"MoveBrowsMessage");
02390      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00);
02391      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00_local);
02392      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new00_local);
02393      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01);
02394      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01_local);
02395      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_new01_local);
02396      tolua_function(tolua_S,"delete",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_delete00);
02397      tolua_function(tolua_S,"brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_brows_action00);
02398      tolua_function(tolua_S,"set_brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_set_brows_action00);
02399      tolua_function(tolua_S,"maxlenof_brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveBrowsMessage_maxlenof_brows_action00);
02400     tolua_endmodule(tolua_S);
02401     #ifdef __cplusplus
02402     tolua_cclass(tolua_S,"MoveEyesMessage","fawkes::FacialExpressionInterface::MoveEyesMessage","Message",tolua_collect_fawkes__FacialExpressionInterface__MoveEyesMessage);
02403     #else
02404     tolua_cclass(tolua_S,"MoveEyesMessage","fawkes::FacialExpressionInterface::MoveEyesMessage","Message",NULL);
02405     #endif
02406     tolua_beginmodule(tolua_S,"MoveEyesMessage");
02407      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00);
02408      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00_local);
02409      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new00_local);
02410      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01);
02411      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01_local);
02412      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_new01_local);
02413      tolua_function(tolua_S,"delete",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_delete00);
02414      tolua_function(tolua_S,"eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_eyes_action00);
02415      tolua_function(tolua_S,"set_eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_set_eyes_action00);
02416      tolua_function(tolua_S,"maxlenof_eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveEyesMessage_maxlenof_eyes_action00);
02417     tolua_endmodule(tolua_S);
02418     #ifdef __cplusplus
02419     tolua_cclass(tolua_S,"MoveJowlMessage","fawkes::FacialExpressionInterface::MoveJowlMessage","Message",tolua_collect_fawkes__FacialExpressionInterface__MoveJowlMessage);
02420     #else
02421     tolua_cclass(tolua_S,"MoveJowlMessage","fawkes::FacialExpressionInterface::MoveJowlMessage","Message",NULL);
02422     #endif
02423     tolua_beginmodule(tolua_S,"MoveJowlMessage");
02424      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00);
02425      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00_local);
02426      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new00_local);
02427      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01);
02428      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01_local);
02429      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_new01_local);
02430      tolua_function(tolua_S,"delete",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_delete00);
02431      tolua_function(tolua_S,"jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_jowl_action00);
02432      tolua_function(tolua_S,"set_jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_set_jowl_action00);
02433      tolua_function(tolua_S,"maxlenof_jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveJowlMessage_maxlenof_jowl_action00);
02434     tolua_endmodule(tolua_S);
02435     #ifdef __cplusplus
02436     tolua_cclass(tolua_S,"MoveMouthMessage","fawkes::FacialExpressionInterface::MoveMouthMessage","Message",tolua_collect_fawkes__FacialExpressionInterface__MoveMouthMessage);
02437     #else
02438     tolua_cclass(tolua_S,"MoveMouthMessage","fawkes::FacialExpressionInterface::MoveMouthMessage","Message",NULL);
02439     #endif
02440     tolua_beginmodule(tolua_S,"MoveMouthMessage");
02441      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00);
02442      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00_local);
02443      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new00_local);
02444      tolua_function(tolua_S,"new",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01);
02445      tolua_function(tolua_S,"new_local",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01_local);
02446      tolua_function(tolua_S,".call",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_new01_local);
02447      tolua_function(tolua_S,"delete",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_delete00);
02448      tolua_function(tolua_S,"mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_mouth_action00);
02449      tolua_function(tolua_S,"set_mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_set_mouth_action00);
02450      tolua_function(tolua_S,"maxlenof_mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_MoveMouthMessage_maxlenof_mouth_action00);
02451     tolua_endmodule(tolua_S);
02452     tolua_function(tolua_S,"brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_brows_action00);
02453     tolua_function(tolua_S,"set_brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_brows_action00);
02454     tolua_function(tolua_S,"maxlenof_brows_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_brows_action00);
02455     tolua_function(tolua_S,"eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_eyes_action00);
02456     tolua_function(tolua_S,"set_eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_eyes_action00);
02457     tolua_function(tolua_S,"maxlenof_eyes_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_eyes_action00);
02458     tolua_function(tolua_S,"jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_jowl_action00);
02459     tolua_function(tolua_S,"set_jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_jowl_action00);
02460     tolua_function(tolua_S,"maxlenof_jowl_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_jowl_action00);
02461     tolua_function(tolua_S,"mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mouth_action00);
02462     tolua_function(tolua_S,"set_mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_mouth_action00);
02463     tolua_function(tolua_S,"maxlenof_mouth_action",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_maxlenof_mouth_action00);
02464     tolua_function(tolua_S,"oftype",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_oftype00);
02465     tolua_function(tolua_S,"datachunk",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datachunk00);
02466     tolua_function(tolua_S,"datasize",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_datasize00);
02467     tolua_function(tolua_S,"type",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_type00);
02468     tolua_function(tolua_S,"id",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_id00);
02469     tolua_function(tolua_S,"uid",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_uid00);
02470     tolua_function(tolua_S,"serial",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_serial00);
02471     tolua_function(tolua_S,"mem_serial",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_mem_serial00);
02472     tolua_function(tolua_S,".eq",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface__eq00);
02473     tolua_function(tolua_S,"hash",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash00);
02474     tolua_function(tolua_S,"hash_size",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_size00);
02475     tolua_function(tolua_S,"hash_printable",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_hash_printable00);
02476     tolua_function(tolua_S,"is_writer",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_is_writer00);
02477     tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_set_from_chunk00);
02478     tolua_function(tolua_S,"create_message",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_create_message00);
02479     tolua_function(tolua_S,"read",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_read00);
02480     tolua_function(tolua_S,"write",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_write00);
02481     tolua_function(tolua_S,"has_writer",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_has_writer00);
02482     tolua_function(tolua_S,"num_readers",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_num_readers00);
02483     tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_enqueue_copy00);
02484     tolua_function(tolua_S,"msgq_remove",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove00);
02485     tolua_function(tolua_S,"msgq_remove",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_remove01);
02486     tolua_function(tolua_S,"msgq_size",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_size00);
02487     tolua_function(tolua_S,"msgq_flush",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_flush00);
02488     tolua_function(tolua_S,"msgq_lock",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_lock00);
02489     tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_try_lock00);
02490     tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_unlock00);
02491     tolua_function(tolua_S,"msgq_pop",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_pop00);
02492     tolua_function(tolua_S,"msgq_first",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_first00);
02493     tolua_function(tolua_S,"msgq_empty",tolua_interfaces_FacialExpressionInterface_fawkes_FacialExpressionInterface_msgq_empty00);
02494    tolua_endmodule(tolua_S);
02495   tolua_endmodule(tolua_S);
02496  tolua_endmodule(tolua_S);
02497  return 1;
02498 }
02499
02500
02501 extern "C" {
02502 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
02503  TOLUA_API int luaopen_interfaces_FacialExpressionInterface (lua_State* tolua_S) {
02504  return tolua_interfaces_FacialExpressionInterface_open(tolua_S);
02505 };
02506 #endif
02507 }
02508
02509