MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisReceiver.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2016 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 
15 #include "lgrPublisherInterface.h"
16 #include <lgrSim/lgrSim.h>
18 
19 class DtClock;
20 class DtReceiverPdu;
21 class DtRadioReceiverPublisher;
22 
23 namespace MAKLogger
24 {
25  class DtAbsoluteTime;
26  class DtLgrDisSimulationManager;
27 
30  class DT_DLL_LGRSIM DtLgrDisReceiverPublisher : public DtLgrPublisherInterface
31  {
32  public:
33  DT_VIRTUAL_CTR(DtLgrDisReceiverPublisher,(const DtReceiverPdu& pdu,
34  DtLgrDisSimulationManager& simManager))
35 
36 
37  virtual ~DtLgrDisReceiverPublisher();
38 
39  virtual void update(const DtPdu& pdu, const DtAbsoluteTime& updateTime, bool isTimeFromPast,
40  bool isStateUpdate, double scaling, bool isStatic, bool sendFlag);
41 
42  virtual void sendUpdateAtScaleChangePoint(
43  double oldScale, double newScale, bool wasStatic, bool isStatic);
44 
46  virtual void tick(double scaling, bool isStatic);
47 
48  protected:
49 
51  virtual const DtStateMsg& lastState() const;
52 
54  virtual void tickVrlPublisher();
55 
56  protected:
57  DtRadioReceiverPublisher* myPublisher;
58  };
59 }
60 
61 #endif
62 

Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)