VR-Forces Development_Version 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
humanPostureController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/controllerComponent.h
"
15
#include "
vrfmodel/vrfmodelDefines.h
"
16
#include "
vrfutil/lifeformStaticPostures.h
"
17
18
class
DtIntegerOutputPort
;
19
class
DtSimMessage
;
20
class
DtHumanPosturePSR
;
21
34
class
DT_DLL_vrfmodel
DtHumanPostureController
:
public
DtControllerComponent
35
{
36
private
:
38
DtHumanPostureController
();
40
DtHumanPostureController
(
const
DtHumanPostureController
& orig);
42
DtHumanPostureController
&
operator=
(
const
DtHumanPostureController
& orig);
43
public
:
45
DtHumanPostureController
(
const
DtString
& name,
DtVrfObject
* owner,
DtSimManager
* simManager,
DtComponentDescriptor
* desc=0,
DtReaderWriterRegistry
*parentRegistry=0);
46
48
virtual
~
DtHumanPostureController
();
49
51
virtual
bool
init
();
52
54
virtual
const
char
*
type
()
const
;
55
57
virtual
void
tick
();
58
62
static
DtSimComponent
* creator(
const
DtString
& name,
63
DtVrfObject
* owner,
64
DtSimManager
* simManager,
65
DtComponentDescriptor
* desc = 0,
66
DtReaderWriterRegistry
* parentRegistry = 0);
67
68
protected
:
69
75
virtual
bool
createPSR();
76
77
virtual
bool
createPorts
();
78
79
static
void
setPostureCallback(
DtSimMessage
* msg,
void
* usr);
80
virtual
void
processSetPosture(
DtSimMessage
* msg);
81
82
static
void
setAppearanceCallback(
DtSimMessage
* msg,
void
* usr);
83
virtual
void
processSetAppearance(
DtSimMessage
* msg);
84
85
protected
:
86
DtIntegerOutputPort
*
myStaticPostureOutputPort
;
87
90
DtHumanPosturePSR
*
myProcessState
;
91
};
92
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)