VR-Forces 4.1 Class Documentation
DtHla1516eConnectionLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 /*****************************************************************************
6  * $RCSfile: DtHla1516eConnectionLogic.h,v $ $Revision: 1.15 $ $State: Exp $
7  *****************************************************************************/
8 
12 
13 #pragma once
14 
16 #include <boost/signals/trackable.hpp>
18 #include <string>
19 
20 class DtExerciseConnInitializer;
21 
22 namespace makVrv
23 {
24 
25  class DtHla1516eConnectionInterface;
26  class DtHla1516eDriver;
27  class DtDriver;
28 
32  {
33  public:
34 
37 
39  virtual ~DtHla1516eConnectionLogic();
40 
42  virtual void updateCurrentDriver();
43 
44  virtual std::string className() const;
45 
46  protected:
47 
48  DtHla1516eDriver* findCurrentDriver( const std::string& name );
49 
50  void on_currentConnectionChanged( const std::string& connectionName );
51  void on_exerciseNameChanged( const std::string& name );
52  void on_federateTypeChanged( const std::string& type );
53  void on_federateNameChanged( const std::string& name );
54  void on_localSettingsDesignatorChanged( const std::string& designator );
55  void on_fedFileNameChanged( const std::string& name );
56  void on_rprFomVersionChanged( double version );
57  void on_rprFomRevisionChanged( int revision );
58  void on_fomMapperFileNameChanged( const std::string& name );
59 
61  void on_fomMapperInitStringChanged( const std::string& str );
62 
63  void on_connect();
64  void on_disconnect();
65  void on_makeAutoConnect();
66 
67  void on_driverStarted( DtDriver& simCon );
68  void on_driverStopped( DtDriver& simCon );
69  void on_ddmChanged( bool enabled );
70  void on_useAdvisories( bool enabled );
71  void on_publishObserversChanged( bool value );
72  void on_autoDriverChanged( const std::string& con );
73  void on_viewControlChanged( bool onOff );
74  void on_siteIdChanged(int siteId);
75  void on_appNumberChanged(int appId);
76 
77  void on_addFomModule(const std::string&);
78  void on_removeFomModule(const std::string&);
79 
80  protected:
81 
85  DtExerciseConnInitializer* myLocalInit;
86 
87  };
88 
89 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)