VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtAggregateSimObjectDecorator Class Reference

This will keep track of the subordinates of the sim object supplied.

Inheritance diagram for DtAggregateSimObjectDecorator:
Inheritance graph
[legend]

Public Member Functions

 DtAggregateSimObjectDecorator (const DtSimObject *)
 
virtual ~DtAggregateSimObjectDecorator ()
 
const std::vector
< DtSimObjectReference > & 
subordinates () const
 
virtual double totalMass () const
 
virtual bool computeExtentFromParameters (const DtString &formationName, DtExtent &extent) const
 
- Public Member Functions inherited from DtSimObjectDecorator
 DtSimObjectDecorator (const DtSimObject *)
 
virtual ~DtSimObjectDecorator ()
 
- Public Member Functions inherited from DtDecoratorBase
 DtDecoratorBase ()
 
virtual ~DtDecoratorBase ()
 

Protected Member Functions

void subordinateManagerUpdated ()
 

Protected Attributes

tbb::spin_rw_mutex myCurrentFrameSubordinatesMutex
 
std::vector< DtSimObjectReferencemySubordinates
 
boost::signals2::scoped_connection mySubordinatesChangedConnection
 
DtVrfSimulatedSimObjectFacade myVrfSimulatedSimObjectFacade
 
- Protected Attributes inherited from DtSimObjectDecorator
DtSimObjectReference mySimObject
 

Additional Inherited Members

- Public Attributes inherited from DtDecoratorBase
boost::signals2::signal< void()> signal_decoratorDeleted
 

Constructor & Destructor Documentation

DtAggregateSimObjectDecorator::DtAggregateSimObjectDecorator ( const DtSimObject )
virtual DtAggregateSimObjectDecorator::~DtAggregateSimObjectDecorator ( )
virtual

Member Function Documentation

const std::vector<DtSimObjectReference>& DtAggregateSimObjectDecorator::subordinates ( ) const

If this object can have subordinates, returns the subordinates of this object.

virtual double DtAggregateSimObjectDecorator::totalMass ( ) const
virtual

Returns the total mass of this aggregate in kg.

virtual bool DtAggregateSimObjectDecorator::computeExtentFromParameters ( const DtString formationName,
DtExtent extent 
) const
virtual
void DtAggregateSimObjectDecorator::subordinateManagerUpdated ( )
protected

Signal received when the subordinate manager updates. This will update the internal subordinates list.

Member Data Documentation

tbb::spin_rw_mutex DtAggregateSimObjectDecorator::myCurrentFrameSubordinatesMutex
mutableprotected

Subordinate manager build from the subordinate component and updated when the subordinate component is updated. That will happen on an advance frame. This is also set up when the object is first referenced.

std::vector<DtSimObjectReference> DtAggregateSimObjectDecorator::mySubordinates
mutableprotected
boost::signals2::scoped_connection DtAggregateSimObjectDecorator::mySubordinatesChangedConnection
mutableprotected
DtVrfSimulatedSimObjectFacade DtAggregateSimObjectDecorator::myVrfSimulatedSimObjectFacade
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)