MAK RTIspy API Documentation for HLA Evolved
addConnectionDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #ifndef addConnectionDialog_H_
7 #define addConnectionDialog_H_
8 
11 
12 #include "rtiMsConfig.h"
13 #include <qdialog.h>
14 #include <map>
15 
17 
18 typedef std::list<std::pair<QString, QString> > DtHostInterfaceAddrList;
19 
23 {
24  Q_OBJECT
25 
26 public:
27 
29  DtAssistantAddConnDialog( DtAssistantConnQueryWidget* parent, Qt::WindowFlags f=0 );
30 
32  virtual ~DtAssistantAddConnDialog();
33 
34 protected:
35 
38  virtual bool getDefaultRtiexecConnName(QString& name, const QString& host);
39 
42  virtual bool getDefaultLightweightConnName(QString& name);
43 
44 
45 public slots:
46 
49  virtual void enableDefaultConnName();
50 
53  virtual void disableDefaultConnName();
54 
57  void storeNextDefaultConnNum();
58 
61  void clearDefaultConnNum();
62 
64  virtual bool isLoopbackAddress(const QString& address) const;
65 
67  virtual bool isIpv6Address(const QString& address) const;
68 
71  virtual bool isLoopbackDestination(const QString& address) const;
72 
73 protected:
74 
77 
81 
84  std::map<QString, unsigned> myNextDefaultConnNum;
85 
87  unsigned myDefaultConnNum;
88 
91 
93 
94  static const QString theDefaultIpv4LoopbackMcastAddr;
95  static const QString theDefaultIpv4NonLoopbackMcastAddr;
96  static const QString theDefaultIpv6LoopbackMcastAddr;
97  static const QString theDefaultIpv6NonLoopbackMcastAddr;
99 };
100 
101 
102 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)