VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentalCombicStateRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef DtEnvironmentalCombicStateRecord_H_
10 #define DtEnvironmentalCombicStateRecord_H_
11 
12 
13 #include "environmentalRecord.h"
14 #include "hostStructs.h"
15 #include <matrix/vlVector.h>
16 
17 
23 {
24 public:
25 
28 
32 
36 
39 
41  virtual DtEnvironmentalRecord* clone() const;
42 
44  virtual void setTimeSinceCreation(DtU32 timeSinceCreation);
45  virtual DtU32 timeSinceCreation() const;
46 
48  virtual void setMunitionSource(const DtEntityType& munitionSource);
49  virtual const DtEntityType& munitionSource() const;
50 
52  virtual void setNumberOfSources(DtInt32 numberOfSources);
53  virtual DtInt32 numberOfSources() const;
54 
56  virtual void setGeometryIndex(DtU16 geometryIndex);
57  virtual DtU16 geometryIndex() const;
58 
60  virtual void setSourceType(DtU32 sourceType);
61  virtual DtU32 sourceType() const;
62 
64  virtual void setBarrageRate(DtFloat32 barrageRate);
65  virtual DtFloat32 barrageRate() const;
66 
68  virtual void setBarrageDuration(DtFloat32 barrageDuration);
69  virtual DtFloat32 barrageDuration() const;
70 
72  virtual void setBarrageCrosswindLength(DtFloat32 barrageCrosswindLength);
73  virtual DtFloat32 barrageCrosswindLength() const;
74 
76  virtual void setBarrageDownwindLength(DtFloat32 barrageDownwindLength);
77  virtual DtFloat32 barrageDownwindLength() const;
78 
80  virtual void setDetonationVelocity(const DtVector& detonationVelocity);
81  virtual const DtVector& detonationVelocity() const;
82  virtual bool createNetworkRepresentation();
83 
85  const DtNetCombicStateRecord* combicNetRep() const;
86  DtNetCombicStateRecord* combicNetRep();
87 
89  virtual void setFromNet(const DtNetEnvironmentalRecord& buffer, int protocolVersion);
90 
92  virtual int netRepSize() const;
93 
94 protected:
95 
98 
99 protected:
102 
103 };
104 
105 
106 #endif
107 
virtual int netRepSize() const
Returns the size of the network representation.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual DtEnvironmentalRecord * clone() const
Creates a new complete copy of this record, including a copy of the network representation.
DtEnvironmentalCombicStateRecord implements the Environmental state record type &quot;COMBIC State...
Definition: environmentalCombicStateRecord.h:22
This file declares DtVector and DtVector32.
Definition: vlVector.h:224
DtNetEnvironmentalRecord is the network structure for the environmental process PDU record header (de...
Definition: envProcP.h:34
const DtEnvironmentalRecord & operator=(const DtEnvironmentalRecord &orig)
Assignment operator.
DtEntityType myMunitionSource
Definition: environmentalCombicStateRecord.h:100
DtEnvironmentalRecord is the base class from which all geometry and state environmental records are d...
Definition: environmentalRecord.h:22
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Combic State Record (EBV-DOC, 12.3.5.1)
Definition: envProcP.h:399
long int DtInt32
A 32 bit integer value.
Definition: vlMachineTypes.h:156
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
virtual void setFromNet(const DtNetEnvironmentalRecord &buffer, int protocolVersion)
used by the PDU class to fill in the network representation
virtual bool createNetworkRepresentation()
This doesn&#39;t need to be called explicitly.
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
DtVector myDetonationVelocity
Definition: environmentalCombicStateRecord.h:101

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)