VR-Forces 4.5 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  virtual void showGlobalPlan(makVrv::DtUniqueID id, std::string showValue);
57 
58  protected:
59  virtual QString uniquePlanName() const;
60  virtual void clearGlobalPlans();
61 
64  virtual bool newPlanInformation(QString& simAddress, QString& planName);
65  virtual void slot_onGlobalPlanEditorDeleted(DtEditGlobalPlanWidget*, DtUUID, DtSimulationAddress);
66 
67  virtual void slot_receivedGlobalPlans(const DtVrfGlobalPlansManager::GlobalPlanInformation&,
68  const std::string&);
69 
70  virtual void editGlobalPlan(DtUUID, DtSimulationAddress);
71  virtual void entityStateChanged(makVrv::DtElementID id, DtSharedVrfVrlApplicationSettings::EntityStates s, bool b);
72  virtual void setShowObjectConsoleWarning(bool);
73 
74  virtual void slot_checkSelectedBackend();
75 
76  protected:
77  typedef std::pair<DtUUID, DtSimulationAddress> DtGlobalPlanInformation;
78  typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation> DtGlobalPlanInformationMap;
79 
86  };
87 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)