VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
constrainedDualAxisAnalogIOPort.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 
19 #include "vrfobjcore/portData.h"
20 
28 {
29 public:
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 
62 {
63 public:
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)