VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
weaponControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
17 #include "vrfutil/simClock.h"
20 
27 {
28 public:
31  DtReaderWriterRegistry * parentRegistry = 0);
32 
35  orig, DtReaderWriterRegistry * parentRegistry = 0);
36 
40 
43 
46  virtual DtString type() const;
47 
48  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
49  = 0) const;
50 
51 
54  virtual const DtAmmoSelectTable& ammoSelectTable() const;
55  virtual void setAmmoSelectTable(const DtAmmoSelectTable& table);
57 
60  virtual void setAmmoSelectTableFilename(const DtString& filename);
61  virtual const DtString& ammoSelectTableFilename();
63 
66  virtual const DtString& rangeName() const;
67  virtual void setRangeName(const DtString& rangeName);
69 
72  virtual int rangeId() const;
73  virtual void setRangeId(int rangeId);
74  virtual bool rangeIdIsSpecified() const;
76 
78 
79  virtual DtTargetSelectionCriteria& targetSelectionCriteria();
80  virtual const DtTargetSelectionCriteria& targetSelectionCriteria() const;
82 
85  virtual const DtTargetingControlTable& targetingControlTable() const;
86  virtual DtTargetingControlTable& targetingControlTable();
88 
91  virtual const DtRwProperties& weaponProperties() const;
92  virtual DtRwProperties& weaponProperties();
94 
97  virtual void postGetSelf();
98 
100  static DtComponentDescriptor * creator();
101 
102 protected:
105 
106 protected:
107 
111 
116 
122 
128 
134 
141 
148 
154 };
DtBaseWeaponControllerDescriptor & operator=(const DtBaseWeaponControllerDescriptor &orig)
assignment
static DtComponentDescriptor * creator()
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtTargetSelectionCriteria myTargetSelectionCriteria
Parameter Name: targeting-control Parameter Description: List of DtTargetSelectionCriteria objects...
Definition: weaponControllerDescriptor.h:140
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
DtAmmoSelectTable myAmmoSelectTable
Parameter Name: ammo-select-table Parameter Description: Table that provides a list of munitions that...
Definition: weaponControllerDescriptor.h:121
DtRwProperties myWeaponProperties
Parameter Name: weapon-properties Parameter Description: A flexible list of RW properties that can be...
Definition: weaponControllerDescriptor.h:152
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: weaponControllerDescriptor.h:133
Definition: readerWriterRegistry.h:39
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Defines a criteria for choosing targets for a single weapon system. This class stores all the informa...
Definition: targetSelectionCriteria.h:27
File: vlClock.h.
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated. Text name used when displaying the rang...
Definition: weaponControllerDescriptor.h:127
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=nullptr) const override
DtAmmoSelectTable is a readable/writable list of DtAmmoSelectEntrys. It's sorted by the entity type i...
Definition: ammoSelectTable.h:27
DtBaseWeaponControllerDescriptor; descriptor for the DtBaseWeaponController component.
Definition: baseWeaponControllerDescriptor.h:30
DtReaderWriterFile myAmmoSelectTableFile
Parameter Name: ammo-select-table-file Parameter Description: Filename used for the ammo select table...
Definition: weaponControllerDescriptor.h:115
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:122
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35
Definition: targetingControlTable.h:20
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: weaponControllerDescriptor.h:147
DtWeaponControllerDescriptor; descriptor for the DtWeaponController component.
Definition: weaponControllerDescriptor.h:26

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)