VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
balGunJoyCtlDesc.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: balGunJoyCtlDesc.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtBallisticGunJoyControllerDescriptor_H_
16
#define DtBallisticGunJoyControllerDescriptor_H_
17
18
#include "
vrfobjparam/balGunCtlDesc.h
"
19
#include "
vrfutil/rwBoolean.h
"
20
#include "
vrfutil/rwInt.h
"
21
25
#include "
vrfobjparam/vrfobjparamDefines.h
"
26
class
DT_DLL_vrfobjparam
DtBallisticGunJoyControllerDescriptor
:
public
DtBallisticGunControllerDescriptor
27
{
28
public
:
30
DtBallisticGunJoyControllerDescriptor
(
const
DtString
& name,
31
DtReaderWriterRegistry
* parentRegistry = NULL);
32
34
DtBallisticGunJoyControllerDescriptor
(
const
DtSymbolString& name,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
virtual
~
DtBallisticGunJoyControllerDescriptor
();
39
41
DtBallisticGunJoyControllerDescriptor
(
42
const
DtBallisticGunJoyControllerDescriptor
& orig,
43
DtReaderWriterRegistry
* parentRegistry = NULL);
44
46
DtBallisticGunJoyControllerDescriptor
&
operator=
(
47
const
DtBallisticGunJoyControllerDescriptor
& orig);
48
49
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
*
50
parentRegistry = NULL)
const
;
51
54
virtual
DtString
type
()
const
;
55
58
virtual
int
fireButton()
const
;
59
virtual
void
setFireButton(
int
button);
61
64
virtual
int
changeAmmoButton()
const
;
65
virtual
void
setChangeAmmoButton(
int
button);
67
70
virtual
int
elevationAxis()
const
;
71
virtual
void
setElevationAxis(
int
axis);
73
76
virtual
bool
invertElevationAxis()
const
;
77
virtual
void
setInvertElevationAxis(
bool
invert);
79
81
static
DtComponentDescriptor
*
creator
();
82
83
protected
:
85
virtual
void
setDefaults();
86
88
virtual
void
copyValues(
const
DtBallisticGunJoyControllerDescriptor
& orig);
89
90
protected
:
92
DtBallisticGunJoyControllerDescriptor
();
93
94
protected
:
98
102
DtRwInt
myFireButton
;
103
107
DtRwInt
myChangeAmmoButton
;
108
112
DtRwInt
myElevationAxis
;
113
117
DtRwBoolean
myInvertElevationAxis
;
118
120
123
static
const
char
theFireButtonName[];
124
static
const
char
theChangeAmmoButtonName[];
125
static
const
char
theElevationAxisName[];
126
static
const
char
theInvertElevationAxisName[];
128
};
129
130
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)