MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
restoreMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: restoreMsg.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRestoreMsg_H_
13 #define DtRestoreMsg_H_
14 
15 #include "saveMsg.h"
16 
17 
18 class DtConnectionMgr;
19 class DtRestoreMsg;
20 typedef void (*DtRestoreCb)(const DtRestoreMsg& msg, void* usr);
21 
22 
24 {
25 public:
26 
28  DtRestoreMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
32  const char* theLabel,
33  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
34 
36  DtRestoreMsg(const DtNetSaveMsg* netRepMsg,
37  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  virtual ~DtRestoreMsg();
41 
43  virtual DtRtiMsg* clone(bool copy = true) const;
44 
45 public:
46 
48  static DtRtiMsg* create(const DtNetMsgHeader* initial,
49  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
52 
54  static void addCallback(DtConnectionMgr *conn,
55  DtRestoreCb cb, void *usr);
56  static void removeCallback(DtConnectionMgr *conn,
57  DtRestoreCb cb, void *usr);
58 
59 protected:
60 
63 
64 protected:
65 
66 };
67 
68 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
A base class for the various save/restore messages.
Definition: saveMsg.h:20
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of this message.
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
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
Definition: restoreMsg.h:23
Definition: netSaveMsg.h:19
void(* DtRestoreCb)(const DtRestoreMsg &msg, void *usr)
Definition: restoreMsg.h:20
#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)