VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simCommandObjectWrapper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
14 
16 #include <vrfutil/rwUUID.h>
17 
18 #include <QtWidgets/QWidget>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtSimEntry;
24  struct DtEntityState;
25  class DtSimObjectEntry;
26 }
27 
28 static const Qt::WindowFlags theSimulationCommandSetCreationFlags =
29  Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint;
30 
31 class QWidget;
32 class DtSimCommand;
33 class DtString;
34 class DtSimStatement;
36 
37 namespace makVrf
38 {
39  class DtSimulationCommandDialogInterface;
40 
41  //* This wrapper MUST be used for all sim commands that take an object. The subclass will be
42  //* implemented by the individual sim command dialogs to appropriately set the object name
43 
45  {
46  public:
49  virtual ~DtSimCommandObjectWrapper();
50 
51  virtual void setObject(const DtUUID&) = 0;
52  virtual DtUUID object() const = 0;
53 
54  virtual DtSimCommandObjectWrapper* clone() const = 0;
55 
57  {
58  return mySimCommand;
59  }
60 
61  const DtSimCommand* simCommand() const
62  {
63  return mySimCommand;
64  }
65 
66  protected:
69  };
70 }
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtSimCommand * mySimCommand
Definition: simCommandObjectWrapper.h:67
DtSimCommand * simCommand()
Definition: simCommandObjectWrapper.h:56
makVrv::DtDe & myDe
Definition: simCommandObjectWrapper.h:68
const DtSimCommand * simCommand() const
Definition: simCommandObjectWrapper.h:61
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
A DtSimCommand subclass which specifies a change to the weather settings for the specified weather ar...
Definition: changeWeatherCommand.h:29
Definition: simCommandObjectWrapper.h:44
static const Qt::WindowFlags theSimulationCommandSetCreationFlags
Definition: simCommandObjectWrapper.h:28
class DtSimStatement:
Definition: simStatement.h:35
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)