|
VR-Engage
2.2
|
This class extends the base simulation model set loader with the ability to load and save VREngage-specific extensions to the ammunition table in a Simulation Model Set (SMS). It handles the creation of VREngage-specific ammunition parameters and ensures proper serialization of extended data.
#include <vreSimulationModelSetLoader.h>
Public Member Functions | |
| DtVreSimulationModelSetLoader (makVrv::DtDe &de) | |
| virtual | ~DtVreSimulationModelSetLoader () override |
| virtual bool | saveAmmunitionTable () override |
Protected Member Functions | |
| virtual DtAmmunitionParams * | createAmmunitionParameters () const override |
Private Member Functions | |
| DtVreSimulationModelSetLoader (const DtVreSimulationModelSetLoader &other) | |
| DtVreSimulationModelSetLoader & | operator= (const DtVreSimulationModelSetLoader &other) |
| makVre::DtVreSimulationModelSetLoader::DtVreSimulationModelSetLoader | ( | makVrv::DtDe & | de | ) |
Constructor.
| de | The document environment providing access to application resources |
Creates a new simulation model set loader for VREngage with the specified document environment.
References de().
Referenced by DtVreSimulationModelSetLoader(), and operator=().
|
overridevirtual |
Destructor.
Cleans up resources used by the simulation model set loader.
|
private |
Copy constructor (not implemented)
| other | The source object |
Copy constructor is private and not implemented to prevent copying.
References DtVreSimulationModelSetLoader().
|
overridevirtual |
Saves the ammunition table with VREngage-specific extensions.
Overrides the base implementation to use VREngage-specific ammunition parameters. This corrects the issue with the standard VR-Forces implementation using DtAmmunitionParams on the stack instead of the derived DtVreAmmunitionParams, which has VREngage-specific extensions. This override replaces the stack variable with a call to createAmmunitionParameters(), which creates the correct derived type.
|
overrideprotectedvirtual |
Creates VREngage-specific ammunition parameters.
Overrides the base implementation to create the derived DtVreAmmunitionParameters, which is the extended type used by VREngage. This enables support for VREngage-specific extensions to ammunition parameters.
|
private |
Assignment operator (not implemented)
| other | The source object |
Assignment operator is private and not implemented to prevent assignment.
References DtVreSimulationModelSetLoader().