![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00010 00011 #ifndef DtAggregateStateEncoder_H_ 00012 #define DtAggregateStateEncoder_H_ 00013 00014 #if DtDIS 00015 00016 #include "dStateEncoder.h" 00017 #include "aggStatePdu.h" 00018 #include "aggregateSR.h" 00019 00024 class DT_DLL_VL DtAggregateStateEncoder : public DtStateEncoder 00025 { 00026 public: 00028 DtAggregateStateEncoder(); 00029 00031 virtual ~DtAggregateStateEncoder(); 00032 00034 DtAggregateStateEncoder(const DtAggregateStateEncoder& orig); 00035 00037 DtAggregateStateEncoder& operator=(const DtAggregateStateEncoder& orig); 00038 00043 virtual DtAggregateStatePdu* stateMsg( 00044 const DtAggregateStateRepository& stateRep, 00045 const DtAggregateStateRepository& asSeenByRemote); 00046 00047 protected: 00049 virtual bool sendNeeded( 00050 const DtAggregateStateRepository& stateRep, 00051 const DtAggregateStateRepository& asSeenByRemote); 00052 00054 virtual void fillOut( 00055 const DtAggregateStateRepository& stateRep, 00056 const DtAggregateStateRepository& asSeenByRemote, 00057 DtAggregateStatePdu* pdu); 00058 00059 protected: 00060 DtAggregateStatePdu myAsPdu; 00061 }; 00062 00063 #endif 00064 #endif 00065