VR-Forces 5.0.2 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"
19 
26 {
27 public:
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
39 
42 
45  virtual DtString type() const;
46 
47  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
48  = 0) const;
49 
50 
53  virtual const DtAmmoSelectTable& ammoSelectTable() const;
54  virtual void setAmmoSelectTable(const DtAmmoSelectTable& table);
56 
59  virtual void setAmmoSelectTableFilename(const DtString& filename);
60  virtual const DtString& ammoSelectTableFilename();
62 
65  virtual const DtString& rangeName() const;
66  virtual void setRangeName(const DtString& rangeName);
68 
71  virtual int rangeId() const;
72  virtual void setRangeId(int rangeId);
73  virtual bool rangeIdIsSpecified() const;
75 
77 
78  virtual DtTargetSelectionCriteria& targetSelectionCriteria();
79  virtual const DtTargetSelectionCriteria& targetSelectionCriteria() const;
81 
84  virtual const DtTargetingControlTable& targetingControlTable() const;
85  virtual DtTargetingControlTable& targetingControlTable();
87 
90  virtual void postGetSelf();
91 
93  static DtComponentDescriptor * creator();
94 
95 protected:
98 
99 protected:
100 
104 
109 
115 
121 
127 
134 
141 
143 };
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:133
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:114
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: weaponControllerDescriptor.h:126
Definition: readerWriterRegistry.h:39
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:120
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:108
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35
Definition: targetingControlTable.h:20
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: weaponControllerDescriptor.h:140
DtWeaponControllerDescriptor; descriptor for the DtWeaponController component.
Definition: weaponControllerDescriptor.h:25

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)