VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtGlobalPlansLogic.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtGlobalPlansLogic.h,v $ $Revision: 1.2 $ $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 DtSimMessage;
00027 class DtIfGlobalPlanList;
00028 class QString;
00029 
00030 namespace makVrf
00031 {
00032    class DtVrfBackendState;
00033 
00034    class DtGlobalPlansDialogInterface;
00035    class DtEditGlobalPlanWidget;
00036 
00037    class DT_DLL_VRFGUICOREQT DtGlobalPlansLogic
00038    {
00039    public:
00040 
00042       DtGlobalPlansLogic(makVrv::DtDe& de, DtGlobalPlansDialogInterface* iface);
00043 
00045       virtual ~DtGlobalPlansLogic();
00046 
00047       virtual void requestGlobalPlans();
00048       virtual void onSelectedItemsChanged();
00049       virtual void deleteSelectedPlan();
00050       virtual void editSelectedPlan();
00051 
00052       virtual void newPlan();
00053 
00054    protected:
00055       virtual void processGlobalPlansResponseCallback(DtSimMessage*);
00056 
00057       virtual QString uniquePlanName() const;
00058 
00061       virtual bool newPlanInformation(QString& simAddress, QString& planName);
00062 
00063    protected:
00064       virtual void slot_backendUpdated(const DtVrfBackendState&, int);
00065       virtual void slot_onGlobalPlanEditorDeleted(DtEditGlobalPlanWidget*, QString, QString);
00066 
00067    protected:
00068       typedef std::pair<std::string, std::string>  DtGlobalPlanInformation;
00069       typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation>  DtGlobalPlanInformationMap;
00070 
00071       makVrv::DtDe&                                   myDe;
00072       DtGlobalPlansDialogInterface*                   myInterface;
00073       DtGlobalPlanInformationMap                      myEditing;
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)