VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gpsReceiverControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
10 
11 #pragma once
12 
14 #include "vrfutil/rwTemplatedMap.h"
15 #include <readerWriter/rwBoolean.h>
16 #include <readerWriter/rwReal.h>
17 #include <readerWriter/rwVector.h>
18 #include <readerWriter/rwInt.h>
19 
21 
22 #include <vlpi/entityType.h>
25 
26 
28 typedef std::map<DtRwReal, DtRwReal> DtMaxPositionErrorByGpsJammingPowerMap;
29 
30 
34 {
35 public:
37  DtGpsReceiverControllerDescriptor(const DtString& componentName,
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
42 
43  virtual ~DtGpsReceiverControllerDescriptor() override;
44 
48 
51  virtual DtString type() const override;
52 
53  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
54 
57 
60  virtual double positionError() const;
61  virtual void setPositionError(double error);
63 
66  virtual const DtMaxPositionErrorByGpsJammingPowerMap& maxPositionErrorByGpsJammingPowerMap() const;
67  virtual void setMaxPositionErrorByGpsJammingPowerMap(const DtMaxPositionErrorByGpsJammingPowerMap& maxErrorPowerMap);
69 
71  virtual double lookupMaxPositionErrorByGpsJammingPower(double power) const;
72 
73 protected:
75  virtual void postGetSelf() override;
76 
80  virtual void setupMaxPositionErrorByGpsJammingPowerLookupTable();
81 
82 protected:
85 
86 protected:
89 
90 
97 
103 
105 
108  std::vector<std::pair<double, double>> myMaxPositionErrorByGpsJammingPowerVec;
109 };
DtRwReal myPositionError
Parameter Name: position-error Parameter Description: The position error value per 1 meter of distanc...
Definition: gpsReceiverControllerDescriptor.h:96
Instances of DtGpsReceiverControllerDescriptor are used to specify the parameters for a DtGpsReceiver...
Definition: gpsReceiverControllerDescriptor.h:33
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwTemplatedMapPtr< DtRwReal, DtRwReal > DtRwMaxPositionErrorByGpsJammingPowerMap
DtTacanComponentDescriptor; descriptor for the DtTacanComponent component.
Definition: gpsReceiverControllerDescriptor.h:27
std::map< DtRwReal, DtRwReal > DtMaxPositionErrorByGpsJammingPowerMap
Definition: gpsReceiverControllerDescriptor.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
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Definition: asyncJobServer.h:39
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()
std::vector< std::pair< double, double > > myMaxPositionErrorByGpsJammingPowerVec
Sorted std::vector of pairs of a max position error that can be caused by a gps jamming power...
Definition: gpsReceiverControllerDescriptor.h:108
File: rwVector.h.
DtRwMaxPositionErrorByGpsJammingPowerMap myMaxPositionErrorByGpsJammingPowerMap
Parameter Name: max-position-error-by-jamming-power-map Parameter Description: A map of the max posit...
Definition: gpsReceiverControllerDescriptor.h:102

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)