VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions
DtBindableLuaComponent< T > Class Template Reference
Inheritance diagram for DtBindableLuaComponent< T >:
Inheritance graph
[legend]

Public Member Functions

 DtBindableLuaComponent (const DtVrfObject *entity, const DtString &componentName, const DtString &componentType)
virtual ~DtBindableLuaComponent ()
bool shouldBind (lua_State *L) const
- Public Member Functions inherited from DtBindableLuaComponentInterface
 DtBindableLuaComponentInterface (const DtVrfObject *entity, const DtString &componentName, const DtString &componentType)
 CTOR.
virtual ~DtBindableLuaComponentInterface ()
 DTOR.
virtual void bindLuaFunctions (lua_State *)=0
 Override to bind lua functions.
virtual void bindLuaGlobals (lua_State *)=0
 Override to bind lua globals.
virtual void bind (DtVrfObject *, const DtString &scriptId, lua_State *)
 Starts the binding process.
virtual DtString bindableName (const DtString &) const
 Returns a name suitable for binding. Replaces spaces and - with _.

Additional Inherited Members

- Protected Attributes inherited from DtBindableLuaComponentInterface
const DtVrfObjectmyBoundEntity
lua_State * myBoundForState
DtString myType

Constructor & Destructor Documentation

template<typename T>
DtBindableLuaComponent< T >::DtBindableLuaComponent ( const DtVrfObject entity,
const DtString componentName,
const DtString componentType 
)
inline
template<typename T>
virtual DtBindableLuaComponent< T >::~DtBindableLuaComponent ( )
inlinevirtual

Member Function Documentation

template<typename T>
bool DtBindableLuaComponent< T >::shouldBind ( lua_State *  L) const
inlinevirtual

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)