VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
10
#pragma once
11
12
#include "
vrfobjcore/singleTaskControllerComponent.h
"
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
15
class
DtSimMessage
;
16
class
DtHumanMovementControlOutputPortGroup
;
17
23
class
DT_DLL_vrfmodel
DtHumanTurnToController
:
public
DtSingleTaskControllerComponent
24
{
25
private
:
27
DtHumanTurnToController
();
29
DtHumanTurnToController
(
const
DtHumanTurnToController
& orig);
31
DtHumanTurnToController
&
operator=
(
const
DtHumanTurnToController
& orig);
32
public
:
34
DtHumanTurnToController
(
const
DtString
& name,
DtVrfObject
* owner,
35
DtSimManager
* simManager,
DtComponentDescriptor
* desc=0,
36
DtReaderWriterRegistry
*parentRegistry=0);
37
39
virtual
~
DtHumanTurnToController
();
40
42
virtual
bool
init
();
43
45
virtual
DtString
type
()
const
;
46
48
virtual
void
tick
();
49
53
static
void
turnToHeadingCallback(
DtSimMessage
* msg,
void
* usr);
54
virtual
void
processTurnToHeadingTask(
DtSimMessage
* msg);
55
57
virtual
void
registerTaskMsgCallbacks
();
58
60
static
DtSimComponent
* creator(
const
DtString
& name,
DtVrfObject
* owner,
61
DtSimManager
* simManager,
DtComponentDescriptor
* desc=0,
62
DtReaderWriterRegistry
* parentRegistry=0);
63
65
virtual
bool
createPortGroups
();
66
68
virtual
void
clearTask
();
69
70
protected
:
72
virtual
double
headingToFace();
73
74
protected
:
75
77
78
79
DtHumanMovementControlOutputPortGroup
*
myHumanMovementControlOutputPortGroup
;
81
};
82
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)