VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
entityStateEncoder.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2013 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include "
stateEncoder.h
"
15
#include "
entityStatePdu.h
"
16
#include "
entityStateRepository.h
"
17
22
class
DT_DLL_VL
DtEntityStateEncoder
:
public
DtStateEncoder
23
{
24
public
:
26
DtEntityStateEncoder
();
27
29
virtual
~
DtEntityStateEncoder
();
30
32
DtEntityStateEncoder
(
const
DtEntityStateEncoder
& orig);
33
35
DtEntityStateEncoder
&
operator=
(
const
DtEntityStateEncoder
& orig);
36
41
virtual
DtEntityStatePdu
* stateMsg(
42
const
DtEntityStateRepository
& stateRep,
43
const
DtEntityStateRepository
& asSeenByRemote);
44
45
DtCLONE_ENCODER
(
DtEntityStateEncoder
);
46
protected
:
49
virtual
bool
sendNeeded(
const
DtEntityStateRepository
& stateRep,
50
const
DtEntityStateRepository
& asSeenByRemote);
51
53
virtual
void
fillOut(
const
DtEntityStateRepository
& stateRep,
54
const
DtEntityStateRepository
& asSeenByRemote,
55
DtEntityStatePdu
* pdu);
56
58
virtual
bool
artPartsNeedUpdating(
59
const
DtEntityStateRepository
& stateRep,
60
const
DtEntityStateRepository
& asSeenByRemote);
61
63
virtual
bool
attPartsNeedUpdating(
64
const
DtEntityStateRepository
& stateRep,
65
const
DtEntityStateRepository
& asSeenByRemote);
66
67
#ifdef DtDIS
68
69
virtual
bool
variableDatumNeedsUpdating(
70
const
DtEntityStateRepository
& stateRep,
71
const
DtEntityStateRepository
& asSeenByRemote);
72
#endif
73
77
virtual
void
fillOutDeadReckoningParams(
78
const
DtEntityStateRepository
& stateRep,
79
DtEntityStatePdu
* pdu);
80
83
virtual
void
fillOutArtAndAttParts(
84
const
DtEntityStateRepository
& stateRep,
85
const
DtEntityStateRepository
& asSeenByRemote,
86
DtEntityStatePdu
* pdu);
87
88
protected
:
89
DtEntityStatePdu
myEsPdu
;
90
};
91
92
#endif
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)