![]() |
VR-Link API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #ifndef DtSimanPdu_H_ 00011 #define DtSimanPdu_H_ 00012 00013 #if DtDIS 00014 00015 #include "pdu.h" 00016 #include "packets/simanP.h" 00017 #include "hostStructs.h" 00018 #include "interaction.h" 00019 00023 class DT_DLL_VL DtSimanPdu : public DtInteraction 00024 { 00025 public: 00026 00028 DtSimanPdu& operator=(const DtSimanPdu& orig) 00029 { 00030 this->DtPdu::operator=(orig); 00031 return *this; 00032 } 00033 00034 /****************** INSPECTOR FUNCTIONS *******************/ 00035 00037 virtual const DtEntityIdentifier &senderId() const; 00038 00040 virtual const DtEntityIdentifier &receiverId() const; 00041 00042 /****************** MUTATOR FUNCTIONS *******************/ 00044 virtual void setSenderId(const DtEntityIdentifier &id); 00045 00047 virtual void setReceiverId(const DtEntityIdentifier &id); 00048 00050 virtual void printData() const; 00051 00053 virtual void printDataToStream(std::ostream& stream) const; 00054 00055 protected: 00056 DtEntityIdentifier cache; 00057 }; 00058 00059 #endif 00060 #endif 00061 00062 00063