/*
** Lua binding: ConnectorDefinitions
** Generated automatically by tolua++-1.0.92 on Fri Feb 21 16:22:34 2014.
*/

#ifndef __cplusplus
#include "stdlib.h"
#endif
#include "string.h"

#include "components/lua/tolua++.h"

/* Exported function */
TOLUA_API int  tolua_ConnectorDefinitions_open (lua_State* tolua_S);

#include "bindings/lua/TypeResolving.h"

/* function to release collected object via destructor */
#ifdef __cplusplus

static int tolua_collect_Ember__Lua__Connector (lua_State* tolua_S)
{
 Ember::Lua::Connector* self = (Ember::Lua::Connector*) tolua_tousertype(tolua_S,1,0);
	Mtolua_delete(self);
	return 0;
}
#endif


/* function to register type */
static void tolua_reg_types (lua_State* tolua_S)
{
 tolua_usertype(tolua_S,"sigc::signal<void,const std::string&,Ember::OgreView::EmberEntity*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Terrain::TerrainPage&>");
 tolua_usertype(tolua_S,"sigc::signal<void,const std::set<std::string>&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::BaseConnection::Status>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Terrain::TerrainEditorOverlay&>");
 tolua_usertype(tolua_S,"sigc::signal<bool,const std::string&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::EmberEntity&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Terrain::TerrainEditAction*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::GUIManager&>");
 tolua_usertype(tolua_S,"sigc::signal<void,float>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Terrain::BasePointUserObject*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::Avatar*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Gui::EntityIcon*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::EmberEntityFactory&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ogre::LodConfig*>");
 tolua_usertype(tolua_S,"Ember::Lua::Connector");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::Task*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Terrain::TerrainManager&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::Input::InputMode>");
 tolua_usertype(tolua_S,"sigc::signal<void,int>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Ember::MouseMotion&,Ember::Input::InputMode>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Ember::OgreView::MousePickerArgs&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::EmberEntity&,Ember::OgreView::Authoring::EntityMover&>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Ember::OgreView::Gui::HelpMessage&>");
 tolua_usertype(tolua_S,"sigc::signal<void,const std::vector<Ember::OgreView::EntityPickResult>&,const Ember::OgreView::MousePickerArgs&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::Account*>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Eris::ServerInfo&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::Gui::ActionBarIcon*>");
 tolua_usertype(tolua_S,"sigc::signal<void,const std::string&,Eris::TypeInfo&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::MotionManager&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::World&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::View*>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Ember::OgreView::EntityPickResult&,const Ember::OgreView::MousePickerArgs&>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::Input::MouseButton,Ember::Input::InputMode>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::MovementControllerMode::Mode>");
 tolua_usertype(tolua_S,"sigc::signal<void,const std::string&>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Atlas::Objects::Root&>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Ember::Domain::EntityTalk&,Ember::OgreView::EmberEntity*>");
 tolua_usertype(tolua_S,"sigc::signal<void,const std::string&,const std::string&>");
 tolua_usertype(tolua_S,"sigc::signal<void,long>");
 tolua_usertype(tolua_S,"sigc::signal<void,const Atlas::Message::Element&>");
 tolua_usertype(tolua_S,"sigc::signal<void>");
 tolua_usertype(tolua_S,"sigc::signal<void,Eris::Connection*>");
 tolua_usertype(tolua_S,"sigc::signal<void,Ember::OgreView::EmberEntity*>");
 tolua_usertype(tolua_S,"sigc::signal<bool,const std::string&,const std::string&>");
}

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ogre::LodConfig> > */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector00
static int tolua_ConnectorDefinitions_createConnector00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ogre::LodConfig*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
#endif
 {
  sigc::signal<void,Ogre::LodConfig*>* tolua_var_1 = ((sigc::signal<void,Ogre::LodConfig*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ogre::LodConfig> >(*tolua_var_1);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'createConnector'.",&tolua_err);
 return 0;
#endif
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector01
static int tolua_ConnectorDefinitions_createConnector01(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void>* tolua_var_2 = ((sigc::signal<void>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector(*tolua_var_2);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector00(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector02
static int tolua_ConnectorDefinitions_createConnector02(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::string&,Ember::OgreView::EmberEntity*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::string&,Ember::OgreView::EmberEntity*>* tolua_var_3 = ((sigc::signal<void,const std::string&,Ember::OgreView::EmberEntity*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>>(*tolua_var_3);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector01(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Connection>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector03
static int tolua_ConnectorDefinitions_createConnector03(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::Connection*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::Connection*>* tolua_var_4 = ((sigc::signal<void,Eris::Connection*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Connection>>(*tolua_var_4);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector02(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Eris::ServerInfo>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector04
static int tolua_ConnectorDefinitions_createConnector04(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Eris::ServerInfo&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Eris::ServerInfo&>* tolua_var_5 = ((sigc::signal<void,const Eris::ServerInfo&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Eris::ServerInfo>>(*tolua_var_5);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector03(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<float>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector05
static int tolua_ConnectorDefinitions_createConnector05(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,float>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,float>* tolua_var_6 = ((sigc::signal<void,float>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<float>>(*tolua_var_6);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector04(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<int>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector06
static int tolua_ConnectorDefinitions_createConnector06(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,int>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,int>* tolua_var_7 = ((sigc::signal<void,int>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<int>>(*tolua_var_7);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector05(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<long>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector07
static int tolua_ConnectorDefinitions_createConnector07(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,long>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,long>* tolua_var_8 = ((sigc::signal<void,long>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<long>>(*tolua_var_8);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector06(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::EntityPickResult>, Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector08
static int tolua_ConnectorDefinitions_createConnector08(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Ember::OgreView::EntityPickResult&,const Ember::OgreView::MousePickerArgs&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Ember::OgreView::EntityPickResult&,const Ember::OgreView::MousePickerArgs&>* tolua_var_9 = ((sigc::signal<void,const Ember::OgreView::EntityPickResult&,const Ember::OgreView::MousePickerArgs&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::EntityPickResult>, Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>>(*tolua_var_9);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector07(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const std::vector<Ember::OgreView::EntityPickResult>>, Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector09
static int tolua_ConnectorDefinitions_createConnector09(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::vector<Ember::OgreView::EntityPickResult>&,const Ember::OgreView::MousePickerArgs&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::vector<Ember::OgreView::EntityPickResult>&,const Ember::OgreView::MousePickerArgs&>* tolua_var_10 = ((sigc::signal<void,const std::vector<Ember::OgreView::EntityPickResult>&,const Ember::OgreView::MousePickerArgs&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const std::vector<Ember::OgreView::EntityPickResult>>, Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>>(*tolua_var_10);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector08(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector10
static int tolua_ConnectorDefinitions_createConnector10(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Ember::OgreView::MousePickerArgs&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Ember::OgreView::MousePickerArgs&>* tolua_var_11 = ((sigc::signal<void,const Ember::OgreView::MousePickerArgs&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::MousePickerArgs>>(*tolua_var_11);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector09(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::Input::MouseButton>, Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector11
static int tolua_ConnectorDefinitions_createConnector11(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::Input::MouseButton,Ember::Input::InputMode>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::Input::MouseButton,Ember::Input::InputMode>* tolua_var_12 = ((sigc::signal<void,Ember::Input::MouseButton,Ember::Input::InputMode>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::Input::MouseButton>, Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>>(*tolua_var_12);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector10(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector12
static int tolua_ConnectorDefinitions_createConnector12(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::Input::InputMode>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::Input::InputMode>* tolua_var_13 = ((sigc::signal<void,Ember::Input::InputMode>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>>(*tolua_var_13);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector11(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntityFactory>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector13
static int tolua_ConnectorDefinitions_createConnector13(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::EmberEntityFactory&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::EmberEntityFactory&>* tolua_var_14 = ((sigc::signal<void,Ember::OgreView::EmberEntityFactory&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntityFactory>>(*tolua_var_14);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector12(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector14
static int tolua_ConnectorDefinitions_createConnector14(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::EmberEntity*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::EmberEntity*>* tolua_var_15 = ((sigc::signal<void,Ember::OgreView::EmberEntity*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>>(*tolua_var_15);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector13(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntity>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector15
static int tolua_ConnectorDefinitions_createConnector15(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::EmberEntity&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::EmberEntity&>* tolua_var_16 = ((sigc::signal<void,Ember::OgreView::EmberEntity&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntity>>(*tolua_var_16);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector14(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntity> , Ember::Lua::RefValueAdapter<Ember::OgreView::Authoring::EntityMover>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector16
static int tolua_ConnectorDefinitions_createConnector16(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::EmberEntity&,Ember::OgreView::Authoring::EntityMover&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::EmberEntity&,Ember::OgreView::Authoring::EntityMover&>* tolua_var_17 = ((sigc::signal<void,Ember::OgreView::EmberEntity&,Ember::OgreView::Authoring::EntityMover&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::EmberEntity> , Ember::Lua::RefValueAdapter<Ember::OgreView::Authoring::EntityMover>>(*tolua_var_17);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector15(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector17
static int tolua_ConnectorDefinitions_createConnector17(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::string&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::string&>* tolua_var_18 = ((sigc::signal<void,const std::string&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter>(*tolua_var_18);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector16(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector18
static int tolua_ConnectorDefinitions_createConnector18(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<bool,const std::string&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<bool,const std::string&>* tolua_var_19 = ((sigc::signal<bool,const std::string&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter>(*tolua_var_19);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector17(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::StringValueAdapter> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector19
static int tolua_ConnectorDefinitions_createConnector19(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<bool,const std::string&,const std::string&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<bool,const std::string&,const std::string&>* tolua_var_20 = ((sigc::signal<bool,const std::string&,const std::string&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::StringValueAdapter>(*tolua_var_20);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector18(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::StringValueAdapter> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector20
static int tolua_ConnectorDefinitions_createConnector20(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::string&,const std::string&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::string&,const std::string&>* tolua_var_21 = ((sigc::signal<void,const std::string&,const std::string&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::StringValueAdapter>(*tolua_var_21);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector19(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Terrain::BasePointUserObject>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector21
static int tolua_ConnectorDefinitions_createConnector21(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Terrain::BasePointUserObject*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Terrain::BasePointUserObject*>* tolua_var_22 = ((sigc::signal<void,Ember::OgreView::Terrain::BasePointUserObject*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Terrain::BasePointUserObject>>(*tolua_var_22);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector20(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Terrain::TerrainEditAction>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector22
static int tolua_ConnectorDefinitions_createConnector22(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Terrain::TerrainEditAction*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Terrain::TerrainEditAction*>* tolua_var_23 = ((sigc::signal<void,Ember::OgreView::Terrain::TerrainEditAction*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Terrain::TerrainEditAction>>(*tolua_var_23);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector21(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainEditorOverlay>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector23
static int tolua_ConnectorDefinitions_createConnector23(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Terrain::TerrainEditorOverlay&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Terrain::TerrainEditorOverlay&>* tolua_var_24 = ((sigc::signal<void,Ember::OgreView::Terrain::TerrainEditorOverlay&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainEditorOverlay>>(*tolua_var_24);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector22(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainManager>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector24
static int tolua_ConnectorDefinitions_createConnector24(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Terrain::TerrainManager&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Terrain::TerrainManager&>* tolua_var_25 = ((sigc::signal<void,Ember::OgreView::Terrain::TerrainManager&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainManager>>(*tolua_var_25);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector23(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Task>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector25
static int tolua_ConnectorDefinitions_createConnector25(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::Task*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::Task*>* tolua_var_26 = ((sigc::signal<void,Eris::Task*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Task>>(*tolua_var_26);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector24(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const std::set<std::string>> > */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector26
static int tolua_ConnectorDefinitions_createConnector26(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::set<std::string>&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::set<std::string>&>* tolua_var_27 = ((sigc::signal<void,const std::set<std::string>&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const std::set<std::string>> >(*tolua_var_27);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector25(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Gui::EntityIcon>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector27
static int tolua_ConnectorDefinitions_createConnector27(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Gui::EntityIcon*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Gui::EntityIcon*>* tolua_var_28 = ((sigc::signal<void,Ember::OgreView::Gui::EntityIcon*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Gui::EntityIcon>>(*tolua_var_28);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector26(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Gui::ActionBarIcon>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector28
static int tolua_ConnectorDefinitions_createConnector28(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Gui::ActionBarIcon*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Gui::ActionBarIcon*>* tolua_var_29 = ((sigc::signal<void,Ember::OgreView::Gui::ActionBarIcon*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Ember::OgreView::Gui::ActionBarIcon>>(*tolua_var_29);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector27(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Atlas::Message::Element>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector29
static int tolua_ConnectorDefinitions_createConnector29(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Atlas::Message::Element&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Atlas::Message::Element&>* tolua_var_30 = ((sigc::signal<void,const Atlas::Message::Element&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Atlas::Message::Element>>(*tolua_var_30);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector28(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::OgreView::MovementControllerMode::Mode>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector30
static int tolua_ConnectorDefinitions_createConnector30(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::MovementControllerMode::Mode>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::MovementControllerMode::Mode>* tolua_var_31 = ((sigc::signal<void,Ember::OgreView::MovementControllerMode::Mode>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Ember::OgreView::MovementControllerMode::Mode>>(*tolua_var_31);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector29(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainPage>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector31
static int tolua_ConnectorDefinitions_createConnector31(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::Terrain::TerrainPage&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::Terrain::TerrainPage&>* tolua_var_32 = ((sigc::signal<void,Ember::OgreView::Terrain::TerrainPage&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::Terrain::TerrainPage>>(*tolua_var_32);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector30(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Atlas::Objects::Root>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector32
static int tolua_ConnectorDefinitions_createConnector32(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Atlas::Objects::Root&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Atlas::Objects::Root&>* tolua_var_33 = ((sigc::signal<void,const Atlas::Objects::Root&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Atlas::Objects::Root>>(*tolua_var_33);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector31(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Avatar>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector33
static int tolua_ConnectorDefinitions_createConnector33(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::Avatar*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::Avatar*>* tolua_var_34 = ((sigc::signal<void,Eris::Avatar*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Avatar>>(*tolua_var_34);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector32(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::View>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector34
static int tolua_ConnectorDefinitions_createConnector34(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::View*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::View*>* tolua_var_35 = ((sigc::signal<void,Eris::View*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::View>>(*tolua_var_35);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector33(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::World>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector35
static int tolua_ConnectorDefinitions_createConnector35(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::World&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::World&>* tolua_var_36 = ((sigc::signal<void,Ember::OgreView::World&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::World>>(*tolua_var_36);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector34(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::Gui::HelpMessage>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector36
static int tolua_ConnectorDefinitions_createConnector36(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Ember::OgreView::Gui::HelpMessage&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Ember::OgreView::Gui::HelpMessage&>* tolua_var_37 = ((sigc::signal<void,const Ember::OgreView::Gui::HelpMessage&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::OgreView::Gui::HelpMessage>>(*tolua_var_37);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector35(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::MotionManager>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector37
static int tolua_ConnectorDefinitions_createConnector37(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::MotionManager&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::MotionManager&>* tolua_var_38 = ((sigc::signal<void,Ember::OgreView::MotionManager&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::MotionManager>>(*tolua_var_38);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector36(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::GUIManager>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector38
static int tolua_ConnectorDefinitions_createConnector38(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Ember::OgreView::GUIManager&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Ember::OgreView::GUIManager&>* tolua_var_39 = ((sigc::signal<void,Ember::OgreView::GUIManager&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<Ember::OgreView::GUIManager>>(*tolua_var_39);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector37(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::RefValueAdapter<Eris::TypeInfo>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector39
static int tolua_ConnectorDefinitions_createConnector39(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const std::string&,Eris::TypeInfo&>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const std::string&,Eris::TypeInfo&>* tolua_var_40 = ((sigc::signal<void,const std::string&,Eris::TypeInfo&>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::StringValueAdapter, Ember::Lua::RefValueAdapter<Eris::TypeInfo>>(*tolua_var_40);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector38(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Eris::BaseConnection::Status>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector40
static int tolua_ConnectorDefinitions_createConnector40(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::BaseConnection::Status>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::BaseConnection::Status>* tolua_var_41 = ((sigc::signal<void,Eris::BaseConnection::Status>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::NumberValueAdapter<Eris::BaseConnection::Status>>(*tolua_var_41);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector39(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::Domain::EntityTalk>, Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector41
static int tolua_ConnectorDefinitions_createConnector41(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Ember::Domain::EntityTalk&,Ember::OgreView::EmberEntity*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Ember::Domain::EntityTalk&,Ember::OgreView::EmberEntity*>* tolua_var_42 = ((sigc::signal<void,const Ember::Domain::EntityTalk&,Ember::OgreView::EmberEntity*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::Domain::EntityTalk>, Ember::Lua::PtrValueAdapter<Ember::OgreView::EmberEntity>>(*tolua_var_42);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector40(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::MouseMotion>, Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector42
static int tolua_ConnectorDefinitions_createConnector42(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,const Ember::MouseMotion&,Ember::Input::InputMode>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,const Ember::MouseMotion&,Ember::Input::InputMode>* tolua_var_43 = ((sigc::signal<void,const Ember::MouseMotion&,Ember::Input::InputMode>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::RefValueAdapter<const Ember::MouseMotion>, Ember::Lua::NumberValueAdapter<Ember::Input::InputMode>>(*tolua_var_43);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector41(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* function: Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Account>> */
#ifndef TOLUA_DISABLE_tolua_ConnectorDefinitions_createConnector43
static int tolua_ConnectorDefinitions_createConnector43(lua_State* tolua_S)
{
 tolua_Error tolua_err;
 if (
     (tolua_isvaluenil(tolua_S,1,&tolua_err) || !tolua_isusertype(tolua_S,1,"sigc::signal<void,Eris::Account*>",0,&tolua_err)) ||
     !tolua_isnoobj(tolua_S,2,&tolua_err)
 )
  goto tolua_lerror;
 else
 {
  sigc::signal<void,Eris::Account*>* tolua_var_44 = ((sigc::signal<void,Eris::Account*>*)  tolua_tousertype(tolua_S,1,0));
  {
   Ember::Lua::Connector tolua_ret = (Ember::Lua::Connector)  Ember::Lua::Connector::createConnector<Ember::Lua::PtrValueAdapter<Eris::Account>>(*tolua_var_44);
   {
#ifdef __cplusplus
    void* tolua_obj = Mtolua_new((Ember::Lua::Connector)(tolua_ret));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#else
    void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Ember::Lua::Connector));
     tolua_pushusertype(tolua_S,tolua_obj,"Ember::Lua::Connector");
    tolua_register_gc(tolua_S,lua_gettop(tolua_S));
#endif
   }
  }
 }
 return 1;
tolua_lerror:
 return tolua_ConnectorDefinitions_createConnector42(tolua_S);
}
#endif //#ifndef TOLUA_DISABLE

/* Open function */
TOLUA_API int tolua_ConnectorDefinitions_open (lua_State* tolua_S)
{
 tolua_open(tolua_S);
 tolua_reg_types(tolua_S);
 tolua_module(tolua_S,NULL,0);
 tolua_beginmodule(tolua_S,NULL);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector00);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector01);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector02);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector03);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector04);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector05);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector06);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector07);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector08);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector09);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector10);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector11);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector12);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector13);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector14);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector15);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector16);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector17);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector18);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector19);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector20);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector21);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector22);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector23);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector24);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector25);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector26);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector27);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector28);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector29);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector30);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector31);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector32);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector33);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector34);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector35);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector36);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector37);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector38);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector39);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector40);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector41);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector42);
  tolua_function(tolua_S,"createConnector",tolua_ConnectorDefinitions_createConnector43);
 tolua_endmodule(tolua_S);
 return 1;
}


#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
 TOLUA_API int luaopen_ConnectorDefinitions (lua_State* tolua_S) {
 return tolua_ConnectorDefinitions_open(tolua_S);
};
#endif

