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

Class Description: DtVrfAttachmentManager. More...

Inheritance diagram for DtVrfAttachmentManager:
Inheritance graph
[legend]

Public Member Functions

 DtVrfAttachmentManager (DtSimObjectStateRepository *owner)
 Constructor.
 DtVrfAttachmentManager (const DtVrfAttachmentManager &orig)
 Copy Constructor.
const DtVrfAttachmentManageroperator= (const DtVrfAttachmentManager &orig)
 Assignment Operator.
virtual ~DtVrfAttachmentManager ()
 Destructor.
virtual DtAttachmentManagerclone () const
 Creates a new manager calling the copy constructor and returns the result.
virtual DtVector getPartAttachPoint (const DtObjectType &partType, bool recurse=false) const
 This looks up the attachment geometry in the .epd file when creating art parts discovered on remote entities.
virtual
DtVrfObjectStateRepository
vrfOwner () const
- Public Member Functions inherited from DtAttachmentManager
 DtAttachmentManager (DtSimObjectStateRepository *owner)
 Constructor.
 DtAttachmentManager (const DtAttachmentManager &orig)
 Copy Constructor.
const DtAttachmentManageroperator= (const DtAttachmentManager &orig)
 Assignment Operator.
virtual ~DtAttachmentManager ()
 Destructor.
virtual void attachPart (DtSimObjectStateRepository *part)
 Attach a part.
virtual void detachPart (DtSimObjectStateRepository *part)
 Detach a part.
virtual
DtSimObjectStateRepository
findPartByType (const DtObjectType &childType)
 goes through all elements and their children looking for the part with the specified type.
virtual const
DtSimObjectStateRepository
findPartByType (const DtObjectType &childType) const
virtual int numAttachments () const
 Returns the number of SRs attached.
virtual const
DtSimObjectStateRepositoryIterator
iterator () const
 Spawns an iterator that just iterates over the elements in this manager, but does not go down to any of the children.
virtual
DtRecursiveStateRepositoryIterator
spawnRecursiveIterator () const
 Spawns an iterator that iterates over the elements in this manager, and all their children, sub children, etc.
virtual void parentKinematicsChanged ()
 tell all elements that the kinematic state of the parent has changed so that they can invalidate cached vectors in the world coord system
virtual void setCoordinateSystem (const Coordinate_System *coordinateSystem)
const DtList & elements () const

Private Member Functions

 DtVrfAttachmentManager ()
 Default Constructor. Do not use.

Additional Inherited Members

- Protected Member Functions inherited from DtAttachmentManager
void emptyList ()
 Clean out the DtList of SR pointers, deleting as we go.
void copyList (const DtList &otherElements)
 Copy a list of state repositories.
- Protected Attributes inherited from DtAttachmentManager
DtList myElements
 The DtList of pointers to the attached state repositories.
DtSimObjectStateRepositorymyOwner
DtSimObjectStateRepositoryIteratormyIterator

Detailed Description

Class Description: DtVrfAttachmentManager.

The vrf attachment manager overrides DtAttachmentManager and provides an implementation of getPartAttachPoint that can take advantage of the component descriptors of the objects parameter entry.

Constructor & Destructor Documentation

DtVrfAttachmentManager::DtVrfAttachmentManager ( )
private

Default Constructor. Do not use.

DtVrfAttachmentManager::DtVrfAttachmentManager ( DtSimObjectStateRepository owner)

Constructor.

DtVrfAttachmentManager::DtVrfAttachmentManager ( const DtVrfAttachmentManager orig)

Copy Constructor.

virtual DtVrfAttachmentManager::~DtVrfAttachmentManager ( )
virtual

Destructor.

Member Function Documentation

const DtVrfAttachmentManager& DtVrfAttachmentManager::operator= ( const DtVrfAttachmentManager orig)

Assignment Operator.

virtual DtAttachmentManager* DtVrfAttachmentManager::clone ( ) const
virtual

Creates a new manager calling the copy constructor and returns the result.

Reimplemented from DtAttachmentManager.

virtual DtVector DtVrfAttachmentManager::getPartAttachPoint ( const DtObjectType partType,
bool  recurse = false 
) const
virtual

This looks up the attachment geometry in the .epd file when creating art parts discovered on remote entities.

Need to give this a little more thought...

Reimplemented from DtAttachmentManager.

virtual DtVrfObjectStateRepository* DtVrfAttachmentManager::vrfOwner ( ) const
virtual

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)