VR-Forces 4.2 Class Documentation
DtGlobalPlansLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtGlobalPlansLogic.h,v $ $Revision: 1.2 $ $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 DtSimMessage;
27 class DtIfGlobalPlanList;
28 class QString;
29 
30 namespace makVrf
31 {
32  class DtVrfBackendState;
33 
34  class DtGlobalPlansDialogInterface;
35  class DtEditGlobalPlanWidget;
36 
38  {
39  public:
40 
42  DtGlobalPlansLogic(makVrv::DtDe& de, DtGlobalPlansDialogInterface* iface);
43 
45  virtual ~DtGlobalPlansLogic();
46 
47  virtual void requestGlobalPlans();
48  virtual void onSelectedItemsChanged();
49  virtual void deleteSelectedPlan();
50  virtual void editSelectedPlan();
51 
52  virtual void newPlan();
53 
54  protected:
55  virtual void processGlobalPlansResponseCallback(DtSimMessage*);
56 
57  virtual QString uniquePlanName() const;
58 
61  virtual bool newPlanInformation(QString& simAddress, QString& planName);
62 
63  protected:
64  virtual void slot_backendUpdated(const DtVrfBackendState&, int);
65  virtual void slot_onGlobalPlanEditorDeleted(DtEditGlobalPlanWidget*, QString, QString);
66 
67  protected:
68  typedef std::pair<std::string, std::string> DtGlobalPlanInformation;
69  typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation> DtGlobalPlanInformationMap;
70 
71  makVrv::DtDe& myDe;
74  };
75 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)