VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSetSpeedAndHeadingMenuItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
9 
10 //class DtSetSpeedAndHeadingMenuItem:
11 
12 //Instances of DtSetSpeedAndHeading are an example of a new kind of set that
13 //tells an entity to set their current speed and heading.
14 
15 //As per the the VR Forces GUI architecture (see the BRFFrontEndDevelopersGuide,
16 //chapter 3 and especially 3.1), the DtSetSpeedAndHeadingMenuItem provides the
17 //necessary structure for a DtMenuItem as used by the DtMenuItemBuilder.
18 
19 
20 namespace vrfAddSetExample
21 {
23  {
24  public:
25  //\brief: CTOR
27 
28  //DTOR
30 
31  //Build a menu item (via an action).
32  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
33 
34  protected:
35  int myId;
36  };
37 }
38 
virtual QAction * createAction(makVrv::DtDe &, QWidget *parent)
Build a menu item (via an action).
int myId
Definition: DtSetSpeedAndHeadingMenuItem.h:35
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Definition: DtSetSpeedAndHeadingMenuItem.h:22
Contains makVrf::DtTaskSetMenu, makVrf::DtVrfTaskSetAction, and makVrf::DtTaskSetMenuItem class...
Definition: vrfTaskSetAction.h:35

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)