VR-Forces 4.1 Class Documentation
DtDisConnectionLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvDisQt/vrvDisQt.h>
14 
15 #include <boost/signals/trackable.hpp>
16 
17 #include <string>
18 
19 class DtExerciseConnInitializer;
20 
21 namespace makVrv
22 {
23 
24  class DtDisConnectionInterface;
25  class DtDisDriver;
26  class DtDriver;
27 
31  {
32  public:
33 
36 
38  virtual ~DtDisConnectionLogic();
39 
41  virtual void updateCurrentDriver();
42 
43  protected:
44  virtual std::string className() const;
45 
46  protected:
47 
48  virtual void populateDeviceAddresses();
49 
50  DtDisDriver* findCurrentDriver(const std::string& name);
51 
52  void on_currentConnectionChanged(const std::string& connectionName);
53 
54  void on_portChanged(int value);
55  void on_exerciseIdChanged(int value);
56  void on_appNumberChanged(int value);
57  void on_selfReflectChanged(bool val);
58  void on_siteIdChanged(int value);
59  void on_asynchIOChanged(bool value);
60  void on_destinationAddressChanged(const std::string& str);
61  void on_deviceAddressChanged(const std::string& str);
62  void on_sendBufferSizeChanged(int value);
63  void on_receiveBufferSizeChanged(int value);
64  void on_multicastTTLChanged(int value);
65  void on_timeoutProcessingChanged(bool onOff);
66  void on_timeoutIntervalChanged(double value);
67  void on_multiCastAddressesChanged(const std::string& str);
68  void on_disVersionChanged(int value);
69  void on_publishObserversChanged(bool value);
70  void on_viewControlChanged(bool onOff);
71 
72 
73  void on_connect();
74  void on_disconnect();
75  void on_makeAutoConnect();
76 
77  void on_driverStarted(DtDriver& simCon);
78  void on_driverStopped(DtDriver& simCon);
79  void on_autoDriverChanged(const std::string& con);
80 
81  protected:
85  DtExerciseConnInitializer* myLocalInit;
86  };
87 }

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)