Lugre::cNetListener_L Class Reference

Inheritance diagram for Lugre::cNetListener_L:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cNetListener_L:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void RegisterMethods (lua_State *L)
 called by Register(), registers object-methods (see cLuaBind constructor for examples)
virtual const char * GetLuaTypeName ()

Static Public Member Functions

static int NetListen (lua_State *L)
 for lua : cNetListener* NetListen (int port);
static int Destroy (lua_State *L)
static int PopAccepted (lua_State *L)


Detailed Description

Definition at line 167 of file lugre_net_L.cpp.


Member Function Documentation

virtual void Lugre::cNetListener_L::RegisterMethods ( lua_State *  L  )  [inline, virtual]

called by Register(), registers object-methods (see cLuaBind constructor for examples)

Reimplemented from Lugre::cLuaBind< _T >.

Definition at line 171 of file lugre_net_L.cpp.

References Destroy(), NetListen(), PopAccepted(), PROFILE, and REGISTER_METHOD.

static int Lugre::cNetListener_L::NetListen ( lua_State *  L  )  [inline, static]

for lua : cNetListener* NetListen (int port);

Definition at line 184 of file lugre_net_L.cpp.

References Lugre::cLuaBind< _T >::CreateUData(), Lugre::cNet::GetSingleton(), Lugre::cNet::Listen(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cNetListener_L::Destroy ( lua_State *  L  )  [inline, static]

Definition at line 191 of file lugre_net_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cNetListener_L::PopAccepted ( lua_State *  L  )  [inline, static]

Definition at line 196 of file lugre_net_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

virtual const char* Lugre::cNetListener_L::GetLuaTypeName (  )  [inline, virtual]

Implements Lugre::cLuaBind< _T >.

Definition at line 201 of file lugre_net_L.cpp.


The documentation for this class was generated from the following file:

Generated on Wed Feb 8 06:00:19 2012 for cpp by  doxygen 1.5.6