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

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...

Inheritance diagram for DtUpdateRepositoryOutputPortGroup:
Inheritance graph
[legend]

Public Member Functions

 DtUpdateRepositoryOutputPortGroup (const DtString &name, DtVrfObject *owner)
 Constructor. Creates and adds all ports. More...
 
virtual ~DtUpdateRepositoryOutputPortGroup ()
 Destructor. More...
 
virtual void setEmbarkedOn (const 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. More...
 
const DtVrfObjectembarkedOn () const
 
virtual void setParentRelative (bool)
 Values are relative to parent (body) More...
 
virtual bool parentRelative () const
 
- Public Member Functions inherited from DtOutputPortGroup
 DtOutputPortGroup (const DtString &name)
 Constructor. More...
 
virtual ~DtOutputPortGroup ()
 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 attemptToActivate ()
 Calls attemptToActivate() on all contained ports. More...
 
virtual bool canActivate ()
 Calls canActivate() on all contained ports. More...
 
virtual bool attemptToActivateAllPorts ()
 Calls attemptToActivate() on all contained ports. More...
 
virtual bool canActivateAllPorts ()
 Calls canActivate() on all contained ports. More...
 
virtual void deactivate ()
 Calls deactivate() on all contained ports. More...
 
virtual void allowDeactivation ()
 Calls allowDeactivation on all contained ports. More...
 
virtual void sendData ()
 Calls sendData() on all contained ports. More...
 
virtual void addPort (DtOutputPort *port)
 Add a new port to the group. More...
 
virtual void removePort (DtOutputPort *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 DtOutputPortport (const DtString &portName) const
 Returns a pointer to the named port in this group. More...
 
virtual DtOutputPortport (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 void setConnectionPriority (int priority)
 Sets the priority of all existing outgoing connections from this port group to the new priority. 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
DtVectorOutputPortmyLocationPort
 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: More...
 
DtVectorOutputPortmyAccelerationPort
 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: More...
 
DtVectorOutputPortmyVelocityPort
 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: More...
 
DtVectorOutputPortmyRotationalVelocityPort
 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: More...
 
DtOrientationOutputPortmyOrientationPort
 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: More...
 
DtBooleanOutputPortmyParentRelativePort
 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: More...
 
const DtVrfObjectmyEmbarkedOnEntity
 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. More...
 
DtVrfObjectmyOwner
 
bool myParentRelative
 
- Protected Attributes inherited from DtOutputPortGroup
DtString myName
 
DtHashlist * myPortList
 List of output ports. More...
 
DtList myConnectionList
 List of DtPortGroupConnection. More...
 
virtual void setLocation (const DtVector &)
 
virtual void setAcceleration (const DtVector &)
 !} More...
 
virtual void setVelocity (const DtVector &)
 !} More...
 
virtual void setOrientation (const DtTaitBryan &)
 !} More...
 
virtual void setRotationalVelocity (const DtVector &)
 !} More...
 
 DtUpdateRepositoryOutputPortGroup (const DtUpdateRepositoryOutputPortGroup &)
 !} More...
 
DtUpdateRepositoryOutputPortGroupoperator= (const DtUpdateRepositoryOutputPortGroup &)
 Not Implemented. More...
 

Detailed Description

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

Constructor & Destructor Documentation

DtUpdateRepositoryOutputPortGroup::DtUpdateRepositoryOutputPortGroup ( const DtString name,
DtVrfObject owner 
)

Constructor. Creates and adds all ports.

virtual DtUpdateRepositoryOutputPortGroup::~DtUpdateRepositoryOutputPortGroup ( )
virtual

Destructor.

DtUpdateRepositoryOutputPortGroup::DtUpdateRepositoryOutputPortGroup ( const DtUpdateRepositoryOutputPortGroup )
private

!}

Not Implemented.

Member Function Documentation

virtual void DtUpdateRepositoryOutputPortGroup::setEmbarkedOn ( const DtVrfObject )
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 DtVrfObject* DtUpdateRepositoryOutputPortGroup::embarkedOn ( ) const
inline
virtual void DtUpdateRepositoryOutputPortGroup::setParentRelative ( bool  )
virtual

Values are relative to parent (body)

virtual bool DtUpdateRepositoryOutputPortGroup::parentRelative ( ) const
virtual
virtual void DtUpdateRepositoryOutputPortGroup::setLocation ( const DtVector )
virtual

Position accessors.

virtual void DtUpdateRepositoryOutputPortGroup::setAcceleration ( const DtVector )
virtual

!}

Acceleration accessors.

virtual void DtUpdateRepositoryOutputPortGroup::setVelocity ( const DtVector )
virtual

!}

Velocity accessors.

virtual void DtUpdateRepositoryOutputPortGroup::setOrientation ( const DtTaitBryan &  )
virtual

!}

Orientation accessors.

virtual void DtUpdateRepositoryOutputPortGroup::setRotationalVelocity ( const DtVector )
virtual

!}

Rotational Velocity accessors.

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

Not Implemented.

Member Data Documentation

DtVectorOutputPort* DtUpdateRepositoryOutputPortGroup::myLocationPort
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:

DtVectorOutputPort* DtUpdateRepositoryOutputPortGroup::myAccelerationPort
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:

DtVectorOutputPort* DtUpdateRepositoryOutputPortGroup::myVelocityPort
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:

DtVectorOutputPort* DtUpdateRepositoryOutputPortGroup::myRotationalVelocityPort
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:

DtOrientationOutputPort* DtUpdateRepositoryOutputPortGroup::myOrientationPort
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:

DtBooleanOutputPort* DtUpdateRepositoryOutputPortGroup::myParentRelativePort
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:

const DtVrfObject* DtUpdateRepositoryOutputPortGroup::myEmbarkedOnEntity
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.

DtVrfObject* DtUpdateRepositoryOutputPortGroup::myOwner
protected
bool DtUpdateRepositoryOutputPortGroup::myParentRelative
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)