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
humanTurnToController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
10
#pragma once
11
12
#include "
vrfobjcore/singleTaskControllerComponent.h
"
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
15
class
DtSimMessage
;
16
class
DtHumanMovementControlOutputPortGroup
;
17
class
DtBooleanOutputPort
;
18
class
DtHumanStateRepository
;
19
25
class
DT_DLL_vrfmodel
DtHumanTurnToController
:
public
DtSingleTaskControllerComponent
26
{
27
private
:
29
DtHumanTurnToController
();
31
DtHumanTurnToController
(
const
DtHumanTurnToController
& orig);
33
DtHumanTurnToController
&
operator=
(
const
DtHumanTurnToController
& orig);
34
public
:
36
DtHumanTurnToController
(
const
DtString
& name,
DtVrfObject
* owner,
37
DtSimManager
* simManager,
DtComponentDescriptor
* desc=0,
38
DtReaderWriterRegistry
*parentRegistry=0);
39
41
virtual
~
DtHumanTurnToController
();
42
44
virtual
bool
init
();
45
47
virtual
const
char
*
type
()
const
;
48
50
virtual
void
tick
();
51
55
static
void
turnToHeadingCallback(
DtSimMessage
* msg,
void
* usr);
56
virtual
void
processTurnToHeadingTask(
DtSimMessage
* msg);
57
59
virtual
void
registerTaskMsgCallbacks
();
60
62
static
DtSimComponent
* creator(
const
DtString
& name,
DtVrfObject
* owner,
63
DtSimManager
* simManager,
DtComponentDescriptor
* desc=0,
64
DtReaderWriterRegistry
* parentRegistry=0);
65
67
virtual
bool
createPortGroups
();
68
70
virtual
bool
createPorts
();
71
73
virtual
void
clearTask
();
74
75
protected
:
77
virtual
double
headingToFace();
78
79
protected
:
80
82
83
84
DtHumanMovementControlOutputPortGroup
*
myHumanMovementControlOutputPortGroup
;
85
91
DtBooleanOutputPort
*
myIsMovingPort
;
93
94
DtHumanStateRepository
*
myHumanStateRepository
;
95
};
96
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
)