VR-Forces 4.1.1 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/processSR.h
"
9
#include "
vrfobjcore/fixWingFlightPSR.h
"
10
#include "
vrfutil/rwReal.h
"
11
#include "
vrfutil/rwString.h
"
12
#include "
vrfutil/rwInt.h
"
13
#include "
vrfutil/rwBoolean.h
"
14
#include "
vrfobjcore/vrfobjcoreDefines.h
"
15
16
//RW type definition.
17
19
20
class
DT_DLL_vrfobjcore
DtScriptedMovementControllerPSR
:
public
DtVrfProcessStateRepository
21
{
22
public
:
23
//Constructor
24
DtScriptedMovementControllerPSR
(
DtVrfObject
* vrfObject,
25
const
DtString
& rwName = DtString::nullString(),
26
DtReaderWriterRegistry
* parentRegistry = 0);
27
//Copy constructor
28
DtScriptedMovementControllerPSR
(
const
DtScriptedMovementControllerPSR
& orig,
29
const
DtString
& rwName = DtString::nullString(),
30
DtReaderWriterRegistry
* parentRegistry = 0);
31
//Assignment Operator
32
DtScriptedMovementControllerPSR
&
operator=
(
const
DtScriptedMovementControllerPSR
& orig);
33
//Destructor
34
virtual
~
DtScriptedMovementControllerPSR
();
35
36
//Returns complete copy of this class using the copy constructor.
37
virtual
DtVrfProcessStateRepository
*
clone
(
38
const
DtString
& rwName = DtString::nullString(),
39
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
40
//Returns "intercept-process-state-repository"
41
virtual
DtString
type
()
const
;
42
43
//Static creator function for factory registration.
44
static
DtVrfProcessStateRepository
* creator(
const
DtString
& rwName,
45
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry = 0);
46
47
virtual
void
setTargetPoint(
const
DtString
&);
48
virtual
const
DtString
& targetPoint();
49
50
virtual
void
setMoveOutHeading(
double
);
51
virtual
double
moveOutHeading()
const
;
52
53
virtual
void
setScriptedMovementFile(
const
DtString
&);
54
virtual
const
DtString
& scriptedMovementFile()
const
;
55
56
virtual
void
setStartSimTime(
double
);
57
virtual
double
startSimTime()
const
;
58
59
virtual
void
setCurrentIndex(
int
);
60
virtual
int
currentIndex()
const
;
61
62
virtual
void
setGroundClamp(
bool
);
63
virtual
bool
groundClamp()
const
;
64
65
virtual
void
setCompletionRule(
int
);
66
virtual
int
completionRule()
const
;
67
68
virtual
void
setFileConfiguration(
const
DtString
&);
69
virtual
const
DtString
& fileConfiguration()
const
;
70
71
virtual
void
setEventId(
const
DtString
&);
72
virtual
const
DtString
& eventId()
const
;
73
74
protected
:
75
DtRwString
myTargetPoint
;
76
DtRwReal
myMoveOutHeading
;
77
DtRwString
myScriptedMovementFile
;
78
DtRwReal
mySimStartTime
;
79
DtRwInt
myCurrentIndex
;
80
DtRwString
myEventId
;
81
DtRwInt
myCompletionRule
;
82
DtRwBoolean
myGroundClamp
;
83
DtRwString
myFileConfiguration
;
84
};
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)