VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiConnectionLogic.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 <vrvCigiQt/vrvCigiQt.h>
13 
16 #include <boost/signals/trackable.hpp>
17 
18 #include <string>
19 
20 #include <QtCore/QStringList>
21 
22 namespace makVrv
23 {
24 
25  class DtCigiConnectionInterface;
26  class DtCigiDriver;
27  class DtDriver;
28  class DtCigiConnectionInitializer;
29 
33  {
34  public:
35 
38 
40  virtual ~DtCigiConnectionLogic();
41 
43  virtual void updateCurrentDriver();
44 
45  protected:
46  virtual std::string className() const;
47 
48  protected:
49 
50  virtual void populateDeviceAddresses();
51 
52  DtCigiDriver* findCurrentDriver(const std::string& name);
53 
54  void on_currentConnectionChanged(const std::string& connectionName);
55 
56  void on_connect();
57  void on_disconnect();
58 
59  void on_entityMappingNameChanged(const std::string& str);
60  void on_hostIpChanged(const std::string& sStr);
61  void on_devAddrChanged(const std::string& sStr);
62  void on_incomingBufferSizeChanged(unsigned value);
63  void on_listenPortChanged(unsigned value);
64  void on_numIncomingBuffersChanged(unsigned value);
65  void on_numOutgoingBuffersChanged(unsigned value);
66  void on_outgoingBufferSizeChanged(unsigned value);
67  void on_packetBufferSizeChanged(unsigned value);
68  void on_sendPortChanged(unsigned value);
69  void on_driverModeChanged(DtCigiConnectionInitializer::ConnectionMode mode);
70  void on_transportTypeChanged(int value);
71  void on_driverFrequencyChanged(unsigned int value);
72  void on_hostFrequencyChanged(unsigned int value);
73  void on_returnConnectionObjectIdsChanged( bool value );
74 
75  void on_makeAutoConnect();
76 
77  void on_driverStarted(DtDriver& simCon);
78  void on_driverStopped(DtDriver& simCon);
79  void on_driverToBeDestroyed(DtDriver& driver);
80  void on_autoDriverChanged(const std::string& con);
81 
82  protected:
87  QStringList myModelDefinitions;
89  };
90 }
91 
DtCigiConnectionInitializer * myInitializer
Definition: DtCigiConnectionLogic.h:86
This class initializes the CIGI driver.
Definition: DtCigiConnectionInitializer.h:18
DtDe & myDe
Definition: DtCigiConnectionLogic.h:83
Logic for configuring the CIGI Connection.
Definition: DtCigiConnectionLogic.h:32
DtCigiConnectionInterface & myCigiConnectionInterface
Definition: DtCigiConnectionLogic.h:84
ConnectionMode
Definition: DtCigiConnectionInitializer.h:28
#define DT_DLL_VRVCIGIQT
Definition: vrvCigiQt.h:19
The DtDriver is an abstract class.
Definition: DtDriver.h:34
The DtDriver for CIGI.
Definition: DtCigiDriver.h:44
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
Abstract interface for a CIGI connection widget.
Definition: DtCigiConnectionInterface.h:21
QStringList myModelDefinitions
Definition: DtCigiConnectionLogic.h:87
DtSignalConnectionManager myConnections
Definition: DtCigiConnectionLogic.h:88
Base class to provide boost signal/slot management.
Contains DLL export macros.
const char int mode
Definition: ioapi.h:38
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtCigiDriver * myCurrentDriver
Definition: DtCigiConnectionLogic.h:85

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)