VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
burstDescriptor.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
10 
11 
12 #include <vlutil/vlMachineTypes.h>
13 #include "netStructs.h"
14 #include "disEnums.h"
15 #include "entityType.h"
16 
17 
25 {
26 public:
28  DtBurstDescriptor(const DtNetBurstDescriptor *netBurst);
29 
31 
32  DtBurstDescriptor(const DtEntityType &data, DtWarheadType warhead,
33  DtDetonatorFuze fuze, DtU16 quantity, DtU16 rate);
34  DtBurstDescriptor(const DtEntityType &data, DtExplosiveMaterial explosiveMaterial, float explosiveForce);
35  DtBurstDescriptor(const DtEntityType &data);
37 
38  operator DtNetBurstDescriptor () const;
39 
40  void init(const DtEntityType * type, DtWarheadType warhead,
41  DtDetonatorFuze fuze, int quantity, int rate);
42  void init(const DtEntityType *type, DtExplosiveMaterial explosiveMaterial, float explosiveForce);
43  void init(const DtEntityType *type);
44 
48  virtual void setEntityType(const DtEntityType& munition);
49  virtual const DtEntityType& entityType() const;
50 
53 
54  virtual void setWarheadType(const DtWarheadType& warhead);
55  virtual const DtWarheadType& warheadType() const;
56 
57  virtual void setFuze(DtDetonatorFuze fuze);
58  virtual DtDetonatorFuze fuze() const;
59 
60  virtual void setQuantity(int quantity);
61  virtual int quantity() const;
62 
63  virtual void setRate(int rate);
64  virtual int rate() const;
66 
69 
70  virtual void setExplosiveMaterial(const DtExplosiveMaterial& explosive);
71  virtual DtExplosiveMaterial explosiveMaterial() const;
72 
73  virtual void setExplosiveForce(float force);
74  virtual float explosiveForce() const;
76 
77  public:
78 
84  int DtRate;
85 
86 
87 };

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)