VR-Forces Developer's Guide
 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvDisQt/vrvDisQt.h>
14 #include <vl/exerciseConnInitializer.h>
15 #include <string>
16 
17 
18 namespace makVrv
19 {
20  class DtDisExerciseConnInitializer;
21  class DtDisConnectionInterface;
22  class DtDisDriver;
23  class DtDriver;
24 
28  {
29  public:
30 
33 
35  virtual ~DtDisConnectionLogic();
36 
38  virtual void updateCurrentDriver();
39 
40  protected:
41  virtual const std::string& className() const;
42 
43  protected:
44 
45  virtual void populateDeviceAddresses();
46 
47  DtDisDriver* findCurrentDriver(const std::string& name);
48 
49  void on_currentConnectionChanged(const std::string& connectionName);
50 
51  void on_portChanged(int value);
52  void on_exerciseIdChanged(int value);
53  void on_appNumberChanged(int value);
54  void on_selfReflectChanged(bool val);
55  void on_siteIdChanged(int value);
56  void on_asynchIOChanged(bool value);
57  void on_absoluteTimeStampsChanged(bool value);
58  void on_destinationAddressChanged(const std::string& str);
59  void on_deviceAddressChanged(const std::string& str);
60  void on_subnetMaskChanged(const std::string& str);
61  void on_sendBufferSizeChanged(int value);
62  void on_receiveBufferSizeChanged(int value);
63  void on_multicastTTLChanged(int value);
64  void on_timeoutProcessingChanged(bool onOff);
65  void on_timeoutIntervalChanged(double value);
66  void on_multiCastAddressesChanged(const std::string& str);
67  void on_disVersionChanged(int value);
68  void on_publishObserversChanged(bool value);
69  void on_viewControlChanged(bool onOff);
70  void on_overrideGlobalViewControlChanged(bool trueFalse);
71  void on_useTopoForFlatEarthVectorConversionChanged(bool onOff);
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:
86  };
87 }
The DtDriver for DIS.
Definition: DtDisDriver.h:51
DtDisConnectionInterface & myDisInterface
Definition: DtDisConnectionLogic.h:83
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:31
Extended Exercise Connection Initializer for DIS This helper class extends DtExerciseConnInitializer ...
Definition: DtDisDriver.h:22
Logic for configuring the Dis Connection.
Definition: DtDisConnectionLogic.h:27
Contains DLL export macros.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDisExerciseConnInitializer * myLocalInit
Definition: DtDisConnectionLogic.h:85
DtDisDriver * myCurrentDriver
Definition: DtDisConnectionLogic.h:84
Base class to provide boost signal/slot management.
DtDe & myDe
Definition: DtDisConnectionLogic.h:82
Abstract interface used to a user interface.
Definition: DtDisConnectionInterface.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
#define DT_DLL_VRVDISQT
Definition: vrvDisQt.h:21

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)