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
vrfmodel
fixedWingJoyFlightController.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/fixedWingPilotController.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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)