VR-Forces 4.3.1 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) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtCigiConnectionLogic.h,v $ $Revision: 1.14 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtCigiConnectionLogic_H_
14 #define DtCigiConnectionLogic_H_
15 
16 #include <vrvCigiQt/vrvCigiQt.h>
17 #include <boost/signals/trackable.hpp>
18 
19 #include <string>
20 
21 #include <QtCore/QStringList>
22 
23 namespace makVrv
24 {
25 
26  class DtCigiConnectionInterface;
27  class DtCigiDriver;
28  class DtDriver;
29  class DtCigiConnectionInitializer;
30 
34  {
35  public:
36 
39 
41  virtual ~DtCigiConnectionLogic();
42 
44  virtual void updateCurrentDriver();
45 
46  protected:
47  virtual std::string className() const;
48 
49  protected:
50 
51  virtual void populateDeviceAddresses();
52 
53  DtCigiDriver* findCurrentDriver(const std::string& name);
54 
55  void on_currentConnectionChanged(const std::string& connectionName);
56 
57  void on_connect();
58  void on_disconnect();
59 
60  void on_cigiVersionChanged(const std::string& sStr);
61  void on_entityMappingNameChanged(const std::string& str);
62  void on_hostIpChanged(const std::string& sStr);
63  void on_devAddrChanged(const std::string& sStr);
64  void on_incomingBufferSizeChanged(unsigned value);
65  void on_listenPortChanged(unsigned value);
66  void on_numIncomingBuffersChanged(unsigned value);
67  void on_numOutgoingBuffersChanged(unsigned value);
68  void on_outgoingBufferSizeChanged(unsigned value);
69  void on_packetBufferSizeChanged(unsigned value);
70  void on_sendPortChanged(unsigned value);
71  void on_driverModeChanged(const std::string& mode);
72  void on_transportTypeChanged(int value);
73  void on_driverFrequencyChanged(unsigned int value);
74 
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  QStringList myModelDefinitions;
87  };
88 }
89 
90 #endif
91 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)