VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCigiConnectionLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCigiQt/vrvCigiQt.h>
13 
15 #include <boost/signals/trackable.hpp>
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 
74  void on_makeAutoConnect();
75 
76  void on_driverStarted(DtDriver& simCon);
77  void on_driverStopped(DtDriver& simCon);
78  void on_autoDriverChanged(const std::string& con);
79 
80  protected:
85  QStringList myModelDefinitions;
86  };
87 }
88 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)