17 #include <vlpi/disEnums.h>
18 #include <matrix/vlVector.h>
22 class DtVrfPropulsionNoiseSystemEntry;
45 bool init(
bool publishAcoustics =
false);
47 virtual double speedToRPMFactor()
const;
48 virtual double accelerationToRPMFactor()
const;
49 virtual double minSpeed()
const;
51 virtual void setSpeedToRPMFactor(
double factor);
52 virtual void setAccelerationToRPMFactor(
double factor);
53 virtual void setMinSpeed(
double speed);
56 virtual void updateShaftRateData();
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
makVrf::DtUnderwaterAcousticsStateComponent * myUnderwaterAcousticsComponent
Definition: vrfPropulsionNoiseSystem.h:61
DtVrfPropulsionNoiseSystem manages a VR-Link propulsion noise system publisher, and sets all the valu...
Definition: vrfPropulsionNoiseSystem.h:28
double mySpeedToRPMFactor
Definition: vrfPropulsionNoiseSystem.h:63
std::vector< UnderwaterAcousticShaftSpeed > ShaftData
Definition: underwaterAcousticsStateComponent.h:91
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
double myMinSpeed
Definition: vrfPropulsionNoiseSystem.h:65
DtLocalObject * myHostEntity
Definition: vrfPropulsionNoiseSystem.h:59
double myAccelerationToRPMFactor
Definition: vrfPropulsionNoiseSystem.h:64
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: underwaterAcousticsStateComponent.h:106
makVrf::DtUnderwaterAcousticsStateComponentData::ShaftData myShaftData
Definition: vrfPropulsionNoiseSystem.h:62
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: vrfPropulsionNoiseSystem.h:68
DtVrfMovingObjectStateRepository * myEntitySR
Definition: vrfPropulsionNoiseSystem.h:60
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86