![]() |
VR-Forces 4.8 Class Documentation
|
Instances of DtStringOutputPort are output ports through which data producers can send a DtString object. More...

Public Member Functions | |
| DtStringOutputPort (const DtString &portName) | |
| virtual | ~DtStringOutputPort () |
| virtual const DtString | type () const |
| returns DtStringPortDataType More... | |
| virtual void | createPortData () |
| Creates a DtStringPortData. More... | |
| virtual void | setValue (const DtString &str) |
| Sets a value to the port, and sends the data if it is different from the current value. More... | |
| virtual const DtString & | 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) |
Protected Member Functions | |
| DtStringOutputPort (const DtStringOutputPort &orig) | |
| copy constructor More... | |
| const DtStringOutputPort & | operator= (const DtStringOutputPort &orig) |
| assignment operator More... | |
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 DtStringOutputPort are output ports through which data producers can send a DtString object.
| DtStringOutputPort::DtStringOutputPort | ( | const DtString & | portName | ) |
|
virtual |
|
protected |
copy constructor
|
virtual |
returns DtStringPortDataType
Implements DtOutputPort.
|
virtual |
Creates a DtStringPortData.
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.
|
protected |
assignment operator