VR-Link API Documentation for HLA 1.3
 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 
49  virtual void setAzimuthThreshold( double threshold );
50 
55  virtual double azimuthThreshold() const;
56 
62  virtual void setElevationThreshold( double threshold );
63 
68  virtual double elevationThreshold() const;
69 
70  DtCLONE_ENCODER( DtEmitterSystemStateEncoder );
71 
72 protected:
73 
75  virtual bool sendNeeded( const DtEmitterSystemRepository& stateRep,
76  const DtEmitterSystemRepository& asSeenByRemote );
77 
79  virtual void fillOut( const DtEmitterSystemRepository& stateRep,
80  const DtEmitterSystemRepository& asSeenByRemote,
81  DtElectromagneticEmissionPdu* pdu );
82 
83 protected:
84 
85  DtElectromagneticEmissionPdu myAsPdu;
86  double myAzimuthThreshold;
87  double myElevationThreshold;
88 
89 };
90 
91 #endif // DtDIS

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)