Go to the documentation of this file.00001
00002
00003
00004
00005
00009
00010 #if DtDIS
00011 #ifndef lgrDisReceiver_H_
00012 #define lgrDisReceiver_H_
00013
00014 #include "lgrPublisherInterface.h"
00015 #include "lgrSim.h"
00016 #include "virtualConstructor.h"
00017
00018 class DtClock;
00019 class DtReceiverPdu;
00020 class DtRadioReceiverPublisher;
00021
00022 namespace MAKLogger
00023 {
00024 class DtAbsoluteTime;
00025 class DtLgrDisSimulationManager;
00026
00029 class DT_DLL_LGRSIM DtLgrDisReceiverPublisher : public DtLgrPublisherInterface
00030 {
00031 public:
00032 DT_VIRTUAL_CTR(DtLgrDisReceiverPublisher,(const DtReceiverPdu& pdu,
00033 DtLgrDisSimulationManager* simManager))
00034
00035
00036 virtual ~DtLgrDisReceiverPublisher();
00037
00038 virtual void update( const DtPdu& pdu,double scaling, bool isStatic, bool sendFlag );
00039
00040 virtual void sendUpdateAtScaleChangePoint(
00041 double oldScale, double newScale, bool wasStatic, bool isStatic);
00042
00044 virtual void tick(double scaling, bool isStatic);
00045
00046 protected:
00047 DtRadioReceiverPublisher* myPublisher;
00048 };
00049 }
00050
00051 #endif
00052 #endif