VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
fixWingJoyCtl.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfmodel/fixWngPltCtl.h
"
15
#include "
vrfobjcore/simRadio.h
"
16
17
class
DtString
;
18
class
DtSimManager
;
19
class
DtFixedWingJoyDeviceControllerDescriptor
;
20
class
DtJoyDevice;
21
22
27
#include "
vrfmodel/vrfmodelDefines.h
"
28
class
DT_DLL_vrfmodel
DtFixedWingJoyFlightController
:
public
DtFixedWingPilotController
29
{
30
31
public
:
32
35
DtFixedWingJoyFlightController
(
const
DtString
& name,
36
DtVrfObject
* owner,
37
DtSimManager
* simManager,
38
DtComponentDescriptor
* desc = 0,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
virtual
~
DtFixedWingJoyFlightController
();
43
45
virtual
void
setComponentDescriptor
(
DtComponentDescriptor
*descriptor);
46
48
virtual
void
tick
();
49
52
virtual
DtString
type
()
const
;
53
54
static
void
setJoyDeviceSwitchCallbacks(
DtSimMessage
* msg,
void
* usrData);
55
56
virtual
void
processSetJoyDeviceSwitch(
DtSimMessage
* msg);
57
58
virtual
void
calcAndSetPortValues();
59
60
virtual
bool
joystickEnabled()
const
;
61
65
static
DtSimComponent
*
creator
(
const
DtString
& name,
66
DtVrfObject
* owner,
67
DtSimManager
* simManager,
68
DtComponentDescriptor
* desc = 0,
69
DtReaderWriterRegistry
* parentRegistry = 0);
70
71
protected
:
72
74
DtFixedWingJoyFlightController
();
75
77
DtFixedWingJoyFlightController
(
78
const
DtFixedWingJoyFlightController
& orig);
79
81
DtFixedWingJoyFlightController
&
operator=
(
82
const
DtFixedWingJoyFlightController
& orig);
83
85
virtual
void
initializeJoyDevice();
86
88
virtual
void
setRadio
(
DtSimRadio
* radio);
89
90
protected
:
91
92
const
DtFixedWingJoyDeviceControllerDescriptor
*
93
myJoyDeviceControllerDescriptor
;
94
bool
myJoystickEnabled
;
95
DtJoyDevice *
myJoyDevice
;
96
bool
myInitialized
;
97
98
};
99
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)