VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDisConnectionLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 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 
20 namespace makVrv
21 {
22  class DtDisExerciseConnInitializer;
23  class DtDisConnectionInterface;
24  class DtDisDriver;
25  class DtDriver;
26 
30  {
31  public:
32 
35 
37  virtual ~DtDisConnectionLogic();
38 
40  virtual void updateCurrentDriver();
41 
42  protected:
43  virtual const std::string& className() const;
44 
45  protected:
46 
47  virtual void populateDeviceAddresses();
48 
49  DtDisDriver* findCurrentDriver(const std::string& name);
50 
51  void on_currentConnectionChanged(const std::string& connectionName);
52 
53  void on_portChanged(int value);
54  void on_exerciseIdChanged(int value);
55  void on_appNumberChanged(int value);
56  void on_selfReflectChanged(bool val);
57  void on_siteIdChanged(int value);
58  void on_asynchIOChanged(bool value);
59  void on_absoluteTimeStampsChanged(bool value);
60  void on_destinationAddressChanged(const std::string& str);
61  void on_deviceAddressChanged(const std::string& str);
62  void on_subnetMaskChanged(const std::string& str);
63  void on_sendBufferSizeChanged(int value);
64  void on_receiveBufferSizeChanged(int value);
65  void on_multicastTTLChanged(int value);
66  void on_timeoutProcessingChanged(bool onOff);
67  void on_timeoutIntervalChanged(double value);
68  void on_multiCastAddressesChanged(const std::string& str);
69  void on_disVersionChanged(int value);
70  void on_publishObserversChanged(bool value);
71  void on_viewControlChanged(bool onOff);
72  void on_overrideGlobalViewControlChanged(bool trueFalse);
73  void on_useTopoForFlatEarthVectorConversionChanged(bool onOff);
74 
75  void on_connect();
76  void on_disconnect();
77  void on_makeAutoConnect();
78 
79  void on_driverStarted(DtDriver& simCon);
80  void on_driverStopped(DtDriver& simCon);
81  void on_autoDriverChanged(const std::string& con);
82 
83  protected:
88  };
89 }
The DtDriver for DIS.
Definition: DtDisDriver.h:51
DtDisConnectionInterface & myDisInterface
Definition: DtDisConnectionLogic.h:85
The DtDriver is an abstract class.
Definition: DtDriver.h:34
Extended Exercise Connection Initializer for DIS This helper class extends DtExerciseConnInitializer ...
Definition: DtDisDriver.h:22
Logic for configuring the Dis Connection.
Definition: DtDisConnectionLogic.h:29
Contains DLL export macros.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
DtDisExerciseConnInitializer * myLocalInit
Definition: DtDisConnectionLogic.h:87
DtDisDriver * myCurrentDriver
Definition: DtDisConnectionLogic.h:86
Base class to provide boost signal/slot management.
DtDe & myDe
Definition: DtDisConnectionLogic.h:84
Abstract interface used to a user interface.
Definition: DtDisConnectionInterface.h:20
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRVDISQT
Definition: vrvDisQt.h:21

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)