VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterSystemStateEncoder.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>
17 
21 class DT_DLL_VL DtEmitterSystemStateEncoder : public DtStateEncoder
22 {
23 public:
24 
26  DtEmitterSystemStateEncoder();
27 
29  DtEmitterSystemStateEncoder( const DtEmitterSystemStateEncoder& orig );
30 
32  virtual ~DtEmitterSystemStateEncoder();
33 
35  DtEmitterSystemStateEncoder& operator = ( const DtEmitterSystemStateEncoder& orig );
36 
40  virtual DtElectromagneticEmissionPdu* stateMsg(
41  const DtEmitterSystemRepository& stateRep,
42  const DtEmitterSystemRepository& asSeenByRemote );
43 
46  virtual void setAzimuthThreshold( double threshold );
47 
49  virtual double azimuthThreshold() const;
50 
53  virtual void setElevationThreshold( double threshold );
54 
56  virtual double elevationThreshold() const;
57 
58  DtCLONE_ENCODER( DtEmitterSystemStateEncoder );
59 
60 protected:
61 
63  virtual bool sendNeeded( const DtEmitterSystemRepository& stateRep,
64  const DtEmitterSystemRepository& asSeenByRemote );
65 
67  virtual void fillOut( const DtEmitterSystemRepository& stateRep,
68  const DtEmitterSystemRepository& asSeenByRemote,
69  DtElectromagneticEmissionPdu* pdu );
70 
71 protected:
72 
73  DtElectromagneticEmissionPdu myAsPdu;
74  double myAzimuthThreshold;
75  double myElevationThreshold;
76 
77 };
78 
79 #endif // DtDIS

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)