VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
emitterSystemStateEncoder.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
10
11
#ifndef DtEmitterSystemStateEncoder_H_
12
#define DtEmitterSystemStateEncoder_H_
13
14
#if DtDIS
15
16
#include "
stateEncoder.h
"
17
#include "
emitterSystemRepository.h
"
18
#include "
electromagneticEmissionPdu.h
"
19
20
25
class
DT_DLL_VL
DtEmitterSystemStateEncoder
:
public
DtStateEncoder
26
{
27
public
:
29
DtEmitterSystemStateEncoder
();
30
32
virtual
~
DtEmitterSystemStateEncoder
();
33
35
DtEmitterSystemStateEncoder
(
const
DtEmitterSystemStateEncoder
& orig);
36
38
DtEmitterSystemStateEncoder
&
operator=
(
const
DtEmitterSystemStateEncoder
& orig);
39
44
virtual
DtElectromagneticEmissionPdu
* stateMsg(
45
const
DtEmitterSystemRepository
& stateRep,
46
const
DtEmitterSystemRepository
& asSeenByRemote);
47
50
virtual
void
setAzimuthThreshold(
double
threshold);
51
53
virtual
double
azimuthThreshold()
const
;
54
57
virtual
void
setElevationThreshold(
double
threshold);
58
60
virtual
double
elevationThreshold()
const
;
61
62
DtCLONE_ENCODER
(
DtEmitterSystemStateEncoder
);
63
64
protected
:
65
67
virtual
bool
sendNeeded(
const
DtEmitterSystemRepository
& stateRep,
68
const
DtEmitterSystemRepository
& asSeenByRemote);
69
71
virtual
void
fillOut(
72
const
DtEmitterSystemRepository
& stateRep,
73
const
DtEmitterSystemRepository
& asSeenByRemote,
74
DtElectromagneticEmissionPdu
* pdu);
75
76
protected
:
77
78
DtElectromagneticEmissionPdu
myAsPdu
;
79
double
myAzimuthThreshold
;
80
double
myElevationThreshold
;
81
82
};
83
84
85
#endif
86
#endif
87
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
)