MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ddmSimOutput.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #if DtHLA
10 
11 #pragma once
12 
13 #include <lgrSim/hlaSimOutput.h>
14 #include <vl/geodeticRegion.h>
15 
16 #include "sampleDdm.h"
17 
18 
19 namespace MAKLogger
20 {
21 
23  {
24  public:
25 
26  // Constructor
28 
29  // Destructor
30  virtual ~DtLgrHlaDdmSimOutput();
31 
34  virtual unsigned int getInteractionRegionSetFromData(const DtConstLgrHlaMessage& info,
35  const DtInteraction* interaction, DtDDMRegionSet& regionSet);
36 
43  virtual bool getPublisherRegionSetFromData(const DtPacket& info,
44  DtDDMRegionSet& regionSet);
45 
47  virtual void initializeHandles();
48 
49  public:
50 
51  // Creator
52  static DtLgrHlaSimOutput* create(DtLgrHlaSimulationManager& manager);
53 
57  static void setRegionBounds(DtDDMRegionSP region, DtGeodeticCoord& geodeticLocation);
58 
59  protected:
60 
62  virtual DtDDMRegionSP createRegion();
63 
65  virtual void decodeLocationFromVector(const char* const netData, DtGeodeticCoord& geodeticLocation);
66 
68  virtual void decodeLocationFromSpatial(const char* const netData, DtGeodeticCoord& geodeticLocation);
69 
73  virtual bool getLocation(const DtLgrHandleValueReferenceMap* handleValueMap,
74  const DtLgrHlaHandle& handleToFind, DtGeodeticCoord& geodeticLocation, bool decodeAsVector=true);
75 
76  protected:
77 
84  DtDDMRegionSP myWeaponFireRegion;
85  DtDDMRegionSP myDetonationRegion;
86  long myLatitude;
88 
89  };
90 
91 }
92 
93 #endif // DtHLA

Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (www.mak.com)