VR-Link API Documentation for HLA 1.3
dEmittrSysEnc.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 "dStateEncoder.h"
17 #include "emitterSysSR.h"
18 #include "elecEmitPdu.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 protected:
63 
65  virtual bool sendNeeded( const DtEmitterSystemRepository& stateRep,
66  const DtEmitterSystemRepository& asSeenByRemote);
67 
69  virtual void fillOut(
70  const DtEmitterSystemRepository& stateRep,
71  const DtEmitterSystemRepository& asSeenByRemote,
72  DtElectromagneticEmissionPdu* pdu);
73 
74 protected:
75 
76  DtElectromagneticEmissionPdu myAsPdu;
77  double myAzimuthThreshold;
78  double myElevationThreshold;
79 
80 };
81 
82 
83 #endif
84 #endif
85 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)