VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
diGuyControllerPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: diGuyControllerPSR.h,v $ $Revision: 1.4 $ $State: Exp $
7
** Created: 4/16/08 MEM
8
*******************************************************************************/
9
12
13
#ifndef diGuyControllerPSR_H_
14
#define diGuyControllerPSR_H_
15
16
#include "
vrfobjcore/processSR.h
"
17
#include "
vrfutil/rwReal.h
"
18
#include "
vrfutil/rwBoolean.h
"
19
#include "
vrfutil/rwString.h
"
20
27
28
#include "
vrfobjcore/vrfobjcoreDefines.h
"
29
class
DT_DLL_vrfobjcore
DtDIGuyControllerPSR
:
public
DtVrfProcessStateRepository
30
{
31
public
:
32
34
DtDIGuyControllerPSR
(
DtVrfObject
* vrfObject,
35
const
DtString
& rwName = DtString::nullString(),
36
DtReaderWriterRegistry
* parentRegistry = 0);
37
39
DtDIGuyControllerPSR
(
const
DtDIGuyControllerPSR
& orig,
40
const
DtString
& rwName = DtString::nullString(),
41
DtReaderWriterRegistry
* parentRegistry = 0);
42
44
virtual
~
DtDIGuyControllerPSR
();
45
47
DtDIGuyControllerPSR
&
operator=
(
const
DtDIGuyControllerPSR
& orig);
48
50
virtual
DtVrfProcessStateRepository
*
clone
(
51
const
DtString
& rwName = DtString::nullString(),
52
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
53
55
virtual
DtString
type
()
const
;
56
58
virtual
void
setElapsedTime(
double
time);
59
virtual
double
elapsedTime()
const
;
60
62
virtual
void
setAnimationDuration(
double
time);
63
virtual
double
animationDuration()
const
;
64
67
virtual
void
setDirectionOfMovement(
double
angle);
68
virtual
double
directionOfMovement()
const
;
69
71
virtual
void
setAmRotating(
bool
rot);
72
virtual
bool
amRotating()
const
;
73
75
virtual
void
setDefaultAnimationName(
const
DtString
& name);
76
virtual
const
DtString
& defaultAnimationName()
const
;
77
78
public
:
79
81
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
82
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
83
84
protected
:
85
86
DtRwReal
myElapsedTime
;
87
DtRwReal
myDuration
;
88
DtRwBoolean
myAmRotating
;
89
DtRwReal
myDirectionOfMovement
;
90
DtRwString
myDefaultAnimationName
;
91
};
92
93
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)