VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
passiveSonarSensorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "readerWriter/rwVector.h"
16 #include <readerWriter/rwBoolean.h>
17 
20 {
21  private:
24 
25 public:
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
32  orig, DtReaderWriterRegistry* parentRegistry = 0);
33 
37 
39  virtual ~DtPassiveSonarSensorDescriptor() override;
40 
43  virtual DtString type() const override;
44 
45  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
46 
49 
52  virtual DtReal maxEffectiveSpeed() const;
53  virtual void setMaxEffectiveSpeed(DtReal detectionPeriod);
55 
58  virtual bool sonarDipCapable() const;
59  virtual void setSonarDipCapable(bool v);
61 
64  virtual bool usableWhileRetracted() const;
65  virtual void setUsableWhileRetracted(bool v);
67 
70  virtual bool alwaysInWater() const;
71  virtual void setAlwaysInWater(bool v);
73 
74 protected:
75 
79 
85 
91 
99 
105 
107 };
DtRwBoolean myUsableWhileRetracted
Parameter Name: usable-while-retracted Parameter Description: If a sensor is capable of performing so...
Definition: passiveSonarSensorDescriptor.h:98
DtRwBoolean mySonarDipCapable
Parameter Name: sonar-dip-capable Parameter Description: Flag indicating whether or not this componen...
Definition: passiveSonarSensorDescriptor.h:90
DtSignatureObjectSensorDescriptor & operator=(const DtSignatureObjectSensorDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
Definition: readerWriterRegistry.h:39
DtRwReal myMaxEffectiveSpeed
Parameter Name: max-effective-speed Parameter Description: The maximum speed at which this sensor wil...
Definition: passiveSonarSensorDescriptor.h:84
DtPassiveSonarSensorDescriptor; descriptor for the DtPassiveSonarSensor component.
Definition: passiveSonarSensorDescriptor.h:19
static DtComponentDescriptor * creator()
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myAlwaysInWater
Parameter Name: always-in-water Parameter Description: When true, bypass terrain/water checks and tre...
Definition: passiveSonarSensorDescriptor.h:104
DtSignatureObjectSensorDescriptor; descriptor for the DtSignatureObjectSensor component.
Definition: signatureObjectSensorDescriptor.h:31
File: rwVector.h.

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)