VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
conAnalogIOPort.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: conAnalogIOPort.h,v $ $Revision: 1.4 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtConstrainedAnalogInputPort_H_
16
#define DtConstrainedAnalogInputPort_H_
17
18
19
#include "
vrfobjcore/analogIOPort.h
"
20
26
#include "
vrfobjcore/vrfobjcoreDefines.h
"
27
class
DT_DLL_vrfobjcore
DtConstrainedAnalogInputPort
:
public
DtAnalogInputPort
28
{
29
public
:
30
DtConstrainedAnalogInputPort
(
const
DtString
& portName);
31
virtual
~
DtConstrainedAnalogInputPort
();
32
35
virtual
void
receiveData
(
DtPortData
* data);
36
38
virtual
void
setMinValue(
double
minVal);
39
virtual
double
minValue()
const
;
40
41
virtual
void
setMaxValue(
double
maxVal);
42
virtual
double
maxValue()
const
;
43
44
protected
:
45
double
myMaxValue
;
46
double
myMinValue
;
47
};
48
54
class
DT_DLL_vrfobjcore
DtConstrainedAnalogOutputPort
:
public
DtAnalogOutputPort
55
{
56
public
:
57
DtConstrainedAnalogOutputPort
(
const
DtString
& portName);
58
virtual
~
DtConstrainedAnalogOutputPort
();
59
63
virtual
void
setValue
(
double
value);
64
67
virtual
void
setMinValue(
double
minVal);
68
virtual
double
minValue()
const
;
69
virtual
void
setMaxValue(
double
maxVal);
70
virtual
double
maxValue()
const
;
72
73
protected
:
74
double
myMaxValue
;
75
double
myMinValue
;
76
};
77
78
#endif
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
)