VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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(int flags);
75 
76  protected:
77  typedef std::pair<DtUUID, DtSimulationAddress> DtGlobalPlanInformation;
78  typedef std::map<DtEditGlobalPlanWidget*, DtGlobalPlanInformation> DtGlobalPlanInformationMap;
79 
86  };
87 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
std::map< DtEditGlobalPlanWidget *, DtGlobalPlanInformation > DtGlobalPlanInformationMap
Definition: globalPlansLogic.h:78
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
makVrv::DtSignalConnectionManager myGlobalPlanEditingConnections
Definition: globalPlansLogic.h:85
Definition: globalPlansLogic.h:39
Definition: globalPlansDialogInterface.h:27
DtUUID myAddingPlanUUID
Definition: globalPlansLogic.h:84
Contains the DtUUID class declaration.
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
std::map< makVrv::DtUniqueID, GlobalPlanWithState > GlobalPlanInformation
Definition: vrfGlobalPlansManager.h:69
Contains makVrf:DtSharedVrfVrlApplicationSettings class. This class will share settings between the d...
File: simMsg.h.
Definition: simMessage.h:35
DtGlobalPlanInformationMap myEditing
Definition: globalPlansLogic.h:82
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
EntityStates
Definition: sharedVrfVrlApplicationSettings.h:30
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
makVrv::DtDe & myDe
Definition: globalPlansLogic.h:80
Base class to provide boost signal/slot management.
DtGlobalPlansDialogInterface * myInterface
Definition: globalPlansLogic.h:81
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Definition: editGlobalPlanWidget.h:26
std::pair< DtUUID, DtSimulationAddress > DtGlobalPlanInformation
Definition: globalPlansLogic.h:77
Interface content containing the list of global plan names from a single simulation engine...
Definition: ifGlobalPlanList.h:21
makVrv::DtSignalConnectionManager myConnections
Definition: globalPlansLogic.h:83

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)