VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
conDualAxisAnalogIOPort.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: conDualAxisAnalogIOPort.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtConstrainedDualAxisInputPort_H_
16
#define DtConstrainedDualAxisInputPort_H_
17
18
#include "
vrfobjcore/dualAxisAnalogIOPort.h
"
19
#include "
vrfobjcore/portData.h
"
20
26
#include "
vrfobjcore/vrfobjcoreDefines.h
"
27
class
DT_DLL_vrfobjcore
DtConstrainedDualAxisAnalogInputPort
:
public
DtDualAxisAnalogInputPort
28
{
29
public
:
30
DtConstrainedDualAxisAnalogInputPort
(
const
DtString
& portName);
31
virtual
~
DtConstrainedDualAxisAnalogInputPort
();
32
35
virtual
void
receiveData
(
DtPortData
* data);
36
37
virtual
void
setMinXValue(
double
minVal);
38
virtual
double
minXValue()
const
;
39
40
virtual
void
setMaxXValue(
double
maxVal);
41
virtual
double
maxXValue()
const
;
42
43
virtual
void
setMinYValue(
double
minVal);
44
virtual
double
minYValue()
const
;
45
46
virtual
void
setMaxYValue(
double
maxVal);
47
virtual
double
maxYValue()
const
;
48
49
protected
:
50
double
myMaxXValue
;
51
double
myMinXValue
;
52
double
myMaxYValue
;
53
double
myMinYValue
;
54
};
55
61
class
DT_DLL_vrfobjcore
DtConstrainedDualAxisAnalogOutputPort
:
public
DtDualAxisAnalogOutputPort
62
{
63
public
:
64
DtConstrainedDualAxisAnalogOutputPort
(
const
DtString
& portName);
65
virtual
~
DtConstrainedDualAxisAnalogOutputPort
();
66
67
virtual
void
setMinXValue(
double
minVal);
68
virtual
double
minXValue()
const
;
69
70
virtual
void
setMaxXValue(
double
maxVal);
71
virtual
double
maxXValue()
const
;
72
73
virtual
void
setMinYValue(
double
minVal);
74
virtual
double
minYValue()
const
;
75
76
virtual
void
setMaxYValue(
double
maxVal);
77
virtual
double
maxYValue()
const
;
78
79
void
setXValue
(
double
value);
80
void
setYValue
(
double
value);
81
82
protected
:
83
double
myMaxXValue
;
84
double
myMinXValue
;
85
double
myMaxYValue
;
86
double
myMinYValue
;
87
};
88
89
#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
)