VR-Forces 4.8 Class Documentation
 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) 2011 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 
17 namespace makVrv
18 {
19 
23  {
24  public:
25 
27  DtHla1516eDriver( DtAgentManager& agentManager, const std::string& uniqueName,
28  const std::string& className = "DtHla1516eDriver" );
29 
31  virtual ~DtHla1516eDriver();
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  protected:
60 
62  virtual DtConnection* createConnection();
63 
64  virtual void slot_onObserverCreated( DtObserver* observer );
65  virtual void slot_onObserverDestroyed( DtObserver* observer );
66 
67  protected:
68 
69  // Local state.
73  int mySiteId;
74 
75  };
76 
80  {
81  public:
82 
85 
87  virtual ~DtHla1516eDriverCreator();
88 
91  virtual const std::string& extension() const;
92 
93 
95  virtual DtDriver* create( DtAgentManager& agentManager,
96  const std::string& instanceName ) const;
97 
98  protected:
99 
100  std::string myFileExtension;
101 
102  };
103 
104 }
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
#define DT_DLL_VRVHLA1516E
Definition: vrvHla1516e.h:19
char * myFomMapperData
Definition: DtHla1516eDriver.h:71
int myAppNumber
Definition: DtHla1516eDriver.h:72
int mySiteId
Definition: DtHla1516eDriver.h:73
A facade for a DtObserverObject.
Definition: DtObserver.h:37
Contains DLL export macros.
The DtDriver is an abstract class.
Definition: DtDriver.h:34
Creator class for the HLA 1516e driver.
Definition: DtHla1516eDriver.h:79
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
const DtExerciseConnInitializer & exerciseSettings() const
Get the exercise settings.
Definition: DtHla1516eDriver.h:40
The base implementation of a configuration.
Definition: DtConfiguration.h:27
DtExerciseConnInitializer * myLocalExConnInitializer
Definition: DtHla1516eDriver.h:70
Abstract DtDriver creator.
Definition: DtDriver.h:204
std::string myFileExtension
Definition: DtHla1516eDriver.h:100
The Sim Driver for HLA 1516e.
Definition: DtHla1516eDriver.h:22

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)