VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
166  virtual ~DtSimulationCommandDelete();
167 
169  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
170  };
171 
173  {
174  Q_OBJECT
175 
176  public:
177  //CTOR
179 
180  //DTOR
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 
219  {
220  Q_OBJECT
221 
222  public:
223  //CTOR
225 
226  //DTOR
228 
230  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
231 
234  virtual void on_triggered();
235  };
236 
238  {
239  Q_OBJECT
240 
241  public:
242  //CTOR
244 
245  //DTOR
247 
249  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
250  };
251 
254  {
255  Q_OBJECT
256 
257  public:
258  //CTOR
260 
261  //DTOR
262  virtual ~DtSimulationCommandIssuePlan();
263 
265  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
266  };
267 
269  {
270  public:
271  //CTOR
273 
274  //DTOR
276 
278  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
279  };
280 
282  {
283  public:
284  //CTOR
286 
287  //DTOR
289 
291  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
292  };
293 
295  {
296  public:
297  //CTOR
299 
300  //DTOR
302 
304  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
305  };
306 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)