Lugre::cThread_NetRequest_L Class Reference

Inheritance diagram for Lugre::cThread_NetRequest_L:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cThread_NetRequest_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 CreateThread_NetRequest (lua_State *L)
static int Destroy (lua_State *L)
 Destroy().
static int IsFinished (lua_State *L)
 bool IsFinished ()
static int HasError (lua_State *L)
 bool HasError ()


Detailed Description

Definition at line 16 of file lugre_thread_L.cpp.


Member Function Documentation

virtual void Lugre::cThread_NetRequest_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 20 of file lugre_thread_L.cpp.

References CreateThread_NetRequest(), Destroy(), HasError(), IsFinished(), PROFILE, and REGISTER_METHOD.

static int Lugre::cThread_NetRequest_L::CreateThread_NetRequest ( lua_State *  L  )  [inline, static]

pSendData is used by the thread, DO NOT USE OR RELEASE IT UNTIL THE THREAD IS FINISHED pAnswerBuffer is used by the thread, DO NOT USE OR RELEASE IT UNTIL THE THREAD IS FINISHED thread_netr CreateThread_NetRequest (sHost,iPort,fifo_SendData=nil,fifo_pAnswerBuffer=nil)

Definition at line 37 of file lugre_thread_L.cpp.

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

Referenced by RegisterMethods().

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

Destroy().

Definition at line 48 of file lugre_thread_L.cpp.

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

Referenced by RegisterMethods().

static int Lugre::cThread_NetRequest_L::IsFinished ( lua_State *  L  )  [inline, static]

bool IsFinished ()

Definition at line 54 of file lugre_thread_L.cpp.

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

Referenced by RegisterMethods().

static int Lugre::cThread_NetRequest_L::HasError ( lua_State *  L  )  [inline, static]

bool HasError ()

Definition at line 60 of file lugre_thread_L.cpp.

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

Referenced by RegisterMethods().

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

Implements Lugre::cLuaBind< _T >.

Definition at line 65 of file lugre_thread_L.cpp.


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

Generated on Tue May 22 06:00:40 2012 for cpp by  doxygen 1.5.6