VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
localEntitySetControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "readerWriter/rwVector.h"
13 #include <readerWriter/rwBoolean.h>
14 #include <readerWriter/rwReal.h>
15 
21 
25 {
26 public:
27 
30  const DtString& rwName = DtString::nullString(),
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
35  const DtString& rwName = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
39  virtual ~DtLocalEntitySetControllerPSR() override;
40 
43  const DtLocalEntitySetControllerPSR& orig);
44 
47  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
48 
51  virtual DtString type() const override;
52 
54  virtual bool pendingSetLocationRequest() const;
57  virtual void setPendingSetLocationRequest(bool requestPending);
59 
61  virtual DtVector pendingSetLocation() const;
63  virtual void setPendingSetLocation(DtVector geocentricLocation);
65 
67  virtual bool pendingKeepGroundClamped() const;
69  virtual void setPendingKeepGroundClamped(bool);
71 
73  virtual bool pendingSetHeadingRequest() const;
76  virtual void setPendingSetHeadingRequest(bool requestPending);
78 
80  virtual DtReal pendingSetHeading() const;
82  virtual void setPendingSetHeading(DtReal heading);
84 
85 public:
86 
88  static DtVrfProcessStateRepository* creator (const DtString& rwName,
89  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
90 
91 protected:
92 
96 
100 
104 
108 
110 };
111 
class DtLocalEntitySetControllerPSR:
Definition: localEntitySetControllerPSR.h:23
DtRwVector myPendingSetLocation
When myPendingSetLocationRequest is set, the value from the message (in geocentric coordinates) is st...
Definition: localEntitySetControllerPSR.h:99
Definition: readerWriterRegistry.h:39
DtRwBoolean myPendingSetLocationRequest
Set by processSetLocation when terrain has not yet been paged in for the requested location...
Definition: localEntitySetControllerPSR.h:95
DtRwBoolean myPendingSetHeadingRequest
Set by processSetHeading when terrain has not yet been paged in for the requested heading...
Definition: localEntitySetControllerPSR.h:103
Definition: rwVector.h:23
#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
DtRwBoolean myPendingKeepGroundClamped
Definition: localEntitySetControllerPSR.h:109
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
DtRwReal myPendingSetHeading
When myPendingSetHeadingRequest is set, the value from the message (in geocentric coordinates) is sto...
Definition: localEntitySetControllerPSR.h:107
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
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)