VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtConstrainedDualAxisAnalogOutputPort Class Reference

Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can send information values from a device such as a joystick that has two axes of motion. More...

Inheritance diagram for DtConstrainedDualAxisAnalogOutputPort:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtConstrainedDualAxisAnalogOutputPort (const DtString &portName)
virtual ~DtConstrainedDualAxisAnalogOutputPort ()
virtual void setMinXValue (double minVal)
virtual double minXValue () const
virtual void setMaxXValue (double maxVal)
virtual double maxXValue () const
virtual void setMinYValue (double minVal)
virtual double minYValue () const
virtual void setMaxYValue (double maxVal)
virtual double maxYValue () const
void setXValue (double value)
 Sets x value to the port, and sends the data if it is different from the current value.
void setYValue (double value)
 Sets y value to the port, and sends the data if it is different from the current value.

Protected Attributes

double myMaxXValue
double myMinXValue
double myMaxYValue
double myMinYValue

Detailed Description

Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can send information values from a device such as a joystick that has two axes of motion.

It represents this by creating two DtConstrainedAnalogPorts called myXValue and myYValue. Both are constrained to the range -1.0 to 1.0 by default.


Constructor & Destructor Documentation


Member Function Documentation

virtual void DtConstrainedDualAxisAnalogOutputPort::setMinXValue ( double  minVal) [virtual]
virtual double DtConstrainedDualAxisAnalogOutputPort::minXValue ( ) const [virtual]
virtual void DtConstrainedDualAxisAnalogOutputPort::setMaxXValue ( double  maxVal) [virtual]
virtual double DtConstrainedDualAxisAnalogOutputPort::maxXValue ( ) const [virtual]
virtual void DtConstrainedDualAxisAnalogOutputPort::setMinYValue ( double  minVal) [virtual]
virtual double DtConstrainedDualAxisAnalogOutputPort::minYValue ( ) const [virtual]
virtual void DtConstrainedDualAxisAnalogOutputPort::setMaxYValue ( double  maxVal) [virtual]
virtual double DtConstrainedDualAxisAnalogOutputPort::maxYValue ( ) const [virtual]
void DtConstrainedDualAxisAnalogOutputPort::setXValue ( double  value) [virtual]

Sets x value to the port, and sends the data if it is different from the current value.

Reimplemented from DtDualAxisAnalogOutputPort.

void DtConstrainedDualAxisAnalogOutputPort::setYValue ( double  value) [virtual]

Sets y value to the port, and sends the data if it is different from the current value.

Reimplemented from DtDualAxisAnalogOutputPort.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)