VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjparam
turretJoyDeviceControllerDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: turretJoystickDesc.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtTurretJoyDeviceControllerDescriptor_H_
16
#define DtTurretJoyDeviceControllerDescriptor_H_
17
18
#include "
vrfobjparam/componentDescriptor.h
"
19
#include "
vrfutil/rwBoolean.h
"
20
#include "
vrfutil/rwInt.h
"
21
24
#include "
vrfobjparam/vrfobjparamDefines.h
"
25
class
DT_DLL_vrfobjparam
DtTurretJoyDeviceControllerDescriptor
:
public
DtComponentDescriptor
26
{
27
public
:
29
DtTurretJoyDeviceControllerDescriptor
(
const
DtString
& name,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
DtTurretJoyDeviceControllerDescriptor
(
const
DtSymbolString& name,
32
DtReaderWriterRegistry
* parentRegistry = NULL);
33
35
virtual
~
DtTurretJoyDeviceControllerDescriptor
();
36
38
DtTurretJoyDeviceControllerDescriptor
(
39
const
DtTurretJoyDeviceControllerDescriptor
& orig,
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtTurretJoyDeviceControllerDescriptor
&
operator=
(
44
const
DtTurretJoyDeviceControllerDescriptor
& orig);
45
46
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
*
47
parentRegistry = NULL)
const
;
48
51
virtual
DtString
type
()
const
;
52
53
56
virtual
int
slewAxis()
const
;
57
virtual
void
setSlewAxis(
int
axis);
59
60
63
virtual
bool
invertSlewAxis()
const
;
64
virtual
void
setInvertSlewAxis(
bool
invert);
66
68
static
DtComponentDescriptor
*
creator
();
69
70
protected
:
72
virtual
void
setDefaults();
73
75
virtual
void
copyValues(
const
DtTurretJoyDeviceControllerDescriptor
& orig);
76
77
protected
:
79
DtTurretJoyDeviceControllerDescriptor
();
80
81
protected
:
82
86
90
DtRwInt
mySlewAxis
;
91
95
DtRwBoolean
myInvertSlewAxis
;
96
98
100
static
const
char
theSlewAxisName[];
101
static
const
char
theInvertSlewAxisName[];
102
};
103
104
#endif
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)