VR-Forces Developer's Guide
 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 
12 #include "vrfobjcore/simObject.h"
13 #include <readerWriter/rwString.h>
14 #include <readerWriter/rwReal.h>
16 #include <vrfutil/rwUUID.h>
18 
23 
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 
39  virtual ~DtAggregateFollowPSR() override;
40 
43 
46  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
47 
50  virtual DtString type() const override;
51 
54  virtual void setEntityToFollow(const DtUUID&);
55  virtual DtSimObjectReference entityToFollow() const;
57 
60  virtual void setFollowDistance(double);
61  virtual double followDistance() const;
63 
64 public:
65 
67  static DtVrfProcessStateRepository* creator(const DtString& rwName,
68  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
69 
70 protected:
71 
78 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtRwSimObjectReference myEntityToFollow
From DtGroundFollowEntityController (gndFollwCtl.h)
Definition: aggregateFollowPSR.h:76
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
class DtAggregateFollowPSR:
Definition: aggregateFollowPSR.h:24
DtRwReal myFollowDistance
Definition: aggregateFollowPSR.h:77
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.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)