VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvVrl
DtWeaponFireElementProcessor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtWeaponFireElementProcessor.h,v $ $Revision: 1.7 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvVrl/vrvVrl.h
>
16
#include <
vrvUtil/DtVirtualBaseClass.h
>
17
#include <
vrvCore/DtVisualizerSet.h
>
18
#include <
vrvCore/DtInteractionStateListener.h
>
19
20
#include <vl/fireInter.h>
21
22
#ifndef DT_PROTOCOL_NAMESPACE
23
#error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
24
#endif
25
26
namespace
makVrv
27
{
28
namespace
DT_PROTOCOL_NAMESPACE
29
{
30
class
DtVrlinkConnection;
31
34
class
DL_DLL_IGCONVRLINK
DtWeaponFireVisualizerSet
:
public
DtVisualizerSet
35
{
36
public
:
37
DtWeaponFireVisualizerSet
(
DtVrlinkConnection
& c);
38
39
virtual
~
DtWeaponFireVisualizerSet
();
40
41
public
:
42
virtual
void
visualize(
const
DtUnicode
& visDefName,
int
modelSet);
43
virtual
void
setLocation(
const
DtVector
&);
44
45
protected
:
46
DtInteractionStateListener
myInteractionListener
;
47
};
48
50
class
DL_DLL_IGCONVRLINK
DtWeaponFireElementProcessor
:
public
DtVirtualBaseClass
51
{
52
public
:
53
56
static
void
registerInstance(
DtVrlinkConnection
& conn,
57
DtWeaponFireElementProcessor
* instance);
58
60
static
DtWeaponFireElementProcessor
* findInstance(
DtVrlinkConnection
& conn);
61
63
DtWeaponFireElementProcessor
(
DtVrlinkConnection
& baseSimulation);
64
66
virtual
~
DtWeaponFireElementProcessor
();
67
69
void
processInteraction(
const
DtFireInteraction& fireInteraction );
70
71
protected
:
72
73
const
DtUnicode
& chooseModelDefinition(
74
const
std::vector<DtUnicode>& definitions);
75
76
protected
:
77
DtVrlinkConnection
&
myConnection
;
78
};
79
}
80
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)