![]() |
VR-Forces 4.10 Class Documentation
|
Instances of DtObjectIdOutputPort are output ports through which data producers can send DtEntityIdentifier data. More...

Public Member Functions | |
| DtObjectIdOutputPort (const DtString &portName) | |
| virtual | ~DtObjectIdOutputPort () |
| virtual const DtString | type () const |
| returns DtObjectIdPortDataType More... | |
| virtual void | createPortData () |
| Creates a DtObjectIdPortData. More... | |
| virtual void | setValue (const DtEntityIdentifier &id) |
| Sets a value to the port, and sends the data if it is different from the current value. More... | |
| virtual const DtEntityIdentifier | value () const |
| Return the current value. More... | |
Public Member Functions inherited from DtOutputPort | |
| DtOutputPort (const DtString &portName) | |
| Constructor. More... | |
| virtual | ~DtOutputPort () |
| Destructor. More... | |
| virtual bool | init () |
| Call after the constructor. More... | |
| virtual const DtString & | name () const |
| Returns the string name of this port. More... | |
| virtual void | sendData () |
| Sends the contents of myData to all connections. More... | |
| virtual void | addConnection (DtPortConnection *conn) |
| Add a connection to the outgoing connection list. More... | |
| virtual void | removeConnection (DtPortConnection *conn) |
| Remove a connection from the outgoing connection list. More... | |
| virtual bool | attemptToActivate () |
| Calls attemptToActivate on all connections in the connection list and returns true if any one of them was able to activate. More... | |
| virtual bool | attemptToActivateAtLowestPriority () |
| Calls attemptToActivate on all connections in the connection list and returns true if any one of them was able to activate, but will not override data from any others and will allow deactivation in the case another wants to provide data. More... | |
| virtual bool | canActivate () const |
| Calls canActivate on all connections in the connection list and returns true if any one of them can be activated. More... | |
| virtual void | deactivate () |
| Calls deactivate on all connections in the connection list. More... | |
| virtual void | allowDeactivation () |
| Calls allowDeactivation on all connections in the connection list. More... | |
| virtual bool | active () const |
| Returns true if any one of the outgoing connection are active. More... | |
| virtual const DtList * | connectionList () const |
| Returns the list of output connections to this port. More... | |
| virtual void | setConnectionPriority (int priority) |
| Sets the priority of all existing outgoing connections from this port to the new priority. More... | |
| virtual DtPortData * | data () |
| Returns a pointer to the underlying port. More... | |
| virtual const DtPortData * | data () const |
| virtual bool | enabled () const |
| Enables/disables the port. More... | |
| virtual void | setEnabled (bool flag) |
Additional Inherited Members | |
Protected Attributes inherited from DtOutputPort | |
| DtString | myName |
| bool | myEnabled |
| DtPortData * | myData |
| locally instantiated. More... | |
| DtList | myConnectionList |
| List of outgoing connections. More... | |
Instances of DtObjectIdOutputPort are output ports through which data producers can send DtEntityIdentifier data.
| DtObjectIdOutputPort::DtObjectIdOutputPort | ( | const DtString & | portName | ) |
|
virtual |
|
virtual |
returns DtObjectIdPortDataType
Implements DtOutputPort.
|
virtual |
Creates a DtObjectIdPortData.
Implements DtOutputPort.
|
virtual |
Sets a value to the port, and sends the data if it is different from the current value.
|
virtual |
Return the current value.