VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtBindableLuaComponentExtension Class Reference

This class will be used to bind Lua functions to allow for control of the swinging part actuator. More...

Inheritance diagram for DtBindableLuaComponentExtension:
Inheritance graph
[legend]

Public Member Functions

 DtBindableLuaComponentExtension (DtBindableLuaComponentInterface *)
 CTOR.
virtual ~DtBindableLuaComponentExtension ()
 DTOR.
- Public Member Functions inherited from DtLuaScriptInterfaceExtension
virtual ~DtLuaScriptInterfaceExtension ()
virtual void cleanup ()
 Called to cleanup any state.

Static Public Member Functions

static
DtLuaScriptInterfaceExtension
create (void *usr)
 Static creator function.

Protected Member Functions

virtual void bindLuaFunctions (DtVrfObject *entity, const DtString &scriptId, lua_State *L)
 Binds method for this class to the lua state.

Protected Attributes

DtBindableLuaComponentInterfacemyExtension

Additional Inherited Members

- Public Types inherited from DtLuaScriptInterfaceExtension
typedef
DtLuaScriptInterfaceExtension *(* 
CreatorFcn )(void *usr)
 Prototype for DtLuaScriptInterfaceExtension creator function.
typedef std::pair
< DtLuaScriptInterfaceExtension::CreatorFcn,
void * > 
CreatorUserPair

Detailed Description

This class will be used to bind Lua functions to allow for control of the swinging part actuator.

Constructor & Destructor Documentation

DtBindableLuaComponentExtension::DtBindableLuaComponentExtension ( DtBindableLuaComponentInterface )

CTOR.

virtual DtBindableLuaComponentExtension::~DtBindableLuaComponentExtension ( )
virtual

DTOR.

Member Function Documentation

static DtLuaScriptInterfaceExtension* DtBindableLuaComponentExtension::create ( void *  usr)
static

Static creator function.

user pointer is the pointer to the DtTranslatablePartActuator that will used to bind the lua functions

virtual void DtBindableLuaComponentExtension::bindLuaFunctions ( DtVrfObject entity,
const DtString scriptId,
lua_State *  L 
)
protectedvirtual

Binds method for this class to the lua state.

This simple method will send an object console message to the entity that implements this task. Calls bind method in DtSwingingPartActuator class

Implements DtLuaScriptInterfaceExtension.

Member Data Documentation

DtBindableLuaComponentInterface* DtBindableLuaComponentExtension::myExtension
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)