VR-Forces 4.1.1 Class Documentation
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 
15 class DtExerciseConnInitializer;
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 
40  inline const DtExerciseConnInitializer& exerciseSettings() const
41  {
42  return *myLocalExConnInitializer;
43  }
44 
46  void setExerciseSettings( const DtExerciseConnInitializer& settings );
47 
49  void setAppNumber( int appNumber );
50 
52  void setSiteId( int siteId );
53  protected:
54 
56  virtual DtConnection* createConnection();
57 
58  virtual void slot_onObserverCreated( DtObserver* observer );
59  virtual void slot_onObserverDestroyed( DtObserver* observer );
60 
61  protected:
62 
63  // Local state.
64  DtExerciseConnInitializer* myLocalExConnInitializer;
66  int mySiteId;
67 
68  };
69 
73  {
74  public:
75 
78 
80  virtual ~DtHla1516eDriverCreator();
81 
84  virtual const std::string& extension() const;
85 
86 
88  virtual DtDriver* create( DtAgentManager& agentManager,
89  const std::string& instanceName ) const;
90 
91  protected:
92 
93  std::string myFileExtension;
94 
95  };
96 
97 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)