VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radarWarningReceiverDesc.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vrfutil/rwReal.h"
13 
14 //This is the string that is registered along with the creator function below.
15 //It must match the component-descriptor-type string specified in the object
16 //parameter database when using this descriptor to specify a
17 //simple-radar-warning-receiver
18 const char DtRadarWarningReceiverDescriptorType[] = "radar-warn-receiver-descriptor";
19 
21 {
22 public:
23  //real constructor
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
27  //All component descriptors must provide a valid copy constructor
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
31  //All component descriptors must provide a valid assignment operator
34 
35  //All component descriptors must provide a valid clone function
37  parentRegistry = 0) const;
38 
40 
41  //returns the type of descriptor. This will be used
42  //to create the descriptor on read from an mtl file
43  virtual DtString type() const;
44 
45  //Provide an accessor and mutator for the parameter value
46  virtual void setEmitterDetectionRange(double range);
47  virtual double emitterDetectionRange() const;
48 
49  //Creator function to be registered with DtSimComponentDescriptorFactory
50  static DtComponentDescriptor * creator();
51 
52 protected:
53 
55 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)