VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
obstructionSensorPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: obstructionSensorPSR.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #pragma once
16 
18 #include <readerWriter/rwBoolean.h>
19 #include "vrfutil/rwStringList.h"
20 
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 ~DtObstructionSensorPSR();
40 
43 
46  const DtString& rwName = DtString::nullString(),
47  DtReaderWriterRegistry* parentRegistry = 0) const;
48 
49  virtual bool init();
50 
52  virtual DtString type() const;
53 
55  static DtVrfProcessStateRepository* creator (const DtString& rwName,
56  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
57 
60  virtual void setEntitiesAreObstructions(bool b);
61  virtual bool entitiesAreObstructions() const;
63 
66  virtual void setFeaturesAreObstructions(bool b);
67  virtual bool featuresAreObstructions() const;
69 
72  virtual void setFeatureTypesToAvoid( const DtRwStringList& featureTypesToAvoid);
73  virtual DtRwStringList& featureTypesToAvoid();
74  virtual const DtRwStringList& featureTypesToAvoid() const;
76 
77 protected:
81 
82 };
DtRwBoolean myEntitiesAreObstructions
Definition: obstructionSensorPSR.h:78
Definition: readerWriterRegistry.h:39
DtObstructionSensorPSR; Process state repository for DtObstructionSensor.
Definition: obstructionSensorPSR.h:24
#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
DtRwStringList myFeatureTypesToAvoid
Definition: obstructionSensorPSR.h:80
virtual bool init()
Used for virtual construction. This base method simply returns true.
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myFeaturesAreObstructions
Definition: obstructionSensorPSR.h:79
Definition: rwStringList.h:20
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.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)