VR-Forces 5.0.2 Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
examples
addSet
addSetGui
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
8
#include <
vrfGuiTaskSetQt/vrfTaskSetAction.h
>
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
{
22
class
DtSetSpeedAndHeadingMenuItem
:
public
makVrf::DtVrfTaskSetMenuItem
23
{
24
public
:
25
//\brief: CTOR
26
DtSetSpeedAndHeadingMenuItem
(
makVrv::DtDe
& de);
27
28
//DTOR
29
virtual
~DtSetSpeedAndHeadingMenuItem
();
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
vrfAddSetExample::DtSetSpeedAndHeadingMenuItem::createAction
virtual QAction * createAction(makVrv::DtDe &, QWidget *parent)
Build a menu item (via an action).
vrfAddSetExample::DtSetSpeedAndHeadingMenuItem::myId
int myId
Definition:
DtSetSpeedAndHeadingMenuItem.h:35
vrfTaskSetAction.h
vrfAddSetExample::DtSetSpeedAndHeadingMenuItem::DtSetSpeedAndHeadingMenuItem
DtSetSpeedAndHeadingMenuItem(makVrv::DtDe &de)
vrfAddSetExample::DtSetSpeedAndHeadingMenuItem::~DtSetSpeedAndHeadingMenuItem
virtual ~DtSetSpeedAndHeadingMenuItem()
makVrv::DtDe
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
QAction
vrfAddSetExample::DtSetSpeedAndHeadingMenuItem
Definition:
DtSetSpeedAndHeadingMenuItem.h:22
makVrf::DtVrfTaskSetMenuItem
Contains makVrf::DtTaskSetMenu, makVrf::DtVrfTaskSetAction, and makVrf::DtTaskSetMenuItem class...
Definition:
vrfTaskSetAction.h:37
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
)