VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanMoveToPSR.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 
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>
22 
28 {
29 public:
30 
32  DtHumanMoveToPSR(DtVrfObject* vrfObject,
33  const DtString& rwName = DtString::nullString(),
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
38  const DtString& rwName = DtString::nullString(),
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
42  virtual ~DtHumanMoveToPSR();
43 
46 
49  const DtString& rwName = DtString::nullString(),
50  DtReaderWriterRegistry* parentRegistry = 0) const;
51 
54  virtual DtString type() const;
55 
59  virtual void setControlObject(const DtUUID&);
60 
62  virtual const DtRwVrfObjectReference& controlObject() const;
63  virtual DtRwVrfObjectReference& controlObject();
65 
71  virtual void setWorldDestination(const DtVector& destination);
72  virtual const DtVector& worldDestination() const;
74 
80  virtual bool intermediateWorldDestinationValid() const;
81  virtual void invalidateIntermediateWorldDestination();
82  virtual void setIntermediateWorldDestination(const DtVector& destination);
83  virtual const DtVector& intermediateWorldDestination() const;
85 
88 
89  virtual double stuckStartTime() const;
90  virtual void setStuckStartTime(double t);
92 
93 public:
94 
96  static DtVrfProcessStateRepository* creator (const DtString& rwName,
97  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
98 
99 protected:
100 
104 
107 
110 
113 };
class DtHumanMoveToPSR:
Definition: humanMoveToPSR.h:27
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtRwVector myIntermediateWorldDestination
Intermediate world point for move to location tasks.
Definition: humanMoveToPSR.h:109
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtRwVector myWorldDestination
World point for move to location tasks.
Definition: humanMoveToPSR.h:106
DtRwReal myStuckStartTime
If the entity is currently stuck, this is the sim time when that state started.
Definition: humanMoveToPSR.h:112
DtRwVrfObjectReference myControlObject
If tasked() is true, this is the name of the control object we&#39;re moving to.
Definition: humanMoveToPSR.h:103
Definition: readerWriterRegistry.h:39
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 used as the reader/writer implementation of the DtVrfObjectReference.
Definition: vrfObjectReference.h:204
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
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)

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)