VR-Forces 4.3.1 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) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <vrvCoreQt/DtMenuItem.h>
16 
17 #include <QtGui/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 
204  {
205  Q_OBJECT
206 
207  public:
208  //CTOR
210 
211  //DTOR
213 
215  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
216 
219  virtual void on_triggered();
220  };
221 
223  {
224  Q_OBJECT
225 
226  public:
227  //CTOR
229 
230  //DTOR
232 
234  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
235  };
236 
239  {
240  Q_OBJECT
241 
242  public:
243  //CTOR
245 
246  //DTOR
247  virtual ~DtSimulationCommandIssuePlan();
248 
250  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
251  };
252 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)