![]() |
VR-Forces 4.0.4 Class Documentation
|
Contains class declarations for DtIntegerInputPort, DtIntegerOutputPort, and DtIntegerPortData. More...

Public Member Functions | |
| DtIntegerInputPort (const DtString &portName) | |
| virtual | ~DtIntegerInputPort () |
| virtual bool | acceptType (const DtString &type) const |
| Accepts DtIntegerPortDataType. | |
| virtual void | receiveData (DtPortData *data) |
| Overridden for optimization. | |
| virtual int | value () const |
| Return the current value. | |
Contains class declarations for DtIntegerInputPort, DtIntegerOutputPort, and DtIntegerPortData.
Instances of DtIntegerInputPort are input ports through which data consumers can receive integer values.
| DtIntegerInputPort::DtIntegerInputPort | ( | const DtString & | portName | ) |
| virtual DtIntegerInputPort::~DtIntegerInputPort | ( | ) | [virtual] |
| virtual bool DtIntegerInputPort::acceptType | ( | const DtString & | type | ) | const [virtual] |
Accepts DtIntegerPortDataType.
Implements DtInputPort.
| virtual void DtIntegerInputPort::receiveData | ( | DtPortData * | data | ) | [virtual] |
Overridden for optimization.
Instead of cloning the port data, it copies the int value to a local port data instance.
Reimplemented in DtConstrainedIntegerInputPort.
| virtual int DtIntegerInputPort::value | ( | ) | const [virtual] |
Return the current value.