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() override;
48 
51  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
52 
54  virtual DtString type() const override;
55 
57  static DtVrfProcessStateRepository* creator(const DtString& rwName,
58  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
59 
62  virtual DtUseDoorState useDoorState() const;
63  virtual void setUseDoorState(DtUseDoorState newValue);
65 
68  virtual DtVector doorLocation() const;
69  virtual void setDoorLocation(const DtVector& newValue);
71 
74  virtual double timeForNextState() const;
75  virtual void setTimeForNextState(double newValue);
77 
80  virtual bool automaticallyCloseDoors() const;
81  virtual void setAutomaticallyCloseDoors(bool newValue);
83 
84 
85 protected:
86 
91 };
92 
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:87
DtRwBoolean myAutomaticallyCloseDoors
Definition: humanUseDoorControllerPSR.h:90
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 psrTypes.h.
DtRwVector myDoorLocation
Definition: humanUseDoorControllerPSR.h:88
DtRwReal myTimeForNextState
Definition: humanUseDoorControllerPSR.h:89
File: rwVector.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)