VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjcore
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
12
#include "
vrfobjcore/vrfProcessStateRepository.h
"
13
#include "
vrfutil/rwInt.h
"
14
#include "
vrfutil/rwReal.h
"
15
#include "
vrfutil/rwVector.h
"
16
#include "
vrfutil/rwBoolean.h
"
17
18
19
enum
DtUseDoorState
20
{
21
NotUsingDoor
,
22
TurningToOpenDoor
,
23
OpeningDoor
,
24
WalkingThroughDoor
,
25
TurningToCloseDoor
,
26
ClosingDoor
27
};
28
31
#include "
vrfobjcore/vrfobjcoreDefines.h
"
32
class
DT_DLL_vrfobjcore
DtHumanUseDoorControllerPSR
:
public
DtVrfProcessStateRepository
33
{
34
public
:
36
DtHumanUseDoorControllerPSR
(
DtVrfObject
* vrfObject,
37
const
DtString
& rwName = DtString::nullString(),
38
DtReaderWriterRegistry
* parentRegistry = 0);
40
DtHumanUseDoorControllerPSR
(
const
DtHumanUseDoorControllerPSR
& orig,
41
const
DtString
& rwName = DtString::nullString(),
42
DtReaderWriterRegistry
* parentRegistry = 0);
44
DtHumanUseDoorControllerPSR
&
operator=
(
45
const
DtHumanUseDoorControllerPSR
& orig);
47
virtual
~
DtHumanUseDoorControllerPSR
();
48
50
virtual
DtVrfProcessStateRepository
*
clone
(
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
DtVrfObject
* 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
88
DtRwInt
myUseDoorState
;
89
DtRwVector
myDoorLocation
;
90
DtRwReal
myTimeForNextState
;
91
DtRwBoolean
myAutomaticallyCloseDoors
;
92
};
93
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)