21 #include <tbb/spin_mutex.h>
57 virtual DtTime loadAmmoTime()
const;
58 virtual void setLoadAmmoTime(
DtTime loadTime);
63 virtual DtTime unloadAmmoTime()
const;
64 virtual void setUnloadAmmoTime(
DtTime unloadTime);
69 virtual int roundsPerTriggerPull()
const;
70 virtual void setRoundsPerTriggerPull(
int value);
81 virtual const DtString& ammoSelectTableFilename();
94 virtual bool disabledBySuppression()
const;
95 virtual void setDisabledBySuppression(
const bool isDisabled);
100 virtual bool treatSelectedAsTasked()
const;
101 virtual void setTreatSelectedAsTasked(
bool t);
115 virtual DtString requiredTokensString()
const;
116 virtual std::set<DtString> requiredTokens()
const;
117 virtual void setRequiredTokensString(
const DtString& tokens);
122 virtual int gunPriority()
const;
123 virtual void setGunPriority(
const int p);
DtRwString myRequiredTokens
Parameter Name: required-tokens Parameter Description: A list of strings that name the "token resourc...
Definition: ballisticGunControllerDescriptor.h:215
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
tbb::spin_mutex myRequiredTokensMutex
Definition: ballisticGunControllerDescriptor.h:239
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwBoolean myDisabledBySuppression
Parameter Name: disabled-by-suppression Parameter Description: A boolean that indicates if this weapo...
Definition: ballisticGunControllerDescriptor.h:191
DtTargetSelectionCriteria myTargetSelectionCriteria
Parameter Name: targeting-control Parameter Description: List of DtTargetSelectionCriteria objects...
Definition: ballisticGunControllerDescriptor.h:183
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtRwTime myLoadAmmoTime
Parameter Name: load-ammo-time Parameter Description: The time delay from the time an ammo is selecte...
Definition: ballisticGunControllerDescriptor.h:147
Definition: readerWriterRegistry.h:39
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: ballisticGunControllerDescriptor.h:231
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Defines a criteria for choosing targets for a single weapon system. This class stores all the informa...
Definition: targetSelectionCriteria.h:27
DtRwBoolean myTreatSelectedAsTasked
Parameter Name: treat-selected-target-as-tasked Parameter Description: a boolean that indicates that ...
Definition: ballisticGunControllerDescriptor.h:202
DtReaderWriterFile myAmmoSelectTableFile
Parameter Name: ammo-select-table-file Parameter Description: Sets the filename used for the ammo sel...
Definition: ballisticGunControllerDescriptor.h:161
DtRwInt myGunPriority
Parameter Name: gun-priority Parameter Description: A priority among all guns mounted on the same tur...
Definition: ballisticGunControllerDescriptor.h:224
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwTime myUnloadAmmoTime
Parameter Name: unload-ammo-time Parameter Description: The time is takes to remove ammo (of the wron...
Definition: ballisticGunControllerDescriptor.h:155
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtAmmoSelectTable is a readable/writable list of DtAmmoSelectEntrys. It's sorted by the entity type i...
Definition: ammoSelectTable.h:27
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
std::set< DtString > myRequiredTokenSet
The tokens in a set rather than a comma-separated list in one string. This is mutable because it is s...
Definition: ballisticGunControllerDescriptor.h:238
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtAmmoSelectTable myAmmoSelectTable
Parameter Name: ammo-select-table Parameter Description: Table of target types versus lists of priori...
Definition: ballisticGunControllerDescriptor.h:167
DtBallisticGunControllerDescriptor, descriptor for the DtBallisticGunController component.
Definition: ballisticGunControllerDescriptor.h:26
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35
DtRwInt myRoundsPerTriggerPull
Parameter Name: rounds-per-trigger-pull Parameter Description: The number of rounds to fire for each ...
Definition: ballisticGunControllerDescriptor.h:176
Definition: targetingControlTable.h:20