VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHla4Driver.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 <vrvHla4/vrvHla4.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  DtHla4Driver( DtAgentManager& agentManager, const std::string& uniqueName,
52  const std::string& className = "DtHla4Driver" );
53 
55  virtual ~DtHla4Driver();
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 ~DtHla4DriverCreator();
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: DtHla4Driver.h:46
static const std::string theFomModule
Definition: DtHla4Driver.h:42
static const std::string theLocalSettingsDesignator
Definition: DtHla4Driver.h:43
static const std::string theRprFomVersion
Definition: DtHla4Driver.h:34
Contains DLL export macros.
static const std::string theFederateName
Definition: DtHla4Driver.h:29
static const std::string theAppNumber
Definition: DtHla4Driver.h:31
static const std::string theFomMapperLib
Definition: DtHla4Driver.h:32
const DtVrlApplicationInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla4Driver.h:66
#define DT_DLL_VRVHLA4
Definition: vrvHla4.h:19
static const std::string theOverrideGlobalViewControl
Definition: DtHla4Driver.h:40
DtExerciseConnConfig * myDefaultConfiguration
Definition: DtHla4Driver.h:89
static const std::string theUseAdvisories
Definition: DtHla4Driver.h:36
static const std::string theUseAbsoluteTimeStamps
Definition: DtHla4Driver.h:44
static const std::string theRprFomRevision
Definition: DtHla4Driver.h:35
A facade for a DtObserverObject.
Definition: DtObserver.h:38
static const std::string theNumberFomModules
Definition: DtHla4Driver.h:41
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:30
DtVrlApplicationInitializer * myLocalExConnInitializer
Definition: DtHla4Driver.h:88
static const std::string theSiteId
Definition: DtHla4Driver.h:30
static const std::string theViewControlEnabled
Definition: DtHla4Driver.h:39
static const std::string theFederateType
Definition: DtHla4Driver.h:28
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
static const std::string theFomMapperInitData
Definition: DtHla4Driver.h:33
static const std::string theFederationNameString
Definition: DtHla4Driver.h:26
The Sim Driver for HLA 2025.
Definition: DtHla4Driver.h:23
static const std::string theUseTopoForFlatEarthVectorConversion
Definition: DtHla4Driver.h:45
DtVrlApplicationInitializer & exerciseSettings()
Get the exercise settings.
Definition: DtHla4Driver.h:72
static const std::string thePublishObservers
Definition: DtHla4Driver.h:38
The base implementation of a configuration.
Definition: DtConfiguration.h:24
char * myFomMapperData
Definition: DtHla4Driver.h:90
Creator class for the HLA 2025 driver.
Definition: DtHla4Driver.h:95
static const std::string theUseGeographicDdm
Definition: DtHla4Driver.h:37
Abstract DtDriver creator.
Definition: DtDriver.h:204
static const std::string theFedFileName
Definition: DtHla4Driver.h:27
std::string myFileExtension
Definition: DtHla4Driver.h:116

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)