VR-Forces 4.6 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
laserLauncherPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrfobjcore/vrfProcessStateRepository.h
"
18
#include "
vrfobjcore/vrfObjectReference.h
"
19
20
#include <vl/hostStructs.h>
21
#include "
vrfutil/rwString.h
"
22
#include "
vrfutil/rwBoolean.h
"
23
#include "
vrfutil/rwReal.h
"
24
#include "
vrfutil/rwInt.h
"
25
#include "
vrfutil/rwVector.h
"
26
#include <
vrfutil/rwUUID.h
>
27
32
33
#include "
vrfobjcore/vrfobjcoreDefines.h
"
34
class
DT_DLL_vrfobjcore
DtLaserLauncherPSR
:
public
DtVrfProcessStateRepository
35
{
36
37
protected
:
39
DtLaserLauncherPSR
();
40
41
public
:
42
//constructor
43
DtLaserLauncherPSR
(
DtVrfObject
* vrfObject,
44
const
DtString
& rwName = DtString::nullString(),
45
DtReaderWriterRegistry
* parentRegistry = 0);
46
47
//copy constructor
48
DtLaserLauncherPSR
(
const
DtLaserLauncherPSR
& orig,
49
const
DtString
& rwName = DtString::nullString(),
50
DtReaderWriterRegistry
* parentRegistry = 0);
51
52
//assignment operator
53
const
DtLaserLauncherPSR
&
operator=
(
54
const
DtLaserLauncherPSR
& orig);
55
56
//destructor
57
virtual
~
DtLaserLauncherPSR
();
58
59
//returns a copy of the PSR
60
virtual
DtVrfProcessStateRepository
*
clone
(
61
const
DtString
& rwName = DtString::nullString(),
62
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
63
65
virtual
DtString
type
()
const
;
66
68
virtual
void
setDesignatorCode(
const
int
code);
69
virtual
const
int
designatorCode()
const
;
70
72
virtual
void
setLastLaunchTime(
double
time);
73
virtual
double
lastLaunchTime()
const
;
74
76
77
78
virtual
void
setMissileInFlight(
const
DtUUID
&);
79
81
virtual
const
DtRwVrfObjectReference
& missileInFlight()
const
;
82
virtual
DtRwVrfObjectReference
& missileInFlight();
84
86
static
DtVrfProcessStateRepository
* creator(
const
DtString
& name,
87
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
88
89
protected
:
90
DtRwInt
myDesignatorCode
;
91
DtRwReal
myLastLaunchTime
;
93
DtRwVrfObjectReference
myMissileInFlight
;
94
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)