VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtEntityDataInterface.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtEntityDataInterface.h,v $ $Revision: 1.4 $ $State: Exp $
7
******************************************************************************/
8
11
15
16
#pragma once
17
18
#include <
vrfGuiCore/vrfGuiCore.h
>
19
#include <
vrfGuiCore/DtVrfVrlinkDataInterface.h
>
20
#include <
vrvCore/DtEntityState.h
>
21
#include <
vrfGuiCore/DtIffStateData.h
>
22
#include <
vrfGuiCore/DtVrlinkEmitterSystemState.h
>
23
24
namespace
makVrf
25
{
29
class
DT_DLL_VRFGUICORE
DtEntityDataInterface
:
public
DtVrfVrlinkDataInterface
30
{
31
public
:
32
DtEntityDataInterface
(
makVrv::DtDe
&);
33
virtual
~
DtEntityDataInterface
();
34
38
virtual
void
setStateView(
const
makVrv::DtStateView<makVrv::DtSimState>
*);
39
41
virtual
makVrv::DtElementEntry::ElementType
type()
const
;
42
44
virtual
DtVector
location(
Representation
rep = Local)
const
;
45
47
virtual
std::string label()
const
;
48
50
virtual
DtTaitBryan orientation(
Representation
rep = Local)
const
;
51
53
virtual
DtVector
velocity(
Representation
rep = Local)
const
;
54
56
virtual
DtVector
acceleration(
Representation
rep = Local)
const
;
57
59
virtual
double
heading()
const
;
60
62
virtual
makVrv::DtElementID
embarkedOn()
const
;
63
65
virtual
std::vector<makVrv::DtElementID> objectsEmbarked()
const
;
66
68
virtual
makVrv::DtElementID
superior()
const
;
69
71
makVrv::DtStateView<makVrv::DtVrlinkSimulatedEntityState>
* entityStateView()
const
72
{
73
return
myEntityStateView;
74
}
75
78
makVrv::DtStateView<DtIffStateData>
* iffStateDataView()
const
79
{
80
return
myIffStateDataView;
81
}
82
85
makVrv::DtStateView<DtVrlinkEmitterSystems>
* emitterSystemStateView()
const
86
{
87
return
myEmitterSystemStateView;
88
}
89
90
protected
:
92
virtual
void
slot_simObjectEntryAboutToBeRemoved(
makVrv::DtSimObjectEntry
&);
93
94
protected
:
95
makVrv::DtStateView<makVrv::DtVrlinkSimulatedEntityState>
*
myEntityStateView
;
96
makVrv::DtStateView<DtIffStateData>
*
myIffStateDataView
;
97
makVrv::DtStateView<DtVrlinkEmitterSystems>
*
myEmitterSystemStateView
;
98
};
99
100
typedef
DtObjectDataInterfaceCreator<DtEntityDataInterface>
DtEntityDataInterfaceCreator
;
101
102
typedef
DtBoost::shared_ptr<DtEntityDataInterface>
DtEntityDataInterfacePtr
;
103
}
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
)