MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
saveReqTsoMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: saveReqTsoMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveRequestTsoMsg_H_
13 #define DtSaveRequestTsoMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "saveTsoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtSaveRequestTsoMsg;
21 typedef void (*DtSaveRequestTsoCb)(const DtSaveRequestTsoMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtSaveRequestTsoMsg : public DtSaveTsoMsg
24 {
25 public:
26 
28  DtSaveRequestTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtSaveRequestTsoMsg(
32  const char* theLabel,
33  DtRtiApiTime const & theTime,
34  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
35 
37  DtSaveRequestTsoMsg(const DtNetSaveMsg* netRepMsg,
38  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
39 
41  virtual ~DtSaveRequestTsoMsg();
42 
44  virtual DtRtiMsg* clone(bool copy = true) const;
45 
46 public:
47 
49  static DtRtiMsg* create(const DtNetMsgHeader* initial,
50  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51 
53  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
54 
56  static void addCallback(DtConnectionMgr *conn,
57  DtSaveRequestTsoCb cb, void *usr);
58  static void removeCallback(DtConnectionMgr *conn,
59  DtSaveRequestTsoCb cb, void *usr);
60 
61 protected:
62 
64  virtual DtRtiMsgKind internalDtRtiMsgKind();
65 
66 protected:
67 
68 };
69 
70 #endif
71 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
RTI_API::LogicalTime DtRtiApiTime
Typedefs for RTI API types that frequently require conditional precompile directives.
Definition: rtiApiTypes.h:91
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
Definition: netSaveMsg.h:19
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)