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 MAK Technologies, Inc
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
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtElectromagneticEmissionPdu class declaration.
Instances of DtEmitterSystemRepository are used to store state data for emitter systems in both HLA a...
Definition: emitterSystemRepository.h:29
This file declares the DIS version of DtStateEncoder.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)