17#include <vrfobjparam/ammunitionParamsEntry.h>
18#include <vrfUtil/rwTemplatedList.h>
71 DtReaderWriterRegistry* parentRegistry = NULL);
DtRwTemplatedListPtr< DtVreAmmunitionParamsEntry *, true > DtVreAmmunitionParamsEntryList
Templated list type for ammunition parameter entries.
Definition vreAmmunitionParamsEntry.h:34
virtual DtVreAmmunitionParamsEntry * clone(DtReaderWriterRegistry *parent=0) const override
Creates a clone of this entry.
double projectileMass() const
Gets the mass of the projectile.
Definition vreAmmunitionParamsEntry.h:137
virtual void setDragCoefficient(double dragCoefficient)
Sets the drag coefficient of the projectile.
Definition vreAmmunitionParamsEntry.h:130
double loadTime() const
Gets the loading time for this ammunition.
Definition vreAmmunitionParamsEntry.h:151
double crossSection() const
Gets the cross-section of the projectile.
Definition vreAmmunitionParamsEntry.h:109
DtRwReal myDragCoefficient
The drag coefficient of the projectile.
Definition vreAmmunitionParamsEntry.h:171
DtRwReal myProjectileMass
The mass of the projectile in kilograms.
Definition vreAmmunitionParamsEntry.h:176
virtual void setCrossSection(double crossSection)
Sets the cross-section of the projectile.
Definition vreAmmunitionParamsEntry.h:116
bool operator!=(const DtVreAmmunitionParamsEntry &rhs)
Inequality operator.
Definition vreAmmunitionParamsEntry.h:99
virtual void setLoadTime(double loadTime)
Sets the loading time for this ammunition.
Definition vreAmmunitionParamsEntry.h:158
double dragCoefficient() const
Gets the drag coefficient of the projectile.
Definition vreAmmunitionParamsEntry.h:123
DtRwReal myLoadTime
The time required to load this ammunition in seconds.
Definition vreAmmunitionParamsEntry.h:181
DtVreAmmunitionParamsEntry(const DtString &name, const DtVreAmmunitionParamsEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Copy constructor with name.
virtual void setProjectileMass(double projectileMass)
Sets the mass of the projectile.
Definition vreAmmunitionParamsEntry.h:144
virtual ~DtVreAmmunitionParamsEntry() override
Virtual destructor.
DtVreAmmunitionParamsEntry(const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Constructor with entry name as symbol string.
DtVreAmmunitionParamsEntry(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Constructor with entry name.
DtVreAmmunitionParamsEntry & operator=(const DtVreAmmunitionParamsEntry &orig)
Assignment operator.
DtRwReal myCrossSection
The cross-section (diameter) of the projectile.
Definition vreAmmunitionParamsEntry.h:166
bool operator==(const DtVreAmmunitionParamsEntry &other) const
Equality operator.
DtVreAmmunitionParamsEntry(const DtSymbolString &name, const DtVreAmmunitionParamsEntry &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Copy constructor with name as symbol string.
Export macros for the VREngage Object Parameter library.
#define VREVRFOBJPARAM_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Include export definitions for this library.
Definition glsVreMessageUtil.h:49