20 #include <vl/aggregateStatePdu.h>
26 class DtLgrDisSimulationManager;
30 class DT_DLL_LGRSIM DtLgrDisAggragatePublisher :
public DtLgrPublisherInterface
34 DT_VIRTUAL_CTR(DtLgrDisAggragatePublisher,(
const DtAggregateStatePdu& pdu,
35 DtLgrDisSimulationManager& simManager))
37 virtual ~DtLgrDisAggragatePublisher();
39 virtual void update(
const DtPdu& pdu,
const DtAbsoluteTime& updateTime,
bool isTimeFromPast,
40 bool isStateUpdate,
double scaling,
bool isStatic,
bool sendFlag );
42 virtual void sendUpdateAtScaleChangePoint(
double oldScale,
double newScale,
43 bool wasStatic,
bool isStatic);
45 virtual void tick(
double scaling,
bool isStatic);
49 void sendScaled(
double scale,
bool isStatic);
50 void sendCurrent(
double scale,
bool isStatic);
51 void scaleVecs(
double ts );
57 virtual const DtStateMsg& lastState()
const;
61 DtAggregateStatePdu lastRead;
62 DtAggregateStatePdu toSend;
70 DtVector32 scaledRotVel;
71 double myLastTimeScale;