VR-Forces 4.8 Class Documentation
 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 
70 
71  virtual DtTargetSelectionCriteria& targetSelectionCriteria();
72  virtual const DtTargetSelectionCriteria& targetSelectionCriteria() const;
74 
77  virtual const DtTargetingControlTable& targetingControlTable() const;
78  virtual DtTargetingControlTable& targetingControlTable();
80 
83  virtual void postGetSelf();
84 
86  static DtComponentDescriptor * creator();
87 
88 protected:
91 
92 protected:
93 
97 
102 
108 
114 
121 
128 
130 };
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:120
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:42
DtAmmoSelectTable myAmmoSelectTable
Parameter Name: ammo-select-table Parameter Description: Table that provides a list of munitions that...
Definition: weaponControllerDescriptor.h:107
Definition: readerWriterRegistry.h:39
Defines a criteria for choosing targets for a single weapon system.
Definition: targetSelectionCriteria.h:27
File: vlClock.h.
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Text name used when displaying the range ring or we...
Definition: weaponControllerDescriptor.h:113
DtAmmoSelectTable is a readable/writable list of DtAmmoSelectEntrys.
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:101
virtual DtString type() const
Returns the type of component this descriptor describes.
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:127
DtWeaponControllerDescriptor; descriptor for the DtWeaponController component.
Definition: weaponControllerDescriptor.h:25

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)