MAK RTIspy API Documentation for HLA 1516
 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,
56  DtEndRestoreResult theResult);
57 
59  virtual void setEndResult(DtEndRestoreResult theResult);
60  virtual DtEndRestoreResult endResult() const;
61 
62 public:
63 
65  static DtRtiMsg* create(const DtNetMsgHeader* initial,
66  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
68  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
69 
71  static void addCallback(DtConnectionMgr *conn,
72  DtRestoreEndCb cb, void *usr);
73  static void removeCallback(DtConnectionMgr *conn,
74  DtRestoreEndCb cb, void *usr);
75 
76 protected:
77 
78 
81 
82 
83 protected:
84 
85 };
86 
87 #endif

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)