MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resEndMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: resEndMsg.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRestoreEndMsg_H_
13 #define DtRestoreEndMsg_H_
14 
15 #include "saveMsg.h"
16 
17 class DtConnectionMgr;
18 class DtRestoreEndMsg;
19 typedef void (*DtRestoreEndCb)(const DtRestoreEndMsg& msg, void* usr);
20 
22 {
29 };
30 
32 {
33 public:
34 
36  DtRestoreEndMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
40  const char* theLabel,
41  DtEndRestoreResult theResult,
42  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
43 
45  DtRestoreEndMsg(const DtNetSaveMsg* netRepMsg,
46  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
47 
49  virtual ~DtRestoreEndMsg();
50 
52  virtual DtRtiMsg* clone(bool copy = true) const;
53 
55  virtual void set(const char* theLabel, DtEndRestoreResult theResult, bool adjustBufferSize = true);
56 
58  virtual void setEndResult(DtEndRestoreResult theResult);
59  virtual DtEndRestoreResult endResult() const;
60 
61 public:
62 
64  static DtRtiMsg* create(const DtNetMsgHeader* initial,
65  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
67  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
68 
70  static void addCallback(DtConnectionMgr *conn,
71  DtRestoreEndCb cb, void *usr);
72  static void removeCallback(DtConnectionMgr *conn,
73  DtRestoreEndCb cb, void *usr);
74 
75 protected:
76 
77 
80 
81 
82 protected:
83 
84 };
85 
86 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
A base class for the various save/restore messages.
Definition: saveMsg.h:20
void(* DtRestoreEndCb)(const DtRestoreEndMsg &msg, void *usr)
Definition: resEndMsg.h:19
Definition: resEndMsg.h:24
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of this message.
Definition: resEndMsg.h:28
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: resEndMsg.h:31
Definition: resEndMsg.h:27
DtEndRestoreResult
Definition: resEndMsg.h:21
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
Definition: resEndMsg.h:23
Definition: resEndMsg.h:25
Definition: netSaveMsg.h:19
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
Definition: resEndMsg.h:26

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)