VR-Forces 4.2 Class Documentation
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 
20 
28 {
29 public:
30  DtConstrainedAnalogInputPort(const DtString& portName);
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 
55 {
56 public:
57  DtConstrainedAnalogOutputPort(const DtString& portName);
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)