MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resComMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: resComMsg.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRestoreCompleteMsg_H_
13 #define DtRestoreCompleteMsg_H_
14 
15 #include "savCompMsg.h"
16 
17 class DtConnectionMgr;
19 typedef void (*DtRestoreCompleteCb)(const DtRestoreCompleteMsg& msg, void* usr);
20 
21 
23 {
24 public:
25 
27  DtRestoreCompleteMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
28 
31  const char* theLabel,
32  const bool success,
33  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
34 
36  DtRestoreCompleteMsg(const DtNetSaveMsg* netRepMsg,
37  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  virtual ~DtRestoreCompleteMsg();
41 
43  virtual DtRtiMsg* clone(bool copy = true) const;
44 
45 
46 public:
47 
49  static DtRtiMsg* create(const DtNetMsgHeader* initial,
50  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
52  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
53 
55  static void addCallback(DtConnectionMgr *conn,
56  DtRestoreCompleteCb cb, void *usr);
57  static void removeCallback(DtConnectionMgr *conn,
58  DtRestoreCompleteCb cb, void *usr);
59 
60 protected:
61 
62 
65 
66 
67 protected:
68 
69 };
70 
71 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
Definition: savCompMsg.h:22
static void addCallback(DtConnectionMgr *conn, DtSaveCompleteCb cb, void *usr)
Callback management.
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Save Complete Msg.
static void removeCallback(DtConnectionMgr *conn, DtSaveCompleteCb cb, void *usr)
Definition: resComMsg.h:22
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:60
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
virtual DtRtiMsg * clone(bool copy=true) const
Return a copy/empty object of the same type as this.
static DtRtiMsg * create(const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
Creator.
Definition: netSaveMsg.h:19
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
void(* DtRestoreCompleteCb)(const DtRestoreCompleteMsg &msg, void *usr)
Definition: resComMsg.h:19

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)