VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aimAtPointControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
14 #include <readerWriter/rwBoolean.h>
15 #include "readerWriter/rwVector.h"
16 #include <readerWriter/rwString.h>
17 #include "vrfobjcore/simObject.h"
19 
24 {
25 public:
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
36  const DtAimAtPointControllerPSR& orig);
38  virtual ~DtAimAtPointControllerPSR() override;
39 
42  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
43 
45  virtual DtString type() const override;
46 
48  static DtVrfProcessStateRepository* creator(const DtString& rwName,
49  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
50 
53  virtual DtVector aimingPoint() const;
54  virtual void setAimingPoint(const DtVector& newValue);
56 
60  virtual DtSimObjectReference target() const;
61 
63  virtual void setTarget(const DtUUID& newValue);
65 
71  virtual double aimingAzimuth() const;
72  virtual void setAimingAzimuth(double az);
74 
80  virtual double aimingElevation() const;
81  virtual void setAimingElevation(double el);
83 
86  virtual DtSetAimingPointRequest::AimingType aimingType() const;
87  virtual void setAimingType(DtSetAimingPointRequest::AimingType stop);
89 
93  virtual bool forbidBaseRotation() const;
94  virtual void setForbidBaseRotation(const bool forbid);
96 
97 protected:
98 
105 };
106 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
DtRwVector myAimingPoint
Definition: aimAtPointControllerPSR.h:99
Definition: readerWriterRegistry.h:39
DtRwSimObjectReference myTarget
Definition: aimAtPointControllerPSR.h:100
DtAimAtPointControllerPSR is a process state repository which holds state variables for the DtAimAtPo...
Definition: aimAtPointControllerPSR.h:23
DtRwInt myAimingType
Definition: aimAtPointControllerPSR.h:103
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: rwSimObjectReference.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
AimingType
Definition: setAimingPointRequest.h:35
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myAimingElevation
Definition: aimAtPointControllerPSR.h:102
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
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
DtRwBoolean myForbidBaseRotation
Definition: aimAtPointControllerPSR.h:104
DtRwReal myAimingAzimuth
Definition: aimAtPointControllerPSR.h:101
File: rwVector.h.
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)