VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
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
** $RCSfile: DtSetSpeedAndHeadingMenuItem.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
//\file DtSetSpeedAndHeadingMenuItem.h
9
10
#pragma once
11
12
#include <
vrfGuiCoreQt/vrfTaskSetMenu.h
>
13
14
//class DtSetSpeedAndHeadingMenuItem:
15
16
//Instances of DtSetSpeedAndHeading are an example of a new kind of set that
17
//tells an entity to set their current speed and heading.
18
19
//As per the the VR Forces GUI architecture (see the BRFFrontEndDevelopersGuide,
20
//chapter 3 and especially 3.1), the DtSetSpeedAndHeadingMenuItem provides the
21
//necessary structure for a DtMenuItem as used by the DtMenuItemBuilder.
22
23
24
namespace
vrfAddSetExample
25
{
26
class
DtSetSpeedAndHeadingMenuItem
:
public
makVrf::DtVrfTaskSetMenuItem
27
{
28
public
:
29
//\brief: CTOR
30
DtSetSpeedAndHeadingMenuItem
(
makVrv::DtDe
& de);
31
32
//DTOR
33
virtual
~DtSetSpeedAndHeadingMenuItem
();
34
35
//Build a menu item (via an action).
36
virtual
QAction
*
createAction
(
makVrv::DtDe
&, QWidget* parent);
37
38
protected
:
39
int
myId
;
40
};
41
}
42
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
)