VR-Forces Development_Version 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) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrfutil/rwUUID.h>
17 #include <vlpi/simulationAddress.h>
19 
20 #include <map>
21 #include <string>
22 
23 namespace makVrv
24 {
25  class DtDe;
26 }
27 
28 class DtSimMessage;
29 class DtIfGlobalPlanList;
30 class QString;
31 
32 namespace makVrf
33 {
34  class DtVrfBackendState;
35 
36  class DtGlobalPlansDialogInterface;
37  class DtEditGlobalPlanWidget;
38 
40  {
41  public:
42 
45 
47  virtual ~DtGlobalPlansLogic();
48 
49  virtual void onSelectedItemsChanged();
50  virtual void deleteSelectedPlan();
51  virtual void showInformationForSelectedPlan();
52  virtual void editSelectedPlan();
53  virtual void launchSelectedPlan();
54 
55  virtual void newPlan();
56 
57  protected:
58  virtual QString uniquePlanName() const;
59  virtual void clearGlobalPlans();
60 
63  virtual bool newPlanInformation(QString& simAddress, QString& planName);
64  virtual void slot_onGlobalPlanEditorDeleted(DtEditGlobalPlanWidget*, DtUUID, DtSimulationAddress);
65 
66  virtual void slot_receivedGlobalPlans(const DtVrfGlobalPlansManager::GlobalPlanInformation&,
67  const std::string&);
68 
69  virtual void editGlobalPlan(DtUUID, DtSimulationAddress);
70  virtual void entityStateChanged(makVrv::DtElementID id, DtSharedVrfVrlApplicationSettings::EntityStates s, bool b);
71  virtual void setShowObjectConsoleWarning(bool);
72 
73  protected:
74  typedef std::pair<DtUUID, DtSimulationAddress> DtGlobalPlanInformation;
75  typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation> DtGlobalPlanInformationMap;
76 
83  };
84 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)