VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.

Inheritance diagram for DtBindableLuaComponentExtension:
Inheritance graph
[legend]

Public Member Functions

 DtBindableLuaComponentExtension (DtBindableLuaComponentInterface *)
 
virtual ~DtBindableLuaComponentExtension ()
 
- Public Member Functions inherited from DtLuaScriptInterfaceExtension
virtual ~DtLuaScriptInterfaceExtension ()
 
virtual void cleanup ()
 

Static Public Member Functions

static
DtLuaScriptInterfaceExtension
create (void *usr)
 

Protected Member Functions

virtual void bindLuaFunctions (DtLocalObject *entity, const DtString &scriptId, lua_State *L)
 

Protected Attributes

DtBindableLuaComponentInterfacemyExtension
 

Additional Inherited Members

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

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 ( DtLocalObject 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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)