![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 1998 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: saveTsoMsg.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtSaveTsoMsg_H_ 00013 #define DtSaveTsoMsg_H_ 00014 00015 #ifdef DtTIME 00016 00017 #include "saveMsg.h" 00018 00019 class DT_DLL_LRC DtSaveTsoMsg : public DtSaveMsg 00020 { 00021 public: 00022 00024 DtSaveTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00025 00027 DtSaveTsoMsg( 00028 const char* theLabel, 00029 #ifdef DtIFSPEC1516 00030 rti1516::LogicalTime const & theTime, 00031 #elif defined(DtIFSPEC1516E) 00032 rti1516e::LogicalTime const & theTime, 00033 #else 00034 RTI::FedTime const & theTime, 00035 #endif 00036 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00037 00039 DtSaveTsoMsg(const DtNetSaveMsg* netRepMsg, 00040 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER); 00041 00043 virtual ~DtSaveTsoMsg(); 00044 00046 #ifdef DtIFSPEC1516 00047 void set(const char* theLabel, rti1516::LogicalTime const & theTime); 00048 #elif defined(DtIFSPEC1516E) 00049 void set(const char* theLabel, rti1516e::LogicalTime const & theTime); 00050 #else 00051 void set(const char* theLabel, RTI::FedTime const & theTime); 00052 #endif 00053 00055 virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const; 00056 00057 protected: 00058 00060 virtual DtRtiMsgKind internalDtRtiMsgKind(); 00061 00062 protected: 00063 00064 }; 00065 00066 #endif //! DtTIME 00067 #endif //! DtSaveTsoMsg_H_