VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtUpdateRepositoryInputPortGroup Class Reference

DtUpdateRepositoryInputPortGroup is a data port group of a data consumer that contains methods and port to receive input from a DtUpdateRepositoryOutputPortGroup. More...

Inheritance diagram for DtUpdateRepositoryInputPortGroup:
Inheritance graph
[legend]

Public Member Functions

 DtUpdateRepositoryInputPortGroup (const DtString &name)
 Constructor. Creates and adds all ports. More...
 
virtual ~DtUpdateRepositoryInputPortGroup ()
 Destructor. More...
 
- Public Member Functions inherited from DtInputPortGroup
 DtInputPortGroup (const DtString &name)
 Constructor. More...
 
virtual ~DtInputPortGroup ()
 Destructor. More...
 
virtual const DtStringname () const
 Returns the name of this group. More...
 
virtual bool anyPortsActive () const
 Returns true if any of the contained ports have an active connection. More...
 
virtual bool allPortsActive () const
 Returns true only if ALL of the contained ports have an active connection. More...
 
virtual bool newData () const
 Returns true if any of the contained ports have new data. More...
 
virtual void dataReceived ()
 Calls dataReceived() on all contained ports. More...
 
virtual void addPort (DtInputPort *port)
 Add a new port to the group. More...
 
virtual void removePort (DtInputPort *port)
 Remove a port from the group. More...
 
virtual const DtList * ports () const
 Returns the list of input ports in the group. More...
 
virtual const DtInputPortport (const DtString &portName) const
 Returns a pointer to the named port in this group. More...
 
virtual DtInputPortport (const DtString &portName)
 Non-const version of named port return. More...
 
virtual void addConnection (DtPortGroupConnection *conn)
 Add an incomming connection to this port. More...
 
virtual void removeConnection (DtPortGroupConnection *conn)
 Remove an incomming connection to this port. More...
 
virtual const DtList * connectionList () const
 Returns the list of DtPortGroupConnection objects associated with this port group. More...
 
virtual bool anyPortsEnabled () const
 Returns true if any of the contained ports is enabled. More...
 
virtual bool allPortsEnabled () const
 Returns true if all of the contained ports are enabled. More...
 
virtual void disableAllPorts ()
 Enables/disables the port group. More...
 
virtual void enableAllPorts ()
 

Protected Attributes

Ports and Port Groups
DtVectorInputPortmyLocationPort
 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: More...
 
DtVectorInputPortmyAccelerationPort
 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: More...
 
DtVectorInputPortmyVelocityPort
 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: More...
 
DtVectorInputPortmyRotationalVelocityPort
 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: More...
 
DtOrientationInputPortmyOrientationPort
 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: More...
 
DtBooleanInputPortmyParentRelativePort
 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: More...
 
- Protected Attributes inherited from DtInputPortGroup
DtString myName
 
DtHashlist * myPortList
 List of input ports. More...
 
DtList myConnectionList
 List of DtPortGroupConnection. More...
 
virtual bool hasLocation () const
 
virtual DtVector location () const
 
virtual bool hasAcceleration () const
 !} More...
 
virtual DtVector acceleration () const
 
virtual bool hasVelocity () const
 !} More...
 
virtual DtVector velocity () const
 
virtual bool hasOrientation () const
 !} More...
 
virtual DtTaitBryan orientation () const
 
virtual bool hasRotationalVelocity () const
 !} More...
 
virtual DtVector rotationalVelocity () const
 
virtual bool parentRelative () const
 !} More...
 
 DtUpdateRepositoryInputPortGroup (const DtUpdateRepositoryInputPortGroup &)
 Not Implemented. More...
 
DtUpdateRepositoryInputPortGroupoperator= (const DtUpdateRepositoryInputPortGroup &)
 Not Implemented. More...
 

Detailed Description

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

Constructor & Destructor Documentation

DtUpdateRepositoryInputPortGroup::DtUpdateRepositoryInputPortGroup ( const DtString name)

Constructor. Creates and adds all ports.

virtual DtUpdateRepositoryInputPortGroup::~DtUpdateRepositoryInputPortGroup ( )
virtual

Destructor.

DtUpdateRepositoryInputPortGroup::DtUpdateRepositoryInputPortGroup ( const DtUpdateRepositoryInputPortGroup )
private

Not Implemented.

Member Function Documentation

virtual bool DtUpdateRepositoryInputPortGroup::hasLocation ( ) const
virtual

Position accessors. Call hasPosition to check if a position has been put onto the port

virtual DtVector DtUpdateRepositoryInputPortGroup::location ( ) const
virtual
virtual bool DtUpdateRepositoryInputPortGroup::hasAcceleration ( ) const
virtual

!}

Acceleration accessors. Call hasAcceleration to check if a acceleration has been put onto the port

virtual DtVector DtUpdateRepositoryInputPortGroup::acceleration ( ) const
virtual
virtual bool DtUpdateRepositoryInputPortGroup::hasVelocity ( ) const
virtual

!}

Velocity accessors. Call hasVelocity to check if a velocity has been put onto the port

virtual DtVector DtUpdateRepositoryInputPortGroup::velocity ( ) const
virtual
virtual bool DtUpdateRepositoryInputPortGroup::hasOrientation ( ) const
virtual

!}

Orientation accessors. Call hasOrientation to check if a orientation has been put onto the port

virtual DtTaitBryan DtUpdateRepositoryInputPortGroup::orientation ( ) const
virtual
virtual bool DtUpdateRepositoryInputPortGroup::hasRotationalVelocity ( ) const
virtual

!}

Rotational Velocity accessors. Call hasRotationalVelocity to check if a rotational velocity has been put onto the port

virtual DtVector DtUpdateRepositoryInputPortGroup::rotationalVelocity ( ) const
virtual
virtual bool DtUpdateRepositoryInputPortGroup::parentRelative ( ) const
virtual

!}

Returns true if the information is set relative to a parent

DtUpdateRepositoryInputPortGroup& DtUpdateRepositoryInputPortGroup::operator= ( const DtUpdateRepositoryInputPortGroup )
private

Not Implemented.

Member Data Documentation

DtVectorInputPort* DtUpdateRepositoryInputPortGroup::myLocationPort
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:

DtVectorInputPort* DtUpdateRepositoryInputPortGroup::myAccelerationPort
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:

DtVectorInputPort* DtUpdateRepositoryInputPortGroup::myVelocityPort
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:

DtVectorInputPort* DtUpdateRepositoryInputPortGroup::myRotationalVelocityPort
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:

DtOrientationInputPort* DtUpdateRepositoryInputPortGroup::myOrientationPort
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:

DtBooleanInputPort* DtUpdateRepositoryInputPortGroup::myParentRelativePort
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:


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)