![]() |
VR-Forces 5.0.1 Developer's Guide
|
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.

Public Member Functions | |
| DtUpdateRepositoryOutputPortGroup (const DtString &name, DtLocalObject *owner) | |
| virtual | ~DtUpdateRepositoryOutputPortGroup () |
| virtual void | setEmbarkedOn (const DtSimObject *) |
| const DtSimObject * | embarkedOn () const |
| virtual void | setParentRelative (bool) |
| virtual bool | parentRelative () const |
Public Member Functions inherited from DtOutputPortGroup | |
| DtOutputPortGroup (const DtString &name) | |
| virtual | ~DtOutputPortGroup () |
| virtual const DtString & | name () const |
| virtual bool | anyPortsActive () const |
| virtual bool | allPortsActive () const |
| virtual bool | attemptToActivate () |
| virtual bool | canActivate () |
| virtual bool | attemptToActivateAllPorts () |
| virtual bool | canActivateAllPorts () |
| virtual void | deactivate () |
| virtual void | allowDeactivation () |
| virtual void | sendData () |
| virtual void | addPort (DtOutputPort *port) |
| virtual void | removePort (DtOutputPort *port) |
| virtual const DtList * | ports () const |
| virtual const DtOutputPort * | port (const DtString &portName) const |
| virtual DtOutputPort * | port (const DtString &portName) |
| virtual void | addConnection (DtPortGroupConnection *conn) |
| virtual void | removeConnection (DtPortGroupConnection *conn) |
| virtual const DtList * | connectionList () const |
| virtual void | setConnectionPriority (int priority) |
| virtual bool | anyPortsEnabled () const |
| virtual bool | allPortsEnabled () const |
| virtual void | disableAllPorts () |
| virtual void | enableAllPorts () |
Protected Attributes | |
Ports and Port Groups | |
| DtVectorOutputPort * | myLocationPort |
| DtVectorOutputPort * | myAccelerationPort |
| DtVectorOutputPort * | myVelocityPort |
| DtVectorOutputPort * | myRotationalVelocityPort |
| DtOrientationOutputPort * | myOrientationPort |
| DtBooleanOutputPort * | myParentRelativePort |
| const DtSimObject * | myEmbarkedOnEntity |
| DtLocalObject * | myOwner |
| bool | myParentRelative |
Protected Attributes inherited from DtOutputPortGroup | |
| DtString | myName |
| DtHashlist * | myPortList |
| DtList | myConnectionList |
| 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 &) |
| DtUpdateRepositoryOutputPortGroup::DtUpdateRepositoryOutputPortGroup | ( | const DtString & | name, |
| DtLocalObject * | 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.
| const DtSimObject* DtUpdateRepositoryOutputPortGroup::embarkedOn | ( | ) | const |
|
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 |
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: location
Output Port Description: Local location to set into VRF state repository
Output Port Range:
Output Port Default Value: 0
Output Group Parent: