|
VR-Engage
2.2
|
This class manages a collection of ammunition parameter entries that configure the DtVreAmmunitionManager. It extends the base ammunition parameters class to support VREngage-specific ammunition properties and behaviors.
#include <vreAmmunitionParams.h>
Public Member Functions | |
| DtVreAmmunitionParams (const DtString &rwName, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtVreAmmunitionParams (const DtSymbolString &rwName, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtVreAmmunitionParams (const DtVreAmmunitionParams &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtVreAmmunitionParams & | operator= (const DtVreAmmunitionParams &orig) |
| virtual | ~DtVreAmmunitionParams () override |
| virtual void | emptyList (bool clearMemory) override |
| virtual void | copyList (const DtAmmunitionParams &source) override |
| virtual DtAmmunitionParamsEntry * | createAmmunitionTableEntry () const override |
Protected Member Functions | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override |
| makVre::DtVreAmmunitionParams::DtVreAmmunitionParams | ( | const DtString & | rwName, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with reader/writer name.
| rwName | The name of this parameters object |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ammunition parameters object with the specified name.
Referenced by DtVreAmmunitionParams(), and operator=().
| makVre::DtVreAmmunitionParams::DtVreAmmunitionParams | ( | const DtSymbolString & | rwName, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Constructor with reader/writer name as symbol string.
| rwName | The name of this parameters object as a symbol string |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ammunition parameters object with the specified name.
| makVre::DtVreAmmunitionParams::DtVreAmmunitionParams | ( | const DtVreAmmunitionParams & | orig, |
| DtReaderWriterRegistry * | parentRegistry = NULL ) |
Copy constructor.
| orig | The source parameters object to copy from |
| parentRegistry | Parent registry for reader/writer functionality (optional) |
Creates a new ammunition parameters object as a copy of the provided original.
References DtVreAmmunitionParams().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the parameters object.
| DtVreAmmunitionParams & makVre::DtVreAmmunitionParams::operator= | ( | const DtVreAmmunitionParams & | orig | ) |
Assignment operator.
| orig | The source parameters object to copy from |
Assigns the contents of the provided parameters object to this one.
References DtVreAmmunitionParams().
|
overridevirtual |
Empties the ammunition parameter entries list.
| clearMemory | Whether to also clear allocated memory |
Removes all ammunition parameter entries from the list, optionally freeing the associated memory.
|
overridevirtual |
Copies ammunition parameter entries from another list.
| source | The source ammunition parameters to copy from |
Copies all ammunition parameter entries from the provided source parameters.
|
overridevirtual |
Creates a new ammunition parameter entry.
Factory method that creates a new VREngage-specific ammunition parameter entry. This method enables creating the appropriate derived entry type for VREngage.
|
overrideprotectedvirtual |
Processes input data to create ammunition parameter entries.
| args | Input arguments to process |
| searchPaths | Search paths for resolving file references |
| variableBindings | Variable bindings for resolving script variables |
Constructs a DtVreAmmunitionParamsEntry object, reads data from the MTL stream, and adds it to the parameters list.