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