VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregatedMoveToPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vrfobjcore/simObject.h"
13 #include <readerWriter/rwReal.h>
14 #include <readerWriter/rwInt.h>
15 #include <readerWriter/rwBoolean.h>
16 #include <readerWriter/rwString.h>
17 #include "readerWriter/rwVector.h"
21 #include <vrfutil/rwUUID.h>
23 
29 {
30 public:
31 
34  const DtString& rwName = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
39  const DtString& rwName = DtString::nullString(),
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
43  virtual ~DtAggregatedMoveToPSR() override;
44 
47 
50  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
51 
54  virtual DtString type() const override;
55 
59  virtual void setControlObject(const DtUUID& controlObject);
60 
62  virtual DtSimObjectReference controlObject() const;
64 
70  virtual void setWorldDestination(const DtVector& destination);
71  virtual void setWorldDestination(const DtVector& destination, double heading);
72  virtual const DtVector& worldDestination() const;
74 
78  virtual bool headingIsSet() const;
79  virtual double heading() const;
80  virtual void setHeading(double heading);
82 
83 public:
84 
86  static DtVrfProcessStateRepository* creator (const DtString& rwName,
87  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
88 
89 protected:
90 
94 
97 
100 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
class DtAggregatedMoveToPSR:
Definition: aggregatedMoveToPSR.h:28
Definition: readerWriterRegistry.h:39
DtRwVector myWorldDestination
World point for move to location tasks.
Definition: aggregatedMoveToPSR.h:96
Contains the DtUUID class declaration.
DtRwReal myHeading
Heading in radians.
Definition: aggregatedMoveToPSR.h:99
DtRwSimObjectReference myControlObject
If tasked() is true, this is the name of the control object we&#39;re moving to.
Definition: aggregatedMoveToPSR.h:93
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
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
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)