MAK RTIspy API Documentation for HLA 1.3
addConnectionDialog.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #ifndef addConnectionDialog_H_
00007 #define addConnectionDialog_H_
00008 
00011 
00012 #include "rtiMsConfig.h"
00013 #include <qdialog.h>
00014 #include <map>
00015 
00016 class DtAssistantConnQueryWidget;
00017 
00018 typedef std::list<std::pair<QString, QString> > DtHostInterfaceAddrList;
00019 
00022 class DT_DLL_ASSISTANTAPP DtAssistantAddConnDialog : public QDialog
00023 {
00024    Q_OBJECT
00025 
00026 public:
00027 
00029    DtAssistantAddConnDialog( DtAssistantConnQueryWidget* parent, Qt::WindowFlags f=0 );
00030 
00032    virtual ~DtAssistantAddConnDialog();
00033 
00034 protected:
00035 
00038    virtual bool getDefaultRtiexecConnName(QString& name, const QString& host);
00039 
00042    virtual bool getDefaultLightweightConnName(QString& name);
00043 
00044 
00045 public slots:
00046 
00049    virtual void enableDefaultConnName();
00050 
00053    virtual void disableDefaultConnName();
00054 
00057    void storeNextDefaultConnNum();
00058 
00061    void clearDefaultConnNum();
00062 
00063 protected:
00064 
00066    DtAssistantConnQueryWidget* myParent;
00067 
00070    bool myUseDefaultConnName;
00071 
00074    std::map<QString, unsigned> myNextDefaultConnNum;
00075 
00077    unsigned myDefaultConnNum;
00078 
00080    QString myDefaultConnName;
00081 };
00082 
00083 
00084 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)