VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
munitionDetonationPowerEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
12 #include <vrfutil/simMunition.h>
15 
20 {
21 public:
24 
27  parentRegistry = NULL);
28 
30  parentRegistry = NULL);
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
41 
43 
44  virtual DtMunitionDetonationPowerEntry* clone(const DtString& name,
45  DtReaderWriterRegistry* parentRegistry = NULL) const;
46 
47  virtual DtMunitionDetonationPowerEntry* clone(const DtSymbolString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL) const;
49 
52  virtual const DtSimMunition& munition() const;
53  virtual void setMunition(const DtSimMunition& m);
55 
58  virtual const DtPowerRangeDeterminantList& detonationPowers() const;
59  virtual void setDetonationPowers(const DtPowerRangeDeterminantList& powers);
61 
64  virtual DtMunitionDispersal& dispersal();
65  virtual const DtMunitionDispersal& dispersal() const;
66  virtual void setDispersal(const DtMunitionDispersal& disp);
68 
70  virtual bool removePower(const DtString&);
71 
73  virtual bool hasPower(const DtString&) const;
74 
76  virtual DtPowerRangeDeterminant* addDetonationPower(const DtPowerRangeDeterminant&);
77 
79  virtual const DtPowerRangeDeterminant* detonationPower(const DtString&) const;
80 
82  bool operator==(const DtMunitionDetonationPowerEntry& rhs) const;
84  {
85  return !(*this == rhs);
86  }
87 
88 protected:
89 
93 
98 
103 
107 
109 };
110 
111 
bool operator==(const DtReaderWriter &) const
Equivalence operator.
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
bool operator!=(const DtMunitionDetonationPowerEntry &rhs) const
Definition: munitionDetonationPowerEntry.h:83
Definition: readerWriter.h:85
DtPowerRangeDeterminantList myDetonationPowerList
Parameter Name: power-list Parameter Description: List of types of detonation powers (e...
Definition: munitionDetonationPowerEntry.h:102
Definition: readerWriterRegistry.h:39
A readable/writable object that indicates the power of a detonation of a given type, potentially at different ranges from the point of impact.
Definition: powerRangeDeterminant.h:17
This file contains the class declaration for the.
DtMunitionDispersal specifies how a cluster munition or burst of fire is dispersed around the target...
Definition: munitionDispersal.h:23
A readable/writable list of detonation powers listed by type.
Definition: powerRangeDeterminantList.h:18
DtMunitionDetonationPowerEntry.
Definition: munitionDetonationPowerEntry.h:19
DtSimMunition myMunition
Parameter Name: munition Parameter Description: The type of munition that impacted that detonated...
Definition: munitionDetonationPowerEntry.h:97
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DtMunitionDispersal myDispersal
Parameter Name: dispersal Parameter Description: Information on how burst fire or cluster munitions a...
Definition: munitionDetonationPowerEntry.h:106
DtSimMunition class.
Definition: simMunition.h:34

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)