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
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/vrfProcessStateRepository.h
"
17
#include <
readerWriter/rwReal.h
>
18
#include <
readerWriter/rwBoolean.h
>
19
#include <
readerWriter/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
68
virtual
void
setDirectionOfMovement(
double
angle
);
69
virtual
double
directionOfMovement()
const
;
70
72
virtual
void
setAmRotating(
bool
rot);
73
virtual
bool
amRotating()
const
;
74
76
virtual
void
setDefaultAnimationName(
const
DtString
& name);
77
virtual
const
DtString
& defaultAnimationName()
const
;
78
79
public
:
80
82
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
83
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
84
85
protected
:
86
87
DtRwReal
myElapsedTime
;
88
DtRwReal
myDuration
;
89
DtRwBoolean
myAmRotating
;
91
DtRwReal
myDirectionOfMovement
;
92
DtRwString
myDefaultAnimationName
;
93
};
94
95
#endif
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
)