VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fireMissionInformation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vrfutil/readerWriter.h"
13 #include "vrfutil/rwVector.h"
14 #include "vrfutil/rwInt.h"
15 #include "vrfutil/rwList.h"
16 #include "vrfutil/rwString.h"
17 #include "vrfutil/rwReal.h"
18 #include <vl/hostStructs.h>
20 #include <vrfutil/rwUUID.h>
21 
22 #include <map>
23 
27 
29 
32 {
33 public:
35 
37  DtReaderWriterRegistry* const parentRegistry = 0);
38 
40  DtReaderWriterRegistry* const parentRegistry = 0);
41 
43  DtFireMissionInformation(const DtString & writeName,const DtFireMissionInformation& orig,
44  DtReaderWriterRegistry* const parentRegistry = 0);
45 
46  virtual ~DtFireMissionInformation();
47 
49 
50  const DtRwVector& currentTargetLocation() const {return myCurrentTargetLocation; };
51  void setCurrentTargetLocation(const DtVector& loc) { myCurrentTargetLocation=loc; };
52 
56  const DtRwVrfObjectReference& target() const { return myTarget; };
57 
59  void setTarget(const DtUUID& name) { myTarget.setUUID(name); };
60 
61  const DtRwString& ammoType() const { return myAmmoType; };
62  void setAmmoType(const DtString& ammo) { myAmmoType = ammo; };
63 
64  const DtRwInt numberOfRounds() const { return myNumberRounds; };
65  void setNumberOfRounds(const int num) { myNumberRounds = num; };
66 
68  virtual void setHeightAboveTerrain(DtReal height) { myHeightAboveTerrain = height; };
70  virtual DtReal heightAboveTerrain() { return myHeightAboveTerrain; };
71 
72 protected:
73  DtRwVrfObjectReference myTarget;
78 };
79 
82 
84 typedef std::map<DtString, DtFireMissionInformation> DtMappedFireMissionList;
85 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)