VR-Forces 4.10 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 
17 #include <string>
18 
19 #include <QtCore/QStringList>
20 
21 namespace makVrv
22 {
23 
24  class DtCigiConnectionInterface;
25  class DtCigiDriver;
26  class DtDriver;
27  class DtCigiConnectionInitializer;
28 
32  {
33  public:
34 
37 
39  virtual ~DtCigiConnectionLogic();
40 
42  virtual void updateCurrentDriver();
43 
44  protected:
45  virtual std::string className() const;
46 
47  protected:
48 
49  virtual void populateDeviceAddresses();
50 
51  DtCigiDriver* findCurrentDriver(const std::string& name);
52 
53  void on_currentConnectionChanged(const std::string& connectionName);
54 
55  void on_connect();
56  void on_disconnect();
57 
58  void on_cigiVersionChanged( const std::string& sStr );
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:31
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:31
The DtDriver for CIGI.
Definition: DtCigiDriver.h:46
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)