![]() |
VR-Forces 4.10 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. More... | |
| virtual void | receiveData (DtPortData *data) |
| Overridden for optimization. More... | |
| virtual int | value () const |
| Return the current value. More... | |
Public Member Functions inherited from DtSingleConnectionInputPort | |
| DtSingleConnectionInputPort (const DtString &portName) | |
| Constructor. More... | |
| virtual | ~DtSingleConnectionInputPort () |
| Destructor. More... | |
| virtual void | receiveData (DtPortData *data, const DtPortConnection *conn=0) |
| clones the specified DtPortData into myData, and sets the newDataFlag to true. More... | |
| virtual const DtPortData * | data () const |
| Returns the current pointer to a port data. More... | |
| virtual bool | attemptToActivateConnection (DtPortConnection *conn, int connectionPriority) |
| Attempt to make this connection the active connection providing data to this port with the specified priority. More... | |
| virtual bool | canActivate (const DtPortConnection *conn, int connectionPriority) const |
| Checks if this connection can be the active connection. More... | |
| virtual void | deactivateConnection (DtPortConnection *conn) |
| If conn is the currently active connection, it is deactivated and this port has no active input connection. More... | |
| virtual bool | activeConnection () const |
| Returns true if there is an active connection into this port. More... | |
| virtual bool | connectionActive (const DtPortConnection *connection) const |
| Returns true if the specified connection is currently active. More... | |
| virtual int | connectionPriority () const |
| Returns the current connection priority. More... | |
Public Member Functions inherited from DtInputPort | |
| DtInputPort (const DtString &portName) | |
| Constructor. More... | |
| virtual | ~DtInputPort () |
| Destructor. More... | |
| virtual const DtString & | name () const |
| Returns the name string of this port. More... | |
| virtual void | addConnection (DtPortConnection *conn) |
| Add an incomming connection to this port. More... | |
| virtual void | removeConnection (DtPortConnection *conn) |
| Remove an incomming connection to this port. More... | |
| virtual const DtList * | connectionList () const |
| Returns the list of input connections to this port. More... | |
| virtual bool | newData () const |
| Returns true if there is new data on this port that has not been received. More... | |
| virtual void | dataReceived () |
| Clears the newData flag on this port. More... | |
| virtual bool | enabled () const |
| Enables/disables the port. More... | |
| virtual void | setEnabled (bool flag) |
Additional Inherited Members | |
Protected Attributes inherited from DtSingleConnectionInputPort | |
| DtPortData * | myData |
| int | myConnectionPriority |
| DtPortConnection * | myActiveConnection |
Protected Attributes inherited from DtInputPort | |
| DtString | myName |
| bool | myNewDataFlag |
| bool | myEnabled |
| DtList | myConnectionList |
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 |
Accepts DtIntegerPortDataType.
Implements DtInputPort.
|
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 |
Return the current value.