VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
conIntegerIOPort.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: conIntegerIOPort.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtConstrainedInegerInputPort_H_
16
#define DtConstrainedInegerInputPort_H_
17
18
19
#include "
vrfobjcore/integerIOPort.h
"
20
25
#include "
vrfobjcore/vrfobjcoreDefines.h
"
26
class
DT_DLL_vrfobjcore
DtConstrainedIntegerInputPort
:
public
DtIntegerInputPort
27
{
28
public
:
29
DtConstrainedIntegerInputPort
(
const
DtString
& portName);
30
virtual
~
DtConstrainedIntegerInputPort
();
31
34
virtual
void
receiveData
(
DtPortData
* data);
35
37
virtual
void
setMinValue(
int
minVal);
38
virtual
int
minValue()
const
;
39
40
virtual
void
setMaxValue(
int
maxVal);
41
virtual
int
maxValue()
const
;
42
43
protected
:
44
int
myMaxValue
;
45
int
myMinValue
;
46
};
47
53
class
DT_DLL_vrfobjcore
DtConstrainedIntegerOutputPort
:
public
DtIntegerOutputPort
54
{
55
public
:
56
DtConstrainedIntegerOutputPort
(
const
DtString
& portName);
57
virtual
~
DtConstrainedIntegerOutputPort
();
58
60
virtual
void
setValue
(
int
value);
61
63
virtual
void
setMinValue(
int
minVal);
64
virtual
int
minValue()
const
;
65
66
virtual
void
setMaxValue(
int
maxVal);
67
virtual
int
maxValue()
const
;
68
69
protected
:
70
int
myMaxValue
;
71
int
myMinValue
;
72
};
73
74
#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
)