![]() |
VR-Forces 4.0.4 Class Documentation
|
This stores any state associated with scripting. More...

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 |
This stores any state associated with scripting.
| 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
| 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.
DtRwString vrfLua::DtScriptPSR::myLuaScriptName [protected] |
DtRwString vrfLua::DtScriptPSR::myLuaScriptState [protected] |
DtRwBoolean vrfLua::DtScriptPSR::myLuaCreated [protected] |