![]() |
VR-Forces 4.6 Class Documentation
|
DtUpdateRepositoryOutputPortGroup is a data port group of a data consumer that contains methods and port to set input to be received by a DtUpdateRepositoryInputPortGroup. More...

Public Member Functions | |
| DtUpdateRepositoryOutputPortGroup (const DtString &name, DtVrfObject *owner) | |
| Constructor. Creates and adds all ports. | |
| virtual | ~DtUpdateRepositoryOutputPortGroup () |
| Destructor. | |
| virtual void | setEmbarkedOn (DtVrfObject *) |
| Set the entity that this entity is embarked on to calculate and set port values and boolean port that the values passed into this (in local database coordinates) to be recalculated and set on the port in positions relative to the object given. | |
| DtVrfObject * | embarkedOn () const |
| virtual void | setParentRelative (bool) |
| Values are relative to parent (body) | |
| virtual bool | parentRelative () const |
Public Member Functions inherited from DtOutputPortGroup | |
| DtOutputPortGroup (const DtString &name) | |
| Constructor. | |
| virtual | ~DtOutputPortGroup () |
| Destructor. | |
| virtual const DtString & | name () const |
| Returns the name of this group. | |
| virtual bool | anyPortsActive () const |
| Returns true if any of the contained ports have an active connection. | |
| virtual bool | allPortsActive () const |
| Returns true only if ALL of the contained ports have an active connection. | |
| virtual bool | attemptToActivate () |
| Calls attemptToActivate() on all contained ports. | |
| virtual bool | canActivate () |
| Calls canActivate() on all contained ports. | |
| virtual bool | attemptToActivateAllPorts () |
| Calls attemptToActivate() on all contained ports. | |
| virtual bool | canActivateAllPorts () |
| Calls canActivate() on all contained ports. | |
| virtual void | deactivate () |
| Calls deactivate() on all contained ports. | |
| virtual void | allowDeactivation () |
| Calls allowDeactivation on all contained ports. | |
| virtual void | sendData () |
| Calls sendData() on all contained ports. | |
| virtual void | addPort (DtOutputPort *port) |
| Add a new port to the group. | |
| virtual void | removePort (DtOutputPort *port) |
| Remove a port from the group. | |
| virtual const DtList * | ports () const |
| Returns the list of input ports in the group. | |
| virtual const DtOutputPort * | port (const DtString &portName) const |
| Returns a pointer to the named port in this group. | |
| virtual DtOutputPort * | port (const DtString &portName) |
| Non-const version of named port return. | |
| virtual void | addConnection (DtPortGroupConnection *conn) |
| Add an incomming connection to this port. | |
| virtual void | removeConnection (DtPortGroupConnection *conn) |
| Remove an incomming connection to this port. | |
| virtual const DtList * | connectionList () const |
| Returns the list of DtPortGroupConnection objects associated with this port group. | |
| virtual void | setConnectionPriority (int priority) |
| Sets the priority of all existing outgoing connections from this port group to the new priority. | |
| virtual bool | anyPortsEnabled () const |
| Returns true if any of the contained ports is enabled. | |
| virtual bool | allPortsEnabled () const |
| Returns true if all of the contained ports are enabled. | |
| virtual void | disableAllPorts () |
| Enables/disables the port group. | |
| virtual void | enableAllPorts () |
Protected Attributes | |
Ports and Port Groups | |
| DtVectorOutputPort * | myLocationPort |
| Output Port Name: location Output Port Description: Local location to set into VRF state repository Output Port Range: Output Port Default Value: 0 Output Group Parent: | |
| DtVectorOutputPort * | myAccelerationPort |
| Output Port Name: acceleration Output Port Description: Local acceleration to set into VRF state repository Output Port Range: Output Port Default Value: 0 Output Group Parent: | |
| DtVectorOutputPort * | myVelocityPort |
| Output Port Name: velocity Output Port Description: Local velocity to set into VRF state repository Output Port Range: Output Port Default Value: 0 Output Group Parent: | |
| DtVectorOutputPort * | myRotationalVelocityPort |
| Output Port Name: rotational-velocity Output Port Description: Local rotational location to set into VRF state repository Output Port Range: Output Port Default Value: 0 Output Group Parent: | |
| DtOrientationOutputPort * | myOrientationPort |
| Output Port Name: orientation Output Port Description: Local orientation to set into VRF state repository Output Port Range: Output Port Default Value: 0 Output Group Parent: | |
| DtBooleanOutputPort * | myParentRelativePort |
| Output Port Name: parent-relative Output Port Description: Boolean port, that, if true, will mean that information in port group is relative to some parent Output Port Range: Output Port Default Value: false Output Group Parent: | |
| DtVrfObject * | myEmbarkedOnEntity |
| Object, that if set, will take the local database information passed into this function and set it relative to this entity as if this entity were embarked on the give entity. | |
| DtVrfObject * | myOwner |
| bool | myParentRelative |
Protected Attributes inherited from DtOutputPortGroup | |
| DtString | myName |
| DtHashlist * | myPortList |
| List of output ports. | |
| DtList | myConnectionList |
| List of DtPortGroupConnection. | |
| virtual void | setLocation (const DtVector &) |
| virtual void | setAcceleration (const DtVector &) |
| !} | |
| virtual void | setVelocity (const DtVector &) |
| !} | |
| virtual void | setOrientation (const DtTaitBryan &) |
| !} | |
| virtual void | setRotationalVelocity (const DtVector &) |
| !} | |
| DtUpdateRepositoryOutputPortGroup (const DtUpdateRepositoryOutputPortGroup &) | |
| !} | |
| DtUpdateRepositoryOutputPortGroup & | operator= (const DtUpdateRepositoryOutputPortGroup &) |
| Not Implemented. | |
DtUpdateRepositoryOutputPortGroup is a data port group of a data consumer that contains methods and port to set input to be received by a DtUpdateRepositoryInputPortGroup.
This group will create the ports necessary to update a VRF state repository. Note that all information MUST be supplied in local coordinates
| DtUpdateRepositoryOutputPortGroup::DtUpdateRepositoryOutputPortGroup | ( | const DtString & | name, |
| DtVrfObject * | owner | ||
| ) |
Constructor. Creates and adds all ports.
|
virtual |
Destructor.
|
private |
!}
Not Implemented.
|
virtual |
Set the entity that this entity is embarked on to calculate and set port values and boolean port that the values passed into this (in local database coordinates) to be recalculated and set on the port in positions relative to the object given.
|
inline |
|
virtual |
Values are relative to parent (body)
|
virtual |
|
virtual |
Position accessors.
|
virtual |
!}
Acceleration accessors.
|
virtual |
!}
Velocity accessors.
|
virtual |
!}
Orientation accessors.
|
virtual |
!}
Rotational Velocity accessors.
|
private |
Not Implemented.
|
protected |
Output Port Name: location
Output Port Description: Local location to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent:
|
protected |
Output Port Name: acceleration
Output Port Description: Local acceleration to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent:
|
protected |
Output Port Name: velocity
Output Port Description: Local velocity to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent:
|
protected |
Output Port Name: rotational-velocity
Output Port Description: Local rotational location to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent:
|
protected |
Output Port Name: orientation
Output Port Description: Local orientation to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent:
|
protected |
Output Port Name: parent-relative
Output Port Description: Boolean port, that, if true, will mean that information in
port group is relative to some parent
Output Port Range:
Output Port Default Value: false
Output Group Parent:
|
protected |
Object, that if set, will take the local database information passed into this function and set it relative to this entity as if this entity were embarked on the give entity.
|
protected |
|
protected |