VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCore
entityDataInterface.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
12
13
#pragma once
14
15
#include <
vrfGuiCore/vrfGuiCore.h
>
16
#include <
vrfGuiCore/vrfVrlinkDataInterface.h
>
17
#include <
vrvCore/DtEntityState.h
>
18
#include <
vrfGuiCore/iffStateData.h
>
19
#include <
vrfGuiCore/propulsionNoiseStateData.h
>
20
#include <
vrfGuiCore/vrlinkEmitterSystemState.h
>
21
#include <
vrfGuiCore/vrlinkActiveSonarState.h
>
22
23
namespace
makVrf
24
{
28
class
DT_DLL_VRFGUICORE
DtEntityDataInterface
:
public
DtVrfVrlinkDataInterface
29
{
30
public
:
31
DtEntityDataInterface
(
makVrv::DtDe
&);
32
virtual
~
DtEntityDataInterface
();
33
37
virtual
void
setStateView(
const
makVrv::DtStateView<makVrv::DtSimState>
*);
38
40
virtual
makVrv::DtElementEntry::ElementType
type()
const
;
41
43
virtual
DtVector
location(
Representation
rep = Local)
const
;
44
46
virtual
std::string label()
const
;
47
49
virtual
DtTaitBryan orientation(
Representation
rep = Local)
const
;
50
52
virtual
DtVector
velocity(
Representation
rep = Local)
const
;
53
55
virtual
DtVector
acceleration(
Representation
rep = Local)
const
;
56
58
virtual
double
heading()
const
;
59
61
virtual
makVrv::DtElementID
embarkedOn()
const
;
62
64
virtual
std::vector<makVrv::DtElementID> objectsEmbarked()
const
;
65
67
virtual
makVrv::DtElementID
superior()
const
;
68
70
makVrv::DtStateView<makVrv::DtVrlinkSimulatedEntityState>
* entityStateView()
const
71
{
72
return
myEntityStateView;
73
}
74
77
makVrv::DtStateView<DtIffStateData>
* iffStateDataView()
const
78
{
79
return
myIffStateDataView;
80
}
81
84
makVrv::DtStateView<DtPropulsionNoiseStateData>
* propulsionNoiseStateDataView()
const
85
{
86
return
myPropulsionNoiseStateDataView;
87
}
88
91
makVrv::DtStateView<DtVrlinkEmitterSystems>
* emitterSystemStateView()
const
92
{
93
return
myEmitterSystemStateView;
94
}
95
98
makVrv::DtStateView<DtVrlinkActiveSonars>
* activeSonarStateView()
const
99
{
100
return
myActiveSonarStateView;
101
}
102
103
protected
:
105
virtual
void
slot_simObjectEntryAboutToBeRemoved(
makVrv::DtSimObjectEntry
&);
106
107
protected
:
108
makVrv::DtStateView<makVrv::DtVrlinkSimulatedEntityState>
*
myEntityStateView
;
109
makVrv::DtStateView<DtIffStateData>
*
myIffStateDataView
;
110
makVrv::DtStateView<DtPropulsionNoiseStateData>
*
myPropulsionNoiseStateDataView
;
111
makVrv::DtStateView<DtVrlinkEmitterSystems>
*
myEmitterSystemStateView
;
112
makVrv::DtStateView<DtVrlinkActiveSonars>
*
myActiveSonarStateView
;
113
};
114
115
typedef
DtObjectDataInterfaceCreator<DtEntityDataInterface>
DtEntityDataInterfaceCreator
;
116
117
typedef
DtBoost::shared_ptr<DtEntityDataInterface>
DtEntityDataInterfacePtr
;
118
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)