VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
editEntityPlanWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <vlpi/simulationAddress.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21 }
22 
23 #include <vrfplan/plan.h>
24 
26 class DtIfPlan;
27 class QWidget;
28 
29 namespace makVrf
30 {
31  class DtSimCommandObjectWrapper;
32  class DtCommandAssignmentWidgetInterface;
33 
35  {
36  public:
37 
40 
42  virtual ~DtEditEntityPlanWidgetLogic();
43  virtual bool sendPlan(bool reregister = true);
44 
46  virtual void registerPlanCallbacks(const std::vector<DtUUID>& names);
47 
48  protected:
49 
50  virtual void finalizeSetup();
51 
52  virtual void unregisterPlanCallbacks(const std::vector<DtUUID>& names);
53 
55  virtual void requestMultiPlan(const std::vector<DtUUID>& name);
56  virtual void clearPendingPlans();
57 
58  virtual void displayPlan();
59 
60  virtual bool shouldAssignPlan(const DtUUID&) const;
61 
62  virtual void restartPlan();
63  virtual void abandonPlan();
64  virtual bool statementIsEditable(DtSimStatement* stmt) const;
65  virtual bool editPlanStatement(const std::vector<makVrv::DtSimEntry*>&, DtSimStatement* stmt);
66 
67  virtual void processReceiveMultiPlan(DtSimMessage*);
68 
70  virtual void slot_onDialogCreated(QWidget* dlg);
71  virtual void slot_onCommandDialogCreated(DtCommandAssignmentWidgetInterface* dlg);
72  virtual void slot_onCommandDialogDestroyed(DtCommandAssignmentWidgetInterface* dlg);
73 
75  virtual void slot_onEditSetRequest(std::vector<DtUUID> names, const DtSetDataRequest&);
76 
78  virtual void slot_onEditTaskRequest(std::vector<DtUUID> names, const DtSimTask&);
79 
80  virtual void slot_onObjectBeingCreated();
81  virtual void slot_onObjectStoppedBeingCreated();
82 
83  protected:
84  std::vector<DtIfPlan*> myPendingPlans;
85  std::vector<DtUUID> myRequestingMultiPlanFor;
86  };
87 }
class DtIfPlan:
Definition: ifPlan.h:61
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
std::vector< DtUUID > myRequestingMultiPlanFor
Definition: editEntityPlanWidgetLogic.h:85
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: planWidgetInterface.h:38
A widget class for encapsulating radio commands for tasks or sets.
Definition: commandAssignmentWidgetInterface.h:30
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
Definition: editEntityPlanWidgetLogic.h:34
File: simMsg.h.
Definition: simMessage.h:35
std::vector< DtIfPlan * > myPendingPlans
Definition: editEntityPlanWidgetLogic.h:84
class DtIfMultiplePlanResponse:
Definition: ifMultiplePlanResponse.h:32
class DtSimStatement:
Definition: simStatement.h:38
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
Definition: editPlanWidgetLogic.h:33
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:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)