MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
saveTsoMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: saveTsoMsg.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveTsoMsg_H_
13 #define DtSaveTsoMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "saveMsg.h"
18 
19 class DT_DLL_LRC DtSaveTsoMsg : public DtSaveMsg
20 {
21 public:
22 
24  DtSaveTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
25 
27  DtSaveTsoMsg(
28  const char* theLabel,
29 #ifdef DtIFSPEC1516
30  rti1516::LogicalTime const & theTime,
31 #elif defined(DtIFSPEC1516E)
32  rti1516e::LogicalTime const & theTime,
33 #else
34  RTI::FedTime const & theTime,
35 #endif
36  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
39  DtSaveTsoMsg(const DtNetSaveMsg* netRepMsg,
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
43  virtual ~DtSaveTsoMsg();
44 
46 #ifdef DtIFSPEC1516
47  void set(const char* theLabel, rti1516::LogicalTime const & theTime);
48 #elif defined(DtIFSPEC1516E)
49  void set(const char* theLabel, rti1516e::LogicalTime const & theTime);
50 #else
51  void set(const char* theLabel, RTI::FedTime const & theTime);
52 #endif
53 
55  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
56 
57 protected:
58 
61 
62 protected:
63 
64 };
65 
66 #endif
67 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
!DtIFSPEC1516
Definition: fedTimeFactory.h:190
A base class for the various save/restore messages.
Definition: saveMsg.h:20
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of this message.
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Print the data section.
Definition: netSaveMsg.h:19
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
void set(const char *theLabel)
Set all fields.

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)