VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gpsReceiverControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwBoolean.h>
13 #include <readerWriter/rwReal.h>
14 #include <readerWriter/rwInt.h>
15 #include <readerWriter/rwString.h>
16 #include <vrfutil/rwTaitBryan.h>
17 
18 
19 #include <vlpi/disEnums.h>
20 
25 
28 {
29 public:
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
41  virtual ~DtGpsReceiverControllerPSR() override;
42 
45 
48  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
49 
51  virtual DtString type() const override;
52 
54  virtual void setPositionErrorWorldOri(const DtTaitBryan& orientation);
56  virtual DtTaitBryan positionErrorWorldOri() const;
57 
59  virtual void setAccumulatedPositionErrorMagnitude(double accumulatedError);
61  virtual double accumulatedPositionErrorMagnitude() const;
62 
64  virtual void setIsJammed(const bool isJammed);
66  virtual bool isJammed() const;
67 
68 public:
70  static DtVrfProcessStateRepository* creator(const DtString& rwName,
71  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
72 
73 protected:
76 
79 
82 };
DtRwBoolean myIsJammed
Set to true if the entity is currently within the range and power of a GPS jammer.
Definition: gpsReceiverControllerPSR.h:81
Description: Readable, Writable DtTaitBryan.
Definition: rwTaitBryan.h:20
Definition: readerWriterRegistry.h:39
Contains the DtRwTaitBryan class declaration.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
class DtGpsReceiverControllerPSR:
Definition: gpsReceiverControllerPSR.h:27
DtRwReal myAccumulatedPositionErrorMagnitude
The accumulated value of the position error in meters - caused by the gps jamming.
Definition: gpsReceiverControllerPSR.h:78
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
DtRwTaitBryan myPositionErrorWorldOri
The orientation of the position error vector - caused by the gps jamming. Determined randomly...
Definition: gpsReceiverControllerPSR.h:75
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object.
Definition: localObject.h:98

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)