![]() |
VR-Forces Developer's Guide
|
This DtAggregateSimObjectFacadeInterface class will provide API functionality for aggregate level calls. Use the isUsable method to determine if this class is usable for the given object. This will provide current frame access only. Every routine called will check the isUsable method before usage, and, if it is not usable, will throw the DtUnimplementedMethod exception.
This class is not thread safe. It should only be used in the context of a single thread/object

Protected Member Functions | |
| virtual void | setupDecorator () override |
| virtual DtSimObjectReference | simObject () const =0 |
Protected Member Functions inherited from DtAppearanceSimObjectFacadeInterface | |
| const makVrf::DtSimulatedObjectStateComponent * | simObjectStateComponent () const |
Protected Member Functions inherited from DtMovementSimObjectFacadeInterface | |
| void | setupDecorator () |
| const makVrf::DtEntityLocationStateComponent * | entityLocationStateComponent () const |
Protected Attributes | |
| DtAggregateSimObjectDecorator * | myAggregateSimObjectDecorator |
Protected Attributes inherited from DtAppearanceSimObjectFacadeInterface | |
| DtAppearance | myAppearance |
| const makVrf::DtSimulatedObjectStateComponent * | mySimulatedObjectStateComponent |
| tbb::spin_rw_mutex | mySimObjectStateComponentMutex |
Protected Attributes inherited from DtMovementSimObjectFacadeInterface | |
| const makVrf::DtEntityLocationStateComponent * | myEntityLocationStateComponent |
| tbb::spin_rw_mutex | myEntityLocationStateComponentMutex |
| DtAggregateSimObjectFacadeInterface::DtAggregateSimObjectFacadeInterface | ( | ) |
|
virtual |
|
virtual |
Make this call after construction to see if the supplied sim object can use this class.
Reimplemented from DtMovementSimObjectFacadeInterface.
Reimplemented in DtLocalObjectFacade< DtAggregateSimObjectFacadeInterface, DtAggregateLocalObjectFacadeInterface >.
| enum DtAggregateState DtAggregateSimObjectFacadeInterface::aggregateState | ( | ) | const |
| DtString DtAggregateSimObjectFacadeInterface::formationName | ( | ) | const |
| DtAggregateFormation DtAggregateSimObjectFacadeInterface::formation | ( | ) | const |
| const std::vector<DtSimObjectReference>& DtAggregateSimObjectFacadeInterface::subordinates | ( | ) | const |
Returns the subordinates of this object.
Returns the subordinates of this object.
| int DtAggregateSimObjectFacadeInterface::numberSubordinateVehicles | ( | ) | const |
Number of non unit subordinates that are part of this aggregate (non destroyed)
| bool DtAggregateSimObjectFacadeInterface::canHaveSubordinates | ( | ) | const |
| double DtAggregateSimObjectFacadeInterface::totalMass | ( | ) | const |
Returns the total mass including loadouts and fuel.
| double DtAggregateSimObjectFacadeInterface::formationHalfLength | ( | ) | const |
The formation (half) size in the forward-back direction.
| double DtAggregateSimObjectFacadeInterface::formationSize | ( | ) | const |
The size of the formation along its largest dimension.
| DtString DtAggregateSimObjectFacadeInterface::activity | ( | ) | const |
|
overrideprotectedvirtual |
|
protectedpure virtual |
Implemented by subclasses to return the sim object this class represents.
Implements DtAppearanceSimObjectFacadeInterface.
Implemented in DtSimObjectFacade< DtAggregateSimObjectFacadeInterface >.
|
protected |