![]() |
VR-Forces Developer's Guide
|
This will keep track of the subordinates of the sim object supplied.

Public Member Functions | |
| DtAggregateSimObjectDecorator (const DtSimObject *) | |
| virtual | ~DtAggregateSimObjectDecorator () override |
| 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 *) | |
| DtSimObjectDecorator (DtSimObjectReference) | |
| virtual | ~DtSimObjectDecorator () override |
| virtual void | tick () |
Public Member Functions inherited from DtDecoratorBase | |
| DtDecoratorBase () | |
| virtual | ~DtDecoratorBase () |
Protected Member Functions | |
| void | subordinateManagerUpdated () |
Protected Attributes | |
| tbb::spin_rw_mutex | myCurrentFrameSubordinatesMutex |
| std::vector< DtSimObjectReference > | mySubordinates |
| 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 |
| DtAggregateSimObjectDecorator::DtAggregateSimObjectDecorator | ( | const DtSimObject * | ) |
|
overridevirtual |
| const std::vector<DtSimObjectReference>& DtAggregateSimObjectDecorator::subordinates | ( | ) | const |
If this object can have subordinates, returns the subordinates of this object.
|
virtual |
Returns the total mass of this aggregate in kg.
|
virtual |
|
protected |
Signal received when the subordinate manager updates. This will update the internal subordinates list.
|
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.
|
mutableprotected |
|
mutableprotected |
|
protected |