12 #ifndef lgrDisAggregate_H_
13 #define lgrDisAggregate_H_
20 #include <vl/aggStatePdu.h>
27 class DtLgrDisSimulationManager;
31 class DT_DLL_LGRSIM DtLgrDisAggragatePublisher :
public DtLgrPublisherInterface
35 DT_VIRTUAL_CTR(DtLgrDisAggragatePublisher,(
const DtAggregateStatePdu& pdu,
36 DtLgrDisSimulationManager* simManager))
38 virtual ~DtLgrDisAggragatePublisher();
40 virtual void update(
const DtPdu& pdu,
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 );
58 DtAggregateStatePdu lastRead;
59 DtAggregateStatePdu toSend;
64 DtLgrDisSimulationManager* mySimManager;
69 DtVector scaledRotVel;
70 double myLastTimeScale;