VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
remappingDialogLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtRemappingDialogLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #pragma once
15 
17 
18 #include <map>
19 #include <string>
20 
21 namespace makVrv
22 {
23  class DtDe;
24 }
25 
26 class DtBackendMap;
27 class QComboBox;
28 class DtSimulationAddress;
29 class QString;
30 
31 namespace makVrf
32 {
33  class DtVrfBackendState;
34  class DtRemappingDialogInterface;
35 
37  {
38  public:
39  //CTOR
41 
42  //DTOR
43  virtual ~DtRemappingDialogLogic();
44 
45  public:
46  virtual void setupGui();
47 
48  virtual int numberToMap() const;
49 
50  virtual void accept();
51 
52  virtual void mapAllComboBoxSelection(const QString& string);
53 
54  protected:
55  virtual void setupBackendMap();
56  virtual void setupBackendComboBoxes();
57 
59  virtual void addAddressToAllComboBoxes(const DtSimulationAddress& address);
60 
62  virtual void removeAddressFromAllComboBoxes(const DtSimulationAddress& address);
63 
64  protected:
65  virtual void backendDiscovered(const DtVrfBackendState&);
66  virtual void backendRemoved(const DtVrfBackendState&);
67 
68  protected:
72 
73  std::map<std::string, QComboBox*> myMapTo;
74  };
75 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)