VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateFollowPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <readerWriter/rwString.h>
14 #include <readerWriter/rwReal.h>
16 #include <vrfutil/rwUUID.h>
17 
22 
24 {
25 public:
26 
29  const DtString& rwName = DtString::nullString(),
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
34  const DtString& rwName = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
38  virtual ~DtAggregateFollowPSR();
39 
42 
45  const DtString& rwName = DtString::nullString(),
46  DtReaderWriterRegistry* parentRegistry = 0) const;
47 
50  virtual DtString type() const;
51 
54  virtual void setEntityToFollow(const DtUUID&);
55  virtual const DtRwVrfObjectReference& entityToFollow() const;
56  virtual DtRwVrfObjectReference& entityToFollow();
58 
61  virtual void setFollowDistance(double);
62  virtual double followDistance() const;
64 
65 public:
66 
68  static DtVrfProcessStateRepository* creator(const DtString& rwName,
69  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
70 
71 protected:
72 
79 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: readerWriterRegistry.h:39
#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
DtRwVrfObjectReference myEntityToFollow
From DtGroundFollowEntityController (gndFollwCtl.h)
Definition: aggregateFollowPSR.h:77
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
class DtAggregateFollowPSR:
Definition: aggregateFollowPSR.h:23
DtRwReal myFollowDistance
Definition: aggregateFollowPSR.h:78
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.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)