VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanFollowPSR.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/rwString.h>
14 #include "readerWriter/rwVector.h"
15 #include <readerWriter/rwReal.h>
17 #include <vrfutil/rwUUID.h>
18 
20 
25 
27 {
28 public:
29 
31  DtHumanFollowPSR(DtVrfObject* vrfObject,
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
41  virtual ~DtHumanFollowPSR();
42 
45 
48  const DtString& rwName = DtString::nullString(),
49  DtReaderWriterRegistry* parentRegistry = 0) const;
50 
53  virtual DtString type() const;
54 
57  virtual void setEntityToFollow(const DtUUID&);
58  virtual const DtRwVrfObjectReference& entityToFollow() const;
59  virtual DtRwVrfObjectReference& entityToFollow();
61 
65  virtual void setFollowingOffsetVector(const DtVector& offsetVector);
66  virtual const DtVector& followingOffsetVector() const;
68 
72  virtual void setControlObject(const DtUUID&);
73 
75  virtual const DtRwVrfObjectReference& controlObject() const;
76  virtual DtRwVrfObjectReference& controlObject();
78 
84  virtual void setWorldDestination(const DtVector& destination);
85  virtual const DtVector& worldDestination() const;
87 
91 
94  virtual void setLocalDestinationVelocity(const DtVector& velocity);
95  virtual const DtVector& localDestinationVelocity() const;
97 
100  virtual void setDestinationSetTime(const double time);
101  virtual const double destinationSetTime()const;
103 
106  virtual void setDisembarkSubtaskId(const int id);
107  virtual const int disembarkSubtaskId()const;
109 
111 
112 public:
113 
115  static DtVrfProcessStateRepository* creator (const DtString& rwName,
116  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
117 
118 protected:
119 
126 
133 
136 
142 
145 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtRwVector myWorldDestination
World point for move to location tasks.
Definition: humanFollowPSR.h:135
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtRwVector myLocalDestinationVelocity
The vector describing the velocity of the smoothed movement target point during the last tick...
Definition: humanFollowPSR.h:139
Definition: readerWriterRegistry.h:39
DtRwVrfObjectReference myEntityToFollow
From DtGroundFollowEntityController (gndFollwCtl.h)
Definition: humanFollowPSR.h:124
DtRwVector myOffsetVector
Definition: humanFollowPSR.h:125
Definition: rwVector.h:23
#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
DtRwVrfObjectReference myControlObject
From DtGroundMoveToControllerComponent (gndMvToCntlr.h)
Definition: humanFollowPSR.h:132
class DtHumanFollowPSR:
Definition: humanFollowPSR.h:26
Instances of DtObjectIdOutputPort are output ports through which data producers can send DtEntityIden...
Definition: objectIdIOPort.h:47
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myDestinationSetTime
The time that the local destination was last set.
Definition: humanFollowPSR.h:141
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.
DtRwInt myDisembarkSubtaskId
Id for disembark subtask.
Definition: humanFollowPSR.h:144
File: rwVector.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)