VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
propulsionNoiseStateRepository.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 #include <vector>
16 
23 {
24 public:
25 
28 
31 
34 
38 
40  virtual DtStateRepository* clone(bool copy) const;
41 
44 
46  virtual void printData() const;
47 
49  virtual void printDataToStream(std::ostream& stream) const;
50 
52  virtual void setHullMaskerOn(bool val);
53 
55  virtual bool hullMaskerOn() const;
56 
58  virtual void setPassiveParameterIndex(DtU16 val);
59 
61  virtual DtU16 passiveParameterIndex() const;
62 
64  virtual void setPropulsionPlantConfiguration(
66 
69  propulsionPlantConfiguration() const;
70 
72  virtual void setShaftRateData(
73  const std::vector<DtUnderwaterAcousticShaftSpeed>& val);
74 
76  virtual const std::vector<DtUnderwaterAcousticShaftSpeed>& shaftRateData() const;
77 
78 
79 protected:
80 
84  std::vector<DtUnderwaterAcousticShaftSpeed> myShaftRateData;
85 
86 };
Contains the DIS DtUnderwaterAcousticShaftSpeed class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtU16 myPassiveParameterIndex
Definition: propulsionNoiseStateRepository.h:82
DtUnderwaterAcousticsEmissionRepository & operator=(const DtUnderwaterAcousticsEmissionRepository &orig)
Assignment Operator.
Contains the DtUnderwaterAcousticsEmissionRepository class declaration.
bool myHullMaskerOn
Definition: propulsionNoiseStateRepository.h:81
DtUnderwaterAcousticPropulsionPlantConfig
Definition: disEnums.h:2358
virtual void printData() const
Print data to the DtInfo stream.
Instances of DtUnderwaterAcousticsEmissionStateRepository are used to store state data for EmbeddedSy...
Definition: underwaterAcousticsEmissionRepository.h:18
class DtPropulsionNoiseStateRepository
Definition: propulsionNoiseStateRepository.h:22
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtUnderwaterAcousticPropulsionPlantConfig myPropulsionPlantConfiguration
Definition: propulsionNoiseStateRepository.h:83
virtual void printDataToStream(std::ostream &stream) const
Print data to the specified stream.
std::vector< DtUnderwaterAcousticShaftSpeed > myShaftRateData
Definition: propulsionNoiseStateRepository.h:84
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
static DtUnderwaterAcousticsEmissionRepository * create()
Create a DtUnderwaterAcousticsEmissionStateRepository.
virtual DtStateRepository * clone(bool copy) const
Return a copy/empty object of the same type as this.

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)