VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
scriptedMovementPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include "
vrfobjcore/vrfobjcoreDefines.h
"
9
#include "
vrfobjcore/animationModel.h
"
10
#include "
vrfobjcore/processSR.h
"
11
#include "
vrfutil/rwReal.h
"
12
#include "
vrfutil/rwString.h
"
13
#include "
vrfutil/rwInt.h
"
14
#include "
vrfutil/rwBoolean.h
"
15
#include "
vrfutil/rwTaitBryan.h
"
16
#include "
vrfutil/rwVector.h
"
17
18
//RW type definition.
19
21
22
class
DT_DLL_vrfobjcore
DtScriptedMovementControllerPSR
:
public
DtVrfProcessStateRepository
23
{
24
public
:
25
//Constructor
26
DtScriptedMovementControllerPSR
(
DtVrfObject
* vrfObject,
27
const
DtString
& rwName = DtString::nullString(),
28
DtReaderWriterRegistry
* parentRegistry = 0);
29
//Copy constructor
30
DtScriptedMovementControllerPSR
(
const
DtScriptedMovementControllerPSR
& orig,
31
const
DtString
& rwName = DtString::nullString(),
32
DtReaderWriterRegistry
* parentRegistry = 0);
33
//Assignment Operator
34
DtScriptedMovementControllerPSR
&
operator=
(
const
DtScriptedMovementControllerPSR
& orig);
35
//Destructor
36
virtual
~
DtScriptedMovementControllerPSR
();
37
38
//Returns complete copy of this class using the copy constructor.
39
virtual
DtVrfProcessStateRepository
*
clone
(
40
const
DtString
& rwName = DtString::nullString(),
41
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
42
//Returns "intercept-process-state-repository"
43
virtual
DtString
type
()
const
;
44
45
//Static creator function for factory registration.
46
static
DtVrfProcessStateRepository
* creator(
const
DtString
& rwName,
47
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry = 0);
48
49
virtual
void
setElapsedTime(
double
);
50
virtual
double
elapsedTime()
const
;
51
52
virtual
void
setStartSimTime(
double
);
53
virtual
double
startSimTime()
const
;
54
55
virtual
void
setEventId(
const
DtString
&);
56
virtual
const
DtString
& eventId()
const
;
57
58
virtual
DtAnimationModel
& animationModel();
59
virtual
const
DtAnimationModel
& animationModel()
const
;
60
virtual
void
setAnimationModel(
const
DtAnimationModel
&);
61
62
protected
:
63
virtual
void
getSelf
(DtlObjPtr args,
const
DtFilename& searchPath,
64
const
DtVariableBindingsList
& variableBindings);
65
protected
:
66
DtAnimationModel
myAnimationModel
;
67
DtRwReal
mySimStartTime
;
68
DtRwString
myEventId
;
69
DtRwReal
myElapsedTime
;
70
};
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
)