VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtHla1516Driver.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtHla1516Driver_H_
11 #define DtHla1516Driver_H_
12 
13 #include <vrvHla1516/vrvHla1516.h>
14 #include <vrvVrl/DtVrlinkDriver.h>
15 
17 
18 namespace makVrv
19 {
20 
24  {
25  public:
26 
28  DtHla1516Driver(DtAgentManager& agentManager, const std::string& uniqueName, const std::string& className = "DtHla1516Driver");
29 
31  virtual ~DtHla1516Driver();
32 
34  virtual void realizeConfiguration(const DtConfiguration& config);
35 
37  virtual DtConfiguration createConfiguration() const;
38 
41  {
42  return *myLocalExConnInitializer;
43  }
44 
46  virtual void setExerciseSettings(const DtExerciseConnInitializer& settings);
47 
49  virtual void setAppNumber(int appNumber);
51  virtual int appNumber() const;
53 
55  virtual void setSiteId(int siteId);
57  virtual int siteId() const;
59 
60  protected:
61 
63  virtual DtConnection* createConnection();
64 
65  virtual void slot_onObserverCreated(DtObserver* observer);
66  virtual void slot_onObserverDestroyed(DtObserver* observer);
67 
68 
69  protected:
70  //Local state.
73  int mySiteId;
74  };
75 
79  {
80  public:
81 
84 
86  virtual ~DtHla1516DriverCreator();
87 
90  virtual const std::string& extension() const;
91 
92 
94  virtual DtDriver* create(DtAgentManager& agentManager, const std::string& instanceName) const;
95 
96  protected:
97  std::string myFileExtension;
98 
99  };
100 }
101 
102 #endif
103 
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
const DtExerciseConnInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla1516Driver.h:40
The Sim Driver for HLA 1516.
Definition: DtHla1516Driver.h:23
Contains DLL export macros.
Creator class for the HLA 13 driver.
Definition: DtHla1516Driver.h:78
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
#define DT_DLL_VRVHLA1516
Definition: vrvHla1516.h:19
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
std::string myFileExtension
Definition: DtHla1516Driver.h:97
DtExerciseConnInitializer * myLocalExConnInitializer
Definition: DtHla1516Driver.h:71
The base implementation of a configuration.
Definition: DtConfiguration.h:24
int mySiteId
Definition: DtHla1516Driver.h:73
int myAppNumber
Definition: DtHla1516Driver.h:72
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)