18#include <vrfutil/rwTemplatedList.h>
20#include <readerWriter/rwReal.h>
45 DtAmmoLoadTime(
const DtString& name, DtReaderWriterRegistry*
const parentRegistry = NULL);
52 DtAmmoLoadTime(
const DtSymbolString& name, DtReaderWriterRegistry*
const parentRegistry = NULL);
149 VREVRFOBJPARAM_DLL int getSize(const makVre::DtAmmoLoadTime& info);
155 VREVRFOBJPARAM_DLL char* encode(const makVre::DtAmmoLoadTime& info, char* buffer);
160 VREVRFOBJPARAM_DLL const char* decode(makVre::DtAmmoLoadTime& info, const char* buffer);
virtual DtAmmoLoadTime * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Creates a clone of this object.
virtual const DtEntityType & ammoType() const
Gets the ammunition name.
DtAmmoLoadTime()
Default constructor.
virtual double loadTime() const
Gets the ammunition loading time.
static const char * theXmlType()
Gets the XML type identifier.
virtual const char * readerWriterType() const override
Gets the reader/writer type identifier.
DtAmmoLoadTime(const DtAmmoLoadTime &orig, DtReaderWriterRegistry *const parentRegistry=NULL)
Copy constructor.
DtAmmoLoadTime(const DtSymbolString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
Constructor with ammunition name as symbol string.
DtAmmoLoadTime & operator=(const DtAmmoLoadTime &orig)
Assignment operator.
virtual const char * xmlType() const override
Gets the XML type identifier for this instance.
Definition ammoLoadTime.h:124
DtRwEntityType myAmmoType
The ammunition type name.
Definition ammoLoadTime.h:130
DtRwReal myLoadTime
The ammunition loading time in seconds.
Definition ammoLoadTime.h:135
virtual void setLoadTime(double time)
Sets the ammunition loading time.
virtual ~DtAmmoLoadTime() override
Virtual destructor.
DtAmmoLoadTime(const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
Constructor with ammunition name.
virtual void setAmmoType(const DtEntityType &name)
Sets the ammunition name.
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
DtRwTemplatedListPtr< DtAmmoLoadTime, true > DtAmmoLoadTimeList
List of ammunition loading time parameters.
Definition ammoLoadTime.h:142
const char DtAmmoLoadTimeType[]
Type identifier string for DtAmmoLoadTime class.
Definition ammoLoadTime.h:25