VR-Engage  2.3
Loading...
Searching...
No Matches
vreSimulationModelSetLoader.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreSimulationModelSetLoader.h
7//! \ingroup vreSimulationObjectEditor
8//! \brief Extended simulation model set loader for VREngage
9//!
10//! This file defines the DtVreSimulationModelSetLoader class, which extends
11//! the base simulation model set loader with VREngage-specific functionality.
12//! It provides enhanced capabilities for loading and saving ammunition tables
13//! with VREngage-specific extensions.
14
15#pragma once
16
18
19#include <simulationObjectEditorImpl/simulationModelSetLoader.h>
20
21namespace makVre
22{
23//! \brief Extended simulation model set loader for VREngage
24//!
25//! This class extends the base simulation model set loader with the ability
26//! to load and save VREngage-specific extensions to the ammunition table in
27//! a Simulation Model Set (SMS). It handles the creation of VREngage-specific
28//! ammunition parameters and ensures proper serialization of extended data.
29class VRESIMULATIONOBJECTEDITOR_DLL DtVreSimulationModelSetLoader : public DtSimulationModelSetLoader
30{
31public:
32 //! \brief Constructor
33 //! \param de The document environment providing access to application resources
34 //!
35 //! Creates a new simulation model set loader for VREngage with the specified
36 //! document environment.
38
39 //! \brief Destructor
40 //!
41 //! Cleans up resources used by the simulation model set loader.
43
44protected:
45 //! \brief Creates VREngage-specific ammunition parameters
46 //! \return Pointer to the created ammunition parameters object
47 //!
48 //! Overrides the base implementation to create the derived DtVreAmmunitionParameters,
49 //! which is the extended type used by VREngage. This enables support for
50 //! VREngage-specific extensions to ammunition parameters.
51 virtual DtAmmunitionParams* createAmmunitionParameters() const override;
52
53private:
54 //! \brief Copy constructor (not implemented)
55 //! \param other The source object
56 //!
57 //! Copy constructor is private and not implemented to prevent copying.
59
60 //! \brief Assignment operator (not implemented)
61 //! \param other The source object
62 //! \return Reference to this object
63 //!
64 //! Assignment operator is private and not implemented to prevent assignment.
66};
67} // namespace makVre
virtual ~DtVreSimulationModelSetLoader() override
Destructor.
DtVreSimulationModelSetLoader & operator=(const DtVreSimulationModelSetLoader &other)
Assignment operator (not implemented)
DtVreSimulationModelSetLoader(const DtVreSimulationModelSetLoader &other)
Copy constructor (not implemented)
DtVreSimulationModelSetLoader(makVrv::DtDe &de)
Constructor.
virtual DtAmmunitionParams * createAmmunitionParameters() const override
Creates VREngage-specific ammunition parameters.
Export macros for the VREngage Simulation Object Editor library.
#define VRESIMULATIONOBJECTEDITOR_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
!
Definition glsVreMessageUtil.h:50
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.