MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisTransmitter.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 #include "lgrPublisherInterface.h"
15 #include <lgrSim/lgrSim.h>
17 
18 class DtClock;
19 class DtTransmitterPdu;
20 class DtRadioTransmitterPublisher;
21 
22 namespace MAKLogger
23 {
24  class DtAbsoluteTime;
25  class DtLgrDisSimulationManager;
26 
28  {
29  public:
30  DT_VIRTUAL_CTR(DtLgrDisTransmitterPublisher,(const DtTransmitterPdu& pdu,
31  DtLgrDisSimulationManager& simManager))
32 
33 
35 
36  virtual void update(const DtPdu& pdu, const DtAbsoluteTime& updateTime, bool isTimeFromPast,
37  bool isStateUpdate, double scaling, bool isStatic, bool sendFlag);
38 
39  virtual void sendUpdateAtScaleChangePoint(
40  double oldScale, double newScale, bool wasStatic, bool isStatic);
41 
43  virtual void tick(double scaling, bool isStatic);
44 
45  protected:
47  virtual const DtStateMsg& lastState() const;
48 
50  virtual void tickVrlPublisher();
51 
52  protected:
53  DtRadioTransmitterPublisher* myPublisher;
54  };
55 }
56 
57 #endif
58 

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)