VR-Forces Development_Version 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
vrfutil
rwJoystickControls.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrfutil/vrfutilDefines.h
"
18
#include "
vrfutil/rwTemplatedList.h
"
19
#include "
vrfutil/rwString.h
"
20
#include "
vrfutil/rwReal.h
"
21
#include "
vrfutil/rwBoolean.h
"
22
28
class
DT_DLL_vrfutil
DtRwJoystickControl
:
public
DtReaderWriter
29
{
30
public
:
31
33
DtRwJoystickControl
();
34
36
DtRwJoystickControl
(
const
DtString
& name,
37
DtReaderWriterRegistry
* parentRegistry = NULL);
38
39
DtRwJoystickControl
(
const
DtSymbolString
& name,
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtRwJoystickControl
(
const
DtRwJoystickControl
& orig,
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
49
DtRwJoystickControl
&
operator=
(
const
DtRwJoystickControl
& orig);
50
52
virtual
~
DtRwJoystickControl
();
53
55
static
const
char
*
theXmlType
();
56
57
virtual
const
char
*
xmlType
()
const
58
{
59
return
theXmlType
();
60
}
61
62
virtual
void
setFunctionName(
const
DtString
&);
63
virtual
const
DtString
& functionName()
const
;
64
65
virtual
void
setFunctionGroup(
const
DtString
&);
66
virtual
const
DtString
& functionGroup()
const
;
67
68
virtual
void
setDescription(
const
DtString
&);
69
virtual
const
DtString
& description()
const
;
70
71
virtual
void
setMinimumValue(
double
);
72
virtual
double
minimumValue()
const
;
73
74
virtual
void
setMaximumValue(
double
);
75
virtual
double
maximumValue()
const
;
76
77
virtual
void
setCycle(
bool
);
78
virtual
bool
cycle()
const
;
79
80
bool
operator==
(
const
DtRwJoystickControl
&)
const
;
81
bool
operator!=
(
const
DtRwJoystickControl
& rhs) {
return
!(*
this
== rhs); };
82
83
virtual
char
*
encode
(
char
*)
const
;
84
virtual
const
char
*
decode
(
const
char
*);
85
virtual
int
getSize
()
const
;
86
87
protected
:
91
virtual
const
char
*
readerWriterType
()
const
;
92
93
protected
:
94
DtRwString
myFunctionName
;
95
DtRwString
myFunctionGroup
;
96
DtRwString
myDescription
;
97
DtRwReal
myMinimumValue
;
98
DtRwReal
myMaximumValue
;
99
DtRwBoolean
myCycle
;
100
};
101
102
typedef
DtRwTemplatedListPtr<DtRwJoystickControl, true>
DtRwJoystickControls
;
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)