VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHla1516eDriver.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvHla1516e/vrvHla1516e.h>
13 #include <vrvVrl/DtVrlinkDriver.h>
14 
16 class DtExerciseConnConfig;
17 
18 namespace makVrv
19 {
20 
24  {
25  protected:
26  static const std::string theFederationNameString;
27  static const std::string theFedFileName;
28  static const std::string theFederateType;
29  static const std::string theFederateName;
30  static const std::string theSiteId;
31  static const std::string theAppNumber;
32  static const std::string theFomMapperLib;
33  static const std::string theFomMapperInitData;
34  static const std::string theRprFomVersion;
35  static const std::string theRprFomRevision;
36  static const std::string theUseAdvisories;
37  static const std::string theUseGeographicDdm;
38  static const std::string thePublishObservers;
39  static const std::string theViewControlEnabled;
40  static const std::string theOverrideGlobalViewControl;
41  static const std::string theNumberFomModules;
42  static const std::string theFomModule;
43  static const std::string theLocalSettingsDesignator;
44  static const std::string theUseAbsoluteTimeStamps;
45  static const std::string theUseTopoForFlatEarthVectorConversion;
46  static const std::string theConnectionFrameTime;
47 
48  public:
49 
51  DtHla1516eDriver( DtAgentManager& agentManager, const std::string& uniqueName,
52  const std::string& className = "DtHla1516eDriver" );
53 
55  virtual ~DtHla1516eDriver();
56 
58  virtual void realizeConfiguration( const DtConfiguration& config );
59 
63  virtual DtConfiguration createConfiguration(bool saveAllParameters) const override;
64 
67  {
68  return *myLocalExConnInitializer;
69  }
70 
73  {
74  return *myLocalExConnInitializer;
75  }
76 
77  protected:
78 
80  virtual DtVrlinkBaseConnection* createConnection();
81 
82  virtual void slot_onObserverCreated( DtObserver* observer );
83  virtual void slot_onObserverDestroyed( DtObserver* observer );
84 
85  protected:
86 
87  // Local state.
89  DtExerciseConnConfig* myDefaultConfiguration;
91  };
92 
96  {
97  public:
98 
101 
103  virtual ~DtHla1516eDriverCreator();
104 
107  virtual const std::string& extension() const;
108 
109 
111  virtual DtDriver* create( DtAgentManager& agentManager,
112  const std::string& instanceName ) const;
113 
114  protected:
115 
116  std::string myFileExtension;
117 
118  };
119 
120 }
static const std::string theConnectionFrameTime
Definition: DtHla1516eDriver.h:46
#define DT_DLL_VRVHLA1516E
Definition: vrvHla1516e.h:19
char * myFomMapperData
Definition: DtHla1516eDriver.h:90
static const std::string theUseGeographicDdm
Definition: DtHla1516eDriver.h:37
static const std::string theRprFomVersion
Definition: DtHla1516eDriver.h:34
DtVrlApplicationInitializer & exerciseSettings()
Get the exercise settings.
Definition: DtHla1516eDriver.h:72
static const std::string theFederateName
Definition: DtHla1516eDriver.h:29
static const std::string theNumberFomModules
Definition: DtHla1516eDriver.h:41
const DtVrlApplicationInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla1516eDriver.h:66
static const std::string theFederateType
Definition: DtHla1516eDriver.h:28
static const std::string theFomMapperInitData
Definition: DtHla1516eDriver.h:33
static const std::string theFedFileName
Definition: DtHla1516eDriver.h:27
A facade for a DtObserverObject.
Definition: DtObserver.h:38
static const std::string theAppNumber
Definition: DtHla1516eDriver.h:31
static const std::string theViewControlEnabled
Definition: DtHla1516eDriver.h:39
Contains DLL export macros.
DtVrlApplicationInitializer * myLocalExConnInitializer
Definition: DtHla1516eDriver.h:88
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:30
Creator class for the HLA 1516e driver.
Definition: DtHla1516eDriver.h:95
static const std::string thePublishObservers
Definition: DtHla1516eDriver.h:38
static const std::string theUseAbsoluteTimeStamps
Definition: DtHla1516eDriver.h:44
static const std::string theSiteId
Definition: DtHla1516eDriver.h:30
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
static const std::string theOverrideGlobalViewControl
Definition: DtHla1516eDriver.h:40
static const std::string theLocalSettingsDesignator
Definition: DtHla1516eDriver.h:43
static const std::string theFomModule
Definition: DtHla1516eDriver.h:42
static const std::string theFederationNameString
Definition: DtHla1516eDriver.h:26
static const std::string theUseAdvisories
Definition: DtHla1516eDriver.h:36
The base implementation of a configuration.
Definition: DtConfiguration.h:24
DtExerciseConnConfig * myDefaultConfiguration
Definition: DtHla1516eDriver.h:89
Abstract DtDriver creator.
Definition: DtDriver.h:204
static const std::string theRprFomRevision
Definition: DtHla1516eDriver.h:35
static const std::string theUseTopoForFlatEarthVectorConversion
Definition: DtHla1516eDriver.h:45
std::string myFileExtension
Definition: DtHla1516eDriver.h:116
The Sim Driver for HLA 1516e.
Definition: DtHla1516eDriver.h:23
static const std::string theFomMapperLib
Definition: DtHla1516eDriver.h:32

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)