VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtRemappingDialogLogic.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtRemappingDialogLogic.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 
00018 #include <map>
00019 #include <string>
00020 
00021 namespace makVrv
00022 {
00023    class DtDe;
00024 }
00025 
00026 class DtBackendMap;
00027 class QComboBox;
00028 class DtSimulationAddress;
00029 class QString;
00030 
00031 namespace makVrf
00032 {
00033    class DtVrfBackendState;
00034    class DtRemappingDialogInterface;
00035 
00036    class DT_DLL_VRFGUICOREQT DtRemappingDialogLogic
00037    {
00038    public:
00039       //CTOR
00040       DtRemappingDialogLogic(makVrv::DtDe& de, DtRemappingDialogInterface*, DtBackendMap*);
00041 
00042       //DTOR
00043       virtual ~DtRemappingDialogLogic();
00044 
00045    public:
00046       virtual void setupGui();
00047 
00048       virtual int numberToMap() const;
00049 
00050       virtual void accept();
00051 
00052       virtual void mapAllComboBoxSelection(const QString& string);
00053 
00054    protected:
00055       virtual void setupBackendMap();
00056       virtual void setupBackendComboBoxes();
00057 
00059       virtual void addAddressToAllComboBoxes(const DtSimulationAddress& address);   
00060 
00062       virtual void removeAddressFromAllComboBoxes(const DtSimulationAddress& address);
00063 
00064    protected:
00065       virtual void backendDiscovered(const DtVrfBackendState&);
00066       virtual void backendRemoved(const DtVrfBackendState&);
00067 
00068    protected:
00069       makVrv::DtDe&  myDe;
00070       DtRemappingDialogInterface*   myInterface;
00071       DtBackendMap*                 myBackendMap;
00072 
00073       std::map<std::string, QComboBox*>       myMapTo;
00074    };
00075 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)