15 #ifndef DtAnalogInputPort_H_
16 #define DtAnalogInputPort_H_
40 virtual double value()
const;
60 virtual void setValue(
double value);
63 virtual double value()
const;
86 virtual void setValue(
double v);
89 virtual double value()
const;
virtual const DtString type() const =0
Override for each derrived class to return a unique type string. This type string is the type of the ...
Instances of DtAnalogPortData are concrete data elements containing a real number that can be exchang...
Definition: analogIOPort.h:69
Contains the DtOutputPort class declaration.
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
virtual void createPortData()=0
Override for each derived class to create and set the internal DtPortData representation.
Instances of DtAnalogOutputPort are input ports through which data producers can send real numbers...
Definition: analogIOPort.h:45
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual const DtString type() const =0
Returns a string type value for this class. Provide a unique string for each DtPortData class...
DtOutputPorts are data ports owned by data producers. They are connected to DtPortConnections and sen...
Definition: outputPort.h:42
double myValue
Definition: analogIOPort.h:95
virtual DtPortData * clone() const =0
Provides a copy of this port data.
DtPortData & operator=(const DtPortData &orig)
Assignment operator.