VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
entityStateEncoder.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2014 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vl/stateEncoder.h
>
15
#include <
vl/entityStatePdu.h
>
16
#include <
vl/entityStateRepository.h
>
17
21
class
DT_DLL_VL
DtEntityStateEncoder
:
public
DtStateEncoder
22
{
23
public
:
24
26
DtEntityStateEncoder
();
27
29
DtEntityStateEncoder
(
const
DtEntityStateEncoder
& orig );
30
32
virtual
~
DtEntityStateEncoder
();
33
35
DtEntityStateEncoder
&
operator =
(
const
DtEntityStateEncoder
& orig );
36
40
virtual
DtEntityStatePdu
* stateMsg(
41
const
DtEntityStateRepository
& stateRep,
42
const
DtEntityStateRepository
& asSeenByRemote );
43
44
DtCLONE_ENCODER
(
DtEntityStateEncoder
);
45
46
protected
:
47
50
virtual
bool
sendNeeded(
const
DtEntityStateRepository
& stateRep,
51
const
DtEntityStateRepository
& asSeenByRemote );
52
54
virtual
void
fillOut(
const
DtEntityStateRepository
& stateRep,
55
const
DtEntityStateRepository
& asSeenByRemote,
56
DtEntityStatePdu
* pdu );
57
59
virtual
bool
artPartsNeedUpdating(
60
const
DtEntityStateRepository
& stateRep,
61
const
DtEntityStateRepository
& asSeenByRemote );
62
64
virtual
bool
attPartsNeedUpdating(
65
const
DtEntityStateRepository
& stateRep,
66
const
DtEntityStateRepository
& asSeenByRemote );
67
68
#ifdef DtDIS
69
71
virtual
bool
variableDatumNeedsUpdating(
72
const
DtEntityStateRepository
& stateRep,
73
const
DtEntityStateRepository
& asSeenByRemote );
74
75
#endif
76
80
virtual
void
fillOutDeadReckoningParams(
81
const
DtEntityStateRepository
& stateRep,
82
DtEntityStatePdu
* pdu );
83
86
virtual
void
fillOutArtAndAttParts(
87
const
DtEntityStateRepository
& stateRep,
88
const
DtEntityStateRepository
& asSeenByRemote,
89
DtEntityStatePdu
* pdu );
90
91
protected
:
92
93
DtEntityStatePdu
myEsPdu
;
94
95
};
96
97
#endif // DtDIS
Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)