VR-Forces 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 () override
 
- 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) override
 

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 ( )
overridevirtual

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 
)
overrideprotectedvirtual

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)