VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nbcSensorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwBoolean.h>
17 
21 {
22  private:
25 
26 public:
28  DtNbcSensorDescriptor(const DtString& name,
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
33  orig, DtReaderWriterRegistry* parentRegistry = 0);
34 
37  DtNbcSensorDescriptor& orig);
38 
40  virtual ~DtNbcSensorDescriptor() override;
41 
44  virtual DtString type() const override;
45 
46  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
47 
50 
53  virtual bool detectsNuclear() const;
54  virtual void setDetectsNuclear(bool d);
56 
59  virtual DtReal nuclearDetectionRange() const;
60  virtual void setNuclearDetectionRange(DtReal range);
62 
65  virtual bool detectsBiological() const;
66  virtual void setDetectsBiological(bool d);
68 
71  virtual DtReal biologicalDetectionRange() const;
72  virtual void setBiologicalDetectionRange(DtReal range);
74 
77  virtual bool detectsChemical() const;
78  virtual void setDetectsChemical(bool d);
80 
83  virtual DtReal chemicalDetectionRange() const;
84  virtual void setChemicalDetectionRange(DtReal range);
86 
87 protected:
88 
92 
98 
105 
111 
118 
124 
131 
133 };
134 
DtNbcSensorDescriptor; descriptor for the DtNbcSensor component.
Definition: nbcSensorDescriptor.h:20
static DtComponentDescriptor * creator()
DtRwReal myNuclearRange
Parameter Name: range-nuclear Parameter Description: The range (from the outer edge of the unit&#39;s foo...
Definition: nbcSensorDescriptor.h:104
DtRwBoolean myDetectsChemical
Parameter Name: detect-chemical Parameter Description: Flag indicating whether this sensor can detect...
Definition: nbcSensorDescriptor.h:123
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwBoolean myDetectsBiological
Parameter Name: detect-biological Parameter Description: Flag indicating whether this sensor can dete...
Definition: nbcSensorDescriptor.h:110
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtObjectSensorDescriptor; descriptor for the DtObjectSensor component.
Definition: objectSensorDescriptor.h:27
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myChemicalRange
Parameter Name: range-chemical Parameter Description: The range (from the outer edge of the unit&#39;s fo...
Definition: nbcSensorDescriptor.h:130
DtRwReal myBiologicalRange
Parameter Name: range-biological Parameter Description: The range (from the outer edge of the unit&#39;s ...
Definition: nbcSensorDescriptor.h:117
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myDetectsNuclear
Parameter Name: detect-nuclear Parameter Description: Flag indicating whether this sensor can detect ...
Definition: nbcSensorDescriptor.h:97
DtObjectSensorDescriptor & operator=(const DtObjectSensorDescriptor &orig)
assignment

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)