VR-Forces 4.7 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
vrfmodel
humanObstructionSensor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
\
8
11
12
#pragma once
13
14
#include "
vrfmodel/obstructionSensor.h
"
15
#include "
vrfmodel/vrfmodelDefines.h
"
16
17
class
DtBooleanInputPort
;
18
23
class
DT_DLL_vrfmodel
DtHumanObstructionSensor
:
public
DtObstructionSensor
24
{
25
26
public
:
27
30
DtHumanObstructionSensor
(
const
DtString
& name,
31
DtVrfObject
* owner,
32
DtSimManager
* simManager,
33
DtComponentDescriptor
* desc = 0,
34
DtReaderWriterRegistry
* parentRegistry = 0);
35
37
virtual
~
DtHumanObstructionSensor
();
38
41
virtual
const
char
*
type
()
const
;
42
43
private
:
45
DtHumanObstructionSensor
(
const
DtObstructionSensor
& orig);
46
48
DtHumanObstructionSensor
&
operator=
(
const
DtObstructionSensor
& orig);
49
50
51
public
:
52
53
protected
:
54
59
virtual
bool
calculateStoppingDistance
(
60
const
DtObstructionSensorDescriptor
& obstructionSensorDesc,
61
double
& stoppingDistance);
62
63
public
:
67
static
DtSimComponent
*
creator
(
const
DtString
& name,
68
DtVrfObject
* owner,
69
DtSimManager
* simManager,
70
DtComponentDescriptor
* desc = 0,
71
DtReaderWriterRegistry
* parentRegistry = 0);
72
73
//Checks value of suspend port.
74
virtual
void
tick
();
75
80
virtual
bool
createPorts
();
81
82
protected
:
85
DtBooleanInputPort
*
mySuspendInputPort
;
86
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)