VR-Forces 5.0.1 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();
41 
44  virtual DtString type() const;
45 
47  DtReaderWriterRegistry * parentRegistry = 0) const;
48 
51 
54  virtual bool detectsNuclear() const;
55  virtual void setDetectsNuclear(bool d);
57 
60  virtual DtReal nuclearDetectionRange() const;
61  virtual void setNuclearDetectionRange(DtReal range);
63 
66  virtual bool detectsBiological() const;
67  virtual void setDetectsBiological(bool d);
69 
72  virtual DtReal biologicalDetectionRange() const;
73  virtual void setBiologicalDetectionRange(DtReal range);
75 
78  virtual bool detectsChemical() const;
79  virtual void setDetectsChemical(bool d);
81 
84  virtual DtReal chemicalDetectionRange() const;
85  virtual void setChemicalDetectionRange(DtReal range);
87 
88 protected:
89 
93 
99 
106 
112 
119 
125 
132 
134 };
135 
DtNbcSensorDescriptor; descriptor for the DtNbcSensor component.
Definition: nbcSensorDescriptor.h:20
static DtComponentDescriptor * creator()
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtRwReal myNuclearRange
Parameter Name: range-nuclear Parameter Description: The range (from the outer edge of the unit&#39;s foo...
Definition: nbcSensorDescriptor.h:105
DtRwBoolean myDetectsChemical
Parameter Name: detect-chemical Parameter Description: Flag indicating whether this sensor can detect...
Definition: nbcSensorDescriptor.h:124
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwBoolean myDetectsBiological
Parameter Name: detect-biological Parameter Description: Flag indicating whether this sensor can dete...
Definition: nbcSensorDescriptor.h:111
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
DtRwReal myChemicalRange
Parameter Name: range-chemical Parameter Description: The range (from the outer edge of the unit&#39;s fo...
Definition: nbcSensorDescriptor.h:131
DtRwReal myBiologicalRange
Parameter Name: range-biological Parameter Description: The range (from the outer edge of the unit&#39;s ...
Definition: nbcSensorDescriptor.h:118
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:98
DtObjectSensorDescriptor & operator=(const DtObjectSensorDescriptor &orig)
assignment

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)