VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanUseDoorControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
13 #include <readerWriter/rwInt.h>
14 #include <readerWriter/rwReal.h>
15 #include "readerWriter/rwVector.h"
16 #include <readerWriter/rwBoolean.h>
17 
18 
20 {
27 };
28 
33 {
34 public:
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0);
41  const DtString& rwName = DtString::nullString(),
42  DtReaderWriterRegistry* parentRegistry = 0);
45  const DtHumanUseDoorControllerPSR& orig);
47  virtual ~DtHumanUseDoorControllerPSR();
48 
51  const DtString& rwName = DtString::nullString(),
52  DtReaderWriterRegistry* parentRegistry = 0) const;
53 
55  virtual DtString type() const;
56 
58  static DtVrfProcessStateRepository* creator(const DtString& rwName,
59  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
60 
63  virtual DtUseDoorState useDoorState() const;
64  virtual void setUseDoorState(DtUseDoorState newValue);
66 
69  virtual DtVector doorLocation() const;
70  virtual void setDoorLocation(const DtVector& newValue);
72 
75  virtual double timeForNextState() const;
76  virtual void setTimeForNextState(double newValue);
78 
81  virtual bool automaticallyCloseDoors() const;
82  virtual void setAutomaticallyCloseDoors(bool newValue);
84 
85 
86 protected:
87 
92 };
93 
Definition: humanUseDoorControllerPSR.h:23
Definition: readerWriterRegistry.h:39
Definition: humanUseDoorControllerPSR.h:21
Definition: humanUseDoorControllerPSR.h:25
Definition: rwVector.h:23
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtUseDoorState
Definition: humanUseDoorControllerPSR.h:19
DtHumanUseDoorControllerPSR is a process state repository which holds state variables for the DtHuman...
Definition: humanUseDoorControllerPSR.h:32
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwInt myUseDoorState
Definition: humanUseDoorControllerPSR.h:88
DtRwBoolean myAutomaticallyCloseDoors
Definition: humanUseDoorControllerPSR.h:91
Definition: humanUseDoorControllerPSR.h:24
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
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
Definition: humanUseDoorControllerPSR.h:26
Definition: humanUseDoorControllerPSR.h:22
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtRwVector myDoorLocation
Definition: humanUseDoorControllerPSR.h:89
DtRwReal myTimeForNextState
Definition: humanUseDoorControllerPSR.h:90
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)