VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfPropulsionNoiseSystem.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
17 #include <vlpi/disEnums.h>
18 #include <matrix/vlVector.h>
19 
20 class DtLocalObject;
22 class DtVrfPropulsionNoiseSystemEntry;
23 
27 
29 {
30 private:
37 
38 public:
40 
41  virtual ~DtVrfPropulsionNoiseSystem();
42 
44  virtual void tick();
45  bool init(bool publishAcoustics = false);
46 
47  virtual double speedToRPMFactor() const;
48  virtual double accelerationToRPMFactor() const;
49  virtual double minSpeed() const;
50 
51  virtual void setSpeedToRPMFactor(double factor);
52  virtual void setAccelerationToRPMFactor(double factor);
53  virtual void setMinSpeed(double speed);
54 
55 protected:
56  virtual void updateShaftRateData();
57 
58 protected:
65  double myMinSpeed;
66 
69 };
70 
#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.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)