VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
launchAct.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
#pragma once
11
12
#include "
vrfmodel/weaponAct.h
"
13
#include <vl/hostStructs.h>
14
#include "
vrfmsgs/ifCrtEntity.h
"
15
16
class
DtSimManager
;
17
18
class
DtObjectIdInputPort
;
19
class
DtVectorInputPort
;
20
36
#include "
vrfmodel/vrfmodelDefines.h
"
37
class
DT_DLL_vrfmodel
DtLauncherActuator
:
public
DtWeaponActuator
38
{
39
40
public
:
41
44
DtLauncherActuator
(
const
DtString
& name,
45
DtVrfObject
* owner,
46
DtSimManager
* simManager,
47
DtComponentDescriptor
* desc = 0,
48
DtReaderWriterRegistry
* parentRegistry = 0);
49
51
virtual
~
DtLauncherActuator
();
52
55
virtual
bool
init
();
56
59
virtual
DtString
type
()
const
;
60
69
virtual
void
fireTheWeapon
();
70
72
virtual
DtFireInteraction *
createFireInteraction
(
DtVrfObject
*missile);
73
77
static
DtSimComponent
*
creator
(
const
DtString
& name,
78
DtVrfObject
* owner,
79
DtSimManager
* simManager,
80
DtComponentDescriptor
* desc = 0,
81
DtReaderWriterRegistry
* parentRegistry = 0);
82
83
protected
:
84
87
virtual
bool
createPorts
();
88
89
protected
:
90
92
DtLauncherActuator
();
93
95
DtLauncherActuator
(
const
DtLauncherActuator
& orig);
96
98
const
DtLauncherActuator
&
operator=
(
const
DtLauncherActuator
& orig);
99
100
101
protected
:
102
105
111
DtObjectIdInputPort
*
myMissileIdPort
;
112
118
DtObjectIdInputPort
*
myTargetEntityIdPort
;
119
125
DtVectorInputPort
*
myTargetPointPort
;
126
128
131
static
bool
myDetonationCbackRegistered
;
132
133
DtVector
myCurrentTargetPoint
;
134
};
135
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
)