VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
globalPlansLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <map>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
24 class DtSimMessage;
25 class DtIfGlobalPlanList;
26 class QString;
27 
28 namespace makVrf
29 {
30  class DtVrfBackendState;
31 
32  class DtGlobalPlansDialogInterface;
33  class DtEditGlobalPlanWidget;
34 
36  {
37  public:
38 
41 
43  virtual ~DtGlobalPlansLogic();
44 
45  virtual void requestGlobalPlans();
46  virtual void onSelectedItemsChanged();
47  virtual void deleteSelectedPlan();
48  virtual void editSelectedPlan();
49 
50  virtual void newPlan();
51 
52  protected:
53  virtual void processGlobalPlansResponseCallback(DtSimMessage*);
54 
55  virtual QString uniquePlanName() const;
56 
59  virtual bool newPlanInformation(QString& simAddress, QString& planName);
60  virtual void scenarioRewound();
61  virtual void scenarioClosed();
62  virtual void clearGlobalPlans();
63 
64  protected:
65  virtual void slot_backendUpdated(const DtVrfBackendState&, int);
66  virtual void slot_onGlobalPlanEditorDeleted(DtEditGlobalPlanWidget*, QString, QString);
67 
68  protected:
69  typedef std::pair<std::string, std::string> DtGlobalPlanInformation;
70  typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation> DtGlobalPlanInformationMap;
71 
76  };
77 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)