VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
vrfLua::DtScriptPSR Class Reference

This stores any state associated with scripting. More...

Inheritance diagram for vrfLua::DtScriptPSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtScriptPSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtScriptPSR (const DtScriptPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
virtual ~DtScriptPSR ()
 destructor
DtScriptPSR & operator= (const DtScriptPSR &orig)
 assignment operator
virtual
DtVrfProcessStateRepository * 
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
 returns a newly created copy of this object
virtual DtString type () const
 Returns the string type of this process state repository.
virtual bool luaCreated () const
 Variable that determines whether something has been created already (Called onCreate)
virtual void setLuaCreated (bool state)
virtual void getSelf (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
virtual DtString luaScriptName () const
 The name of the entities current LUA script.
virtual void setLuaScriptName (const DtString &val)
 The name of the entities current LUA script.
virtual DtString luaScriptState () const
 The LUA Environment for the script that is running for this entity.
virtual void setLuaScriptState (const DtString &state)
 The LUA Environment for the script that is running for this entity.

Static Public Member Functions

static
DtVrfProcessStateRepository * 
creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Returns a newly created instance of this class.

Protected Attributes

DtRwString myLuaScriptName
DtRwString myLuaScriptState
DtRwBoolean myLuaCreated

Detailed Description

This stores any state associated with scripting.


Constructor & Destructor Documentation

vrfLua::DtScriptPSR::DtScriptPSR ( DtVrfObject *  vrfObject,
const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
)

constructor

vrfLua::DtScriptPSR::DtScriptPSR ( const DtScriptPSR &  orig,
const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
)

copy constructor

virtual vrfLua::DtScriptPSR::~DtScriptPSR ( ) [virtual]

destructor


Member Function Documentation

DtScriptPSR& vrfLua::DtScriptPSR::operator= ( const DtScriptPSR &  orig)

assignment operator

virtual DtVrfProcessStateRepository* vrfLua::DtScriptPSR::clone ( const DtString &  rwName = DtString::nullString(),
DtReaderWriterRegistry *  parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString vrfLua::DtScriptPSR::type ( ) const [virtual]

Returns the string type of this process state repository.

Implements DtVrfProcessStateRepository.

virtual DtString vrfLua::DtScriptPSR::luaScriptName ( ) const [virtual]

The name of the entities current LUA script.

virtual void vrfLua::DtScriptPSR::setLuaScriptName ( const DtString &  val) [virtual]

The name of the entities current LUA script.

virtual DtString vrfLua::DtScriptPSR::luaScriptState ( ) const [virtual]

The LUA Environment for the script that is running for this entity.

virtual void vrfLua::DtScriptPSR::setLuaScriptState ( const DtString &  state) [virtual]

The LUA Environment for the script that is running for this entity.

virtual bool vrfLua::DtScriptPSR::luaCreated ( ) const [virtual]

Variable that determines whether something has been created already (Called onCreate)

virtual void vrfLua::DtScriptPSR::setLuaCreated ( bool  state) [virtual]
virtual void vrfLua::DtScriptPSR::getSelf ( DtlObjPtr  args,
const DtFilename &  searchPath,
const DtVariableBindingsList &  variableBindings 
) [virtual]

Reimplemented from DtVrfProcessStateRepository.

static DtVrfProcessStateRepository* vrfLua::DtScriptPSR::creator ( const DtString &  rwName,
DtVrfObject *  vrfObject,
DtReaderWriterRegistry *  parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)