VR-Forces 5.0.2 Developer's Guide
 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 
14 #include <vrfutil/rwUUID.h>
15 
16 #include <QtWidgets/QWidget>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtSimEntry;
22  struct DtEntityState;
23  class DtSimObjectEntry;
24 }
25 
26 static const Qt::WindowFlags theSimulationCommandSetCreationFlags =
27  Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint;
28 
29 class QWidget;
30 class DtSimCommand;
31 class DtString;
32 class DtSimStatement;
34 
35 namespace makVrf
36 {
37  class DtSimulationCommandDialogInterface;
38 
39  //* This wrapper MUST be used for all sim commands that take an object. The subclass will be
40  //* implemented by the individual sim command dialogs to appropriately set the object name
41 
43  {
44  public:
47  virtual ~DtSimCommandObjectWrapper();
48 
49  virtual void setObject(const DtUUID&) = 0;
50  virtual DtUUID object() const = 0;
51 
52  virtual DtSimCommandObjectWrapper* clone() const = 0;
53 
55  {
56  return mySimCommand;
57  }
58 
59  const DtSimCommand* simCommand() const
60  {
61  return mySimCommand;
62  }
63 
64  protected:
67  };
68 }
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
DtSimCommand * mySimCommand
Definition: simCommandObjectWrapper.h:65
DtSimCommand * simCommand()
Definition: simCommandObjectWrapper.h:54
makVrv::DtDe & myDe
Definition: simCommandObjectWrapper.h:66
Contains the DtUUID class declaration.
const DtSimCommand * simCommand() const
Definition: simCommandObjectWrapper.h:59
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
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:42
static const Qt::WindowFlags theSimulationCommandSetCreationFlags
Definition: simCommandObjectWrapper.h:26
class DtSimStatement:
Definition: simStatement.h:38
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
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

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)