VR-Forces 5.0.3 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 
40 
43  const DtLocalEntitySetControllerPSR& orig);
44 
47  const DtString& rwName = DtString::nullString(),
48  DtReaderWriterRegistry* parentRegistry = 0) const;
49 
52  virtual DtString type() const;
53 
55  virtual bool pendingSetLocationRequest() const;
58  virtual void setPendingSetLocationRequest(bool requestPending);
60 
62  virtual DtVector pendingSetLocation() const;
64  virtual void setPendingSetLocation(DtVector geocentricLocation);
66 
68  virtual bool pendingSetHeadingRequest() const;
71  virtual void setPendingSetHeadingRequest(bool requestPending);
73 
75  virtual DtReal pendingSetHeading() const;
77  virtual void setPendingSetHeading(DtReal heading);
79 
80 public:
81 
83  static DtVrfProcessStateRepository* creator (const DtString& rwName,
84  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
85 
86 protected:
87 
91 
95 
99 
103 };
104 
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:94
Definition: readerWriterRegistry.h:39
DtRwBoolean myPendingSetLocationRequest
Set by processSetLocation when terrain has not yet been paged in for the requested location...
Definition: localEntitySetControllerPSR.h:90
DtRwBoolean myPendingSetHeadingRequest
Set by processSetHeading when terrain has not yet been paged in for the requested heading...
Definition: localEntitySetControllerPSR.h:98
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
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:102
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
File: rwVector.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)