VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanFleePSR.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 "vrfobjcore/simObject.h"
14 #include "vrfutil/rwUUID.h"
15 #include "readerWriter/rwVector.h"
16 
22 {
23 public:
24 
26  DtHumanFleePSR(DtLocalObject* vrfObject,
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
31  DtHumanFleePSR(const DtHumanFleePSR& orig,
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
36  virtual ~DtHumanFleePSR();
37 
40 
43  const DtString& rwName = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = 0) const;
45 
48  virtual DtString type() const;
49 
51  virtual void setFleeToPoint(const DtVector&);
52  virtual const DtVector& fleeToPoint() const;
53 
55  virtual bool hasFleeToPoint() const;
56 
58  virtual void setFleeWaypoint(const DtUUID&);
59  virtual DtSimObjectReference fleeWaypoint() const;
60 
61 public:
62 
64  static DtVrfProcessStateRepository* creator (const DtString& rwName,
65  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
66 
67 protected:
70 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
DtRwSimObjectReference myFleeWaypoint
Definition: humanFleePSR.h:69
Definition: readerWriterRegistry.h:39
class DtHumanFleePSR:
Definition: humanFleePSR.h:21
Contains the DtUUID class declaration.
DtRwVector myFleeToPoint
Definition: humanFleePSR.h:68
Definition: rwVector.h:23
Specialized reader/writer version of the shared object reference that will encapsulate the actual sha...
Definition: simObjectReference.h:74
#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
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 procSRTypes.h.
File: rwVector.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)