VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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/DtVrfTaskSetMenu.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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)