![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00009 00010 #ifndef dEntityDec_H_ 00011 #define dEntityDec_H_ 00012 00013 #if DtDIS 00014 00015 #include "dStateDecoder.h" 00016 #include "esPdu.h" 00017 #include "esUpdatePdu.h" 00018 #include "supEmisEsPdu.h" 00019 #include "entitySR.h" 00020 00024 class DT_DLL_VL DtEntityStateDecoder : public DtStateDecoder 00025 { 00026 public: 00028 DtEntityStateDecoder(DtExerciseConn* exConn); 00029 00031 virtual ~DtEntityStateDecoder(); 00032 00034 DtEntityStateDecoder(const DtEntityStateDecoder& orig); 00035 00037 DtEntityStateDecoder& operator=(const DtEntityStateDecoder& orig); 00038 00040 virtual void decode(const DtEntityStatePdu& pdu, 00041 DtEntityStateRepository* stateRep); 00042 00044 virtual void decodeEntityStateUpdate(const DtEntityStateUpdatePdu& pdu, 00045 DtEntityStateRepository* stateRep); 00046 00047 virtual void decodeSees(const DtSuppEmisEntStatePdu& pdu, 00048 DtEntityStateRepository* stateRep); 00049 00050 protected: 00053 virtual void decodeAttachedParts( 00054 const DtEntityStatePdu& pdu, 00055 DtEntityStateRepository* stateRep); 00056 }; 00057 00058 #endif 00059 #endif 00060