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

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