VR-Forces 4.6.1 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
diGuyGestureController.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
7
8
#pragma once
9
10
#include "
vrfobjcore/singleTaskControllerComponent.h
"
11
#include "
vrfmodel/vrfmodelDefines.h
"
12
#include "
vrfutil/simClock.h
"
13
14
class
DtSimMessage
;
15
class
DtDiGuyGestureControllerPSR
;
16
20
class
DT_DLL_vrfmodel
DtDiGuyGestureController
:
public
DtSingleTaskControllerComponent
21
{
22
public
:
23
26
DtDiGuyGestureController
(
const
DtString
& name,
27
DtVrfObject
* owner,
28
DtSimManager
* simManager,
29
DtComponentDescriptor
* desc = 0,
30
DtReaderWriterRegistry
* parentRegistry = 0);
31
33
virtual
~
DtDiGuyGestureController
();
34
37
virtual
const
char
*
type
()
const
;
38
41
virtual
bool
init
();
42
48
virtual
bool
createPSR();
49
51
virtual
void
tick
();
52
53
static
void
gestureTaskCallback(
DtSimMessage
* msg,
void
* usrData);
54
virtual
void
processGestureTask(
DtSimMessage
* msg);
55
57
virtual
void
taskComplete
(
bool
success =
true
);
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
:
70
virtual
void
registerTaskMsgCallbacks
();
71
72
protected
:
75
virtual
double
executeGesture(
const
DtString
&);
76
78
virtual
void
stopGesture(
const
DtString
&);
79
80
protected
:
82
DtDiGuyGestureController
();
83
85
DtDiGuyGestureController
(
const
DtDiGuyGestureController
& orig);
86
88
const
DtDiGuyGestureController
&
operator=
(
const
DtDiGuyGestureController
&
89
orig);
90
91
protected
:
94
DtDiGuyGestureControllerPSR
*
myProcessState
;
95
};
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)