VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCigiConnectionInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtCigiConnectionInterface.h,v $ $Revision: 1.9 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtCigiConnectionInterface_H_
14 #define DtCigiConnectionInterface_H_
15 
16 #include <vrvCigiQt/vrvCigiQt.h>
17 
18 namespace makVrv
19 {
20  class DtCigiConnectionInitializer;
21 
25  {
26  public:
27  virtual ~DtCigiConnectionInterface();
28 
30  {
35  end_ConnectionStatus
36  };
37 
39  virtual void setConnectionStatus(ConnectionStatus status) = 0;
40 
42  virtual void setAutoConnectEnabled(bool enabled) = 0;
43 
45  virtual void setCigiVersion( const std::string& version ) = 0;
46 
48  virtual void setCigiMappingsName(const std::string& name) = 0;
49 
51  virtual void setDeviceIpAddress( const std::string& address) = 0;
52 
54  virtual void setDeviceIpAddresses( const std::vector<std::string>& address) = 0;
55 
57  virtual void setHostIpAddress( const std::string& address) = 0;
58 
60  virtual void setIncomingBufferSize(unsigned nSize) = 0;
61 
63  virtual void setListenPort(unsigned port) = 0;
64 
66  virtual void setNumIncomingBuffers(unsigned nNum) = 0;
67 
69  virtual void setNumOutgoingBuffers(unsigned nNum) = 0;
70 
72  virtual void setOutgoingBufferSize(unsigned nSize) = 0;
73 
75  virtual void setPacketBufferSize( unsigned nSize ) = 0;
76 
78  virtual void setSendPort(unsigned port) = 0;
79 
81  virtual void setDriverMode(const std::string& mode) = 0;
82 
84  virtual void setTransportType(int transportType) = 0;
85 
87  virtual void setDriverFrequency(unsigned int hertz) = 0;
88 
89  boost::signal<void (const std::string&)> signal_currentConnectionChanged;
90 
91  boost::signal<void ()> signal_connect;
92  boost::signal<void ()> signal_disconnect;
93 
94  boost::signal<void (const std::string&)> signal_cigiVersionChanged;
95  boost::signal<void (const std::string&)> signal_entityMappingNameChanged;
96  boost::signal<void (const std::string&)> signal_hostIpChanged;
97  boost::signal<void (const std::string&)> signal_deviceAddrChanged;
98  boost::signal<void (unsigned)> signal_incomingBufferSizeChanged;
99  boost::signal<void (unsigned)> signal_listenPortChanged;
100  boost::signal<void (unsigned)> signal_numIncomingBuffersChanged;
101  boost::signal<void (unsigned)> signal_outgoingBufferSizeChanged;
102  boost::signal<void (unsigned)> signal_numOutgoingBuffersChanged;
103  boost::signal<void (unsigned)> signal_packetBufferSizeChanged;
104  boost::signal<void (unsigned)> signal_sendPortChanged;
105  boost::signal<void (const std::string&)> signal_driverModeChanged;
106  boost::signal<void (int)> signal_tranportTypeChanged;
107  boost::signal<void (unsigned int)> signal_driverFrequencyChanged;
108 
109  boost::signal<void ()> signal_makeAutoConnect;
110  };
111 
112 }
113 
114 #endif
115 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)