![]() |
VR-Forces Developer's Guide
|
DtUpdateRepositoryInputPortGroup is a data port group of a data consumer that contains methods and port to receive input from a DtUpdateRepositoryOutputPortGroup. 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 | |
| DtUpdateRepositoryInputPortGroup (const DtString &name) | |
| virtual | ~DtUpdateRepositoryInputPortGroup () |
Public Member Functions inherited from DtInputPortGroup | |
| DtInputPortGroup (const DtString &name) | |
| virtual | ~DtInputPortGroup () |
| virtual const DtString & | name () const |
| virtual bool | anyPortsActive () const |
| virtual bool | allPortsActive () const |
| virtual bool | newData () const |
| virtual void | dataReceived () |
| virtual void | addPort (DtInputPort *port) |
| virtual void | removePort (DtInputPort *port) |
| virtual const DtList * | ports () const |
| virtual const DtInputPort * | port (const DtString &portName) const |
| virtual DtInputPort * | port (const DtString &portName) |
| virtual void | addConnection (DtPortGroupConnection *conn) |
| virtual void | removeConnection (DtPortGroupConnection *conn) |
| virtual const DtList * | connectionList () const |
| virtual bool | anyPortsEnabled () const |
| virtual bool | allPortsEnabled () const |
| virtual void | disableAllPorts () |
| virtual void | enableAllPorts () |
Protected Attributes | |
Ports and Port Groups | |
| DtVectorInputPort * | myLocationPort |
| DtVectorInputPort * | myAccelerationPort |
| DtVectorInputPort * | myVelocityPort |
| DtVectorInputPort * | myRotationalVelocityPort |
| DtOrientationInputPort * | myOrientationPort |
| DtBooleanInputPort * | myParentRelativePort |
Protected Attributes inherited from DtInputPortGroup | |
| DtString | myName |
| DtHashlist * | myPortList |
| DtList | myConnectionList |
| virtual bool | hasLocation () const |
| virtual DtVector | location () const |
| virtual bool | hasAcceleration () const |
| virtual DtVector | acceleration () const |
| virtual bool | hasVelocity () const |
| virtual DtVector | velocity () const |
| virtual bool | hasOrientation () const |
| virtual DtTaitBryan | orientation () const |
| virtual bool | hasRotationalVelocity () const |
| virtual DtVector | rotationalVelocity () const |
| virtual bool | parentRelative () const |
| DtUpdateRepositoryInputPortGroup (const DtUpdateRepositoryInputPortGroup &) | |
| DtUpdateRepositoryInputPortGroup & | operator= (const DtUpdateRepositoryInputPortGroup &) |
| DtUpdateRepositoryInputPortGroup::DtUpdateRepositoryInputPortGroup | ( | const DtString & | name | ) |
Constructor. Creates and adds all ports.
|
virtual |
Destructor.
|
private |
Not Implemented.
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
!}
Acceleration accessors. Call hasAcceleration to check if a acceleration has been put onto the port
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
!}
Velocity accessors. Call hasVelocity to check if a velocity has been put onto the port
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
!}
Orientation accessors. Call hasOrientation to check if a orientation has been put onto the port
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
!}
Rotational Velocity accessors. Call hasRotationalVelocity to check if a rotational velocity has been put onto the port
|
virtual |
Position accessors. Call hasPosition to check if a position has been put onto the port.
|
virtual |
!}
Returns true if the information is set relative to a parent
|
private |
Not Implemented.
|
protected |
Input Port Name: location
Input Port Description: Local location to set into VRF state repository
Input Port Range:
Input Port Default Value: 0
Input Group Parent:
|
protected |
Input Port Name: acceleration
Input Port Description: Local acceleration to set into VRF state repository
Input Port Range:
Input Port Default Value: 0
Input Group Parent:
|
protected |
Input Port Name: velocity
Input Port Description: Local velocity to set into VRF state repository
Input Port Range:
Input Port Default Value: 0
Input Group Parent:
|
protected |
Input Port Name: rotational-velocity
Input Port Description: Local rotational location to set into VRF state repository
Input Port Range:
Input Port Default Value: 0
Input Group Parent:
|
protected |
Input Port Name: orientation
Input Port Description: Local orientation to set into VRF state repository
Input Port Range:
Input Port Default Value: 0
Input Group Parent:
|
protected |
Input Port Name: parent-relative
Input Port Description: Boolean port, that, if true, will mean that information in
port group is relative to some parent
Input Port Range:
Input Port Default Value: false
Input Group Parent: