VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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
Contains class declarations for DtConstrainedDualAxisInputPort and DtConstrainedDualAxisOutputPort.
Definition: constrainedDualAxisAnalogIOPort.h:27
double myMaxXValue
Definition: constrainedDualAxisAnalogIOPort.h:83
Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can ...
Definition: constrainedDualAxisAnalogIOPort.h:61
double myMaxYValue
Definition: constrainedDualAxisAnalogIOPort.h:52
double myMaxXValue
Definition: constrainedDualAxisAnalogIOPort.h:50
double myMaxYValue
Definition: constrainedDualAxisAnalogIOPort.h:85
virtual void receiveData(DtPortData *data)
Overridden from base class for optimization. This function copies the double instead of cloning the p...
This is an abstract base class for all data elements that are passed through ports. Derived types will be such things as DtAnalogPortData which manage a double, or more complex data types such as a target list. Derived types must provide a type() method with a unique type string and a clone() method for copying the data.
Definition: portData.h:25
double myMinYValue
Definition: constrainedDualAxisAnalogIOPort.h:53
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
File: dualAxisAnalogIOPort.h.
Definition: dualAxisAnalogIOPort.h:28
double myMinYValue
Definition: constrainedDualAxisAnalogIOPort.h:86
Definition: dualAxisAnalogIOPort.h:48
double myMinXValue
Definition: constrainedDualAxisAnalogIOPort.h:84
virtual void setYValue(double value)
Sets y value to the port, and sends the data if it is different from the current value.
double myMinXValue
Definition: constrainedDualAxisAnalogIOPort.h:51
virtual void setXValue(double value)
Sets x value to the port, and sends the data if it is different from the current value.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)