VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationCommandActions.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <vrvCoreQt/DtMenuItem.h>
16 
17 #include <QtWidgets/QAction>
18 
19 class DtSimCommand;
20 
21 namespace makVrf
22 {
23  class DtVrfSimulationCommandMenu;
24  class DtSimCommandObjectWrapper;
25 
27  {
28  Q_OBJECT
29 
30  public:
33 
34  void setParentMenu(DtVrfSimulationCommandMenu* p)
35  {
36  myParentMenu = p;
37  }
38 
40  {
41  return myParentMenu;
42  }
43 
44  void setCommandAction(const std::string& s)
45  {
46  myCommandAction = s;
47  }
48 
49  const std::string& commandAction() const
50  {
51  return myCommandAction;
52  }
53 
54  public:
55  virtual void slot_onSimCommandActivated(const DtSimCommandObjectWrapper&);
56  boost::signal<void (const DtSimCommandObjectWrapper&)> signal_simCommandActivated;
57 
58  protected:
60  std::string myCommandAction;
61  };
62 
65 
67  {
68  Q_OBJECT
69 
70  public:
71  DtVrfSimulationCommand(const std::string&, makVrv::DtDe&);
72  virtual ~DtVrfSimulationCommand();
73 
74  protected:
75  virtual QAction* registerMenuItem(DtVrfSimulationCommandAction* action, const std::string& commandAction);
76  virtual void on_triggered();
77 
78  protected:
80  };
81 
83  {
84  Q_OBJECT
85 
86  public:
87  //CTOR
89 
90  //DTOR
92 
94  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
95  };
96 
98  {
99  Q_OBJECT
100 
101  public:
102  //CTOR
104 
105  //DTOR
106  virtual ~DtSimulationCommandComment();
107 
109  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
110  };
111 
113  {
114  Q_OBJECT
115 
116  public:
117  //CTOR
119 
120  //DTOR
122 
124  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
125  };
126 
128  {
129  Q_OBJECT
130 
131  public:
132  //CTOR
134 
135  //DTOR
137 
139  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
140  };
141 
143  {
144  Q_OBJECT
145 
146  public:
147  //CTOR
149 
150  //DTOR
152 
154  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
155  };
156 
158  {
159  Q_OBJECT
160 
161  public:
162  //CTOR
164 
165  //DTOR
167 
169  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
170  };
171 
173  {
174  Q_OBJECT
175 
176  public:
177  //CTOR
179 
180  //DTOR
181  virtual ~DtSimulationCommandDelete();
182 
184  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
185  };
186 
188  {
189  Q_OBJECT
190 
191  public:
192  //CTOR
194 
195  //DTOR
197 
199  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
200  };
201 
203  {
204  Q_OBJECT
205 
206  public:
207  //CTOR
209 
210  //DTOR
212 
214  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
215  };
216 
218  {
219  Q_OBJECT
220 
221  public:
222  //CTOR
224 
225  //DTOR
227 
229  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
230  };
231 
234  {
235  Q_OBJECT
236 
237  public:
238  //CTOR
240 
241  //DTOR
243 
245  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
246 
249  virtual void on_triggered();
250  };
251 
253  {
254  Q_OBJECT
255 
256  public:
257  //CTOR
259 
260  //DTOR
262 
264  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
265  };
266 
269  {
270  Q_OBJECT
271 
272  public:
273  //CTOR
275 
276  //DTOR
277  virtual ~DtSimulationCommandIssuePlan();
278 
280  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
281  };
282 
284  {
285  public:
286  //CTOR
288 
289  //DTOR
291 
293  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
294  };
295 
297  {
298  public:
299  //CTOR
301 
302  //DTOR
304 
306  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
307  };
308 
310  {
311  public:
312  //CTOR
314 
315  //DTOR
317 
319  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
320  };
321 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)