VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHla13Driver.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvHla13/vrvHla13.h>
13 #include <vrvVrl/DtVrlinkDriver.h>
14 
16 
17 namespace makVrv
18 {
19 
23  {
24  public:
25 
27  DtHla13Driver(DtAgentManager& agentManager, const std::string& uniqueName, const std::string& className = "DtHla13Driver");
28 
30  virtual ~DtHla13Driver();
31 
33  virtual void realizeConfiguration(const DtConfiguration& config);
34 
36  virtual DtConfiguration createConfiguration() const;
37 
40  {
41  return *myLocalExConnInitializer;
42  }
43 
45  void setExerciseSettings(const DtExerciseConnInitializer& settings);
46 
48  void setAppNumber(int appNumber);
49 
51  void setSiteId(int siteId);
52 
54  int siteId();
55 
57  int appNumber();
58 
59  protected:
60 
62  virtual DtConnection* createConnection();
63 
67  virtual DtAgentManagerInterface& agentManagerForConnection();
68 
69  virtual void slot_onObserverCreated(DtObserver* observer);
70  virtual void slot_onObserverDestroyed(DtObserver* observer);
71 
72 
73  protected:
74  //Local state.
77  int mySiteId;
79  };
80 
84  {
85  public:
86 
89 
91  virtual ~DtHla13DriverCreator();
92 
95  virtual const std::string& extension() const;
96 
98  virtual DtDriver* create(DtAgentManager& agentManager,
99  const std::string& instanceName) const;
100 
101  protected:
102  std::string myFileExtension;
103 
104  };
105 }
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
The Sim Driver for HLA 1.3.
Definition: DtHla13Driver.h:22
const DtExerciseConnInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla13Driver.h:39
int mySiteId
Definition: DtHla13Driver.h:77
Contains DLL export macros.
A facade for a DtObserverObject.
Definition: DtObserver.h:37
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:31
Creator class for the HLA 13 driver.
Definition: DtHla13Driver.h:83
#define DT_DLL_VRVHLA13
Definition: vrvHla13.h:20
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
DtExerciseConnInitializer * myLocalExConnInitializer
Definition: DtHla13Driver.h:75
int myAppNumber
Definition: DtHla13Driver.h:78
char * myFomMapperData
Definition: DtHla13Driver.h:76
The base implementation of a configuration.
Definition: DtConfiguration.h:24
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
std::string myFileExtension
Definition: DtHla13Driver.h:102
Abstract DtDriver creator.
Definition: DtDriver.h:201

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)