VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtHla1516Driver.h,v $ $Revision: 1.16 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtHla1516Driver_H_
14 #define DtHla1516Driver_H_
15 
16 #include <vrvHla1516/vrvHla1516.h>
17 #include <vrvVrl/DtVrlinkDriver.h>
18 
20 
21 namespace makVrv
22 {
23 
27  {
28  public:
29 
31  DtHla1516Driver(DtAgentManager& agentManager, const std::string& uniqueName, const std::string& className = "DtHla1516Driver");
32 
34  virtual ~DtHla1516Driver();
35 
37  virtual void realizeConfiguration(const DtConfiguration& config);
38 
40  virtual DtConfiguration createConfiguration() const;
41 
44  {
45  return *myLocalExConnInitializer;
46  }
47 
49  virtual void setExerciseSettings(const DtExerciseConnInitializer& settings);
50 
52  virtual void setAppNumber(int appNumber);
54  virtual int appNumber() const;
56 
58  virtual void setSiteId(int siteId);
60  virtual int siteId() const;
62 
63  protected:
64 
66  virtual DtConnection* createConnection();
67 
68  virtual void slot_onObserverCreated(DtObserver* observer);
69  virtual void slot_onObserverDestroyed(DtObserver* observer);
70 
71 
72  protected:
73  //Local state.
76  int mySiteId;
77  };
78 
82  {
83  public:
84 
87 
89  virtual ~DtHla1516DriverCreator();
90 
93  virtual const std::string& extension() const;
94 
95 
97  virtual DtDriver* create(DtAgentManager& agentManager, const std::string& instanceName) const;
98 
99  protected:
100  std::string myFileExtension;
101 
102  };
103 }
104 
105 #endif
106 
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
const DtExerciseConnInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla1516Driver.h:43
The Sim Driver for HLA 1516.
Definition: DtHla1516Driver.h:26
Contains DLL export macros.
Creator class for the HLA 13 driver.
Definition: DtHla1516Driver.h:81
A facade for a DtObserverObject.
Definition: DtObserver.h:37
The DtDriver is an abstract class.
Definition: DtDriver.h:34
#define DT_DLL_VRVHLA1516
Definition: vrvHla1516.h:19
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
std::string myFileExtension
Definition: DtHla1516Driver.h:100
DtExerciseConnInitializer * myLocalExConnInitializer
Definition: DtHla1516Driver.h:74
The base implementation of a configuration.
Definition: DtConfiguration.h:27
int mySiteId
Definition: DtHla1516Driver.h:76
int myAppNumber
Definition: DtHla1516Driver.h:75
Abstract DtDriver creator.
Definition: DtDriver.h:204

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)