MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
restoreAbortMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: queryRestoreStatusMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtAbortRestoreMsg_H_
13 #define DtAbortRestoreMsg_H_
14 
15 #include "rtiMsg.h"
16 #include "netNullMsg.h"
17 
18 class DtConnectionMgr;
19 class DtAbortRestoreMsg;
20 typedef void (*DtAbortRestoreMsgCb)(const DtAbortRestoreMsg& msg, void* usr);
21 
23 {
24 public:
25 
27  DtAbortRestoreMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
28 
30  DtAbortRestoreMsg(const DtNetNullMsg* netRep,
31  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
32 
34  virtual ~DtAbortRestoreMsg();
35 
37  virtual DtRtiMsg* clone(bool copy = true) const;
38 
40  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
41 
42 public:
43 
45  static void addCallback(DtConnectionMgr *conn,
46  DtAbortRestoreMsgCb cb, void *usr);
47  static void removeCallback(DtConnectionMgr *conn,
48  DtAbortRestoreMsgCb cb, void *usr);
49 
51  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
52 
54  static DtRtiMsg* create(const DtNetMsgHeader* initial,
55  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
56 
57 protected:
58 
60  virtual DtNetNullMsg* netNullMsg();
61  virtual const DtNetNullMsg* netNullMsg() const;
62 
65 
67  virtual int minSize() const;
68 
69 };
70 
71 #endif
72 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
void(* DtAbortRestoreMsgCb)(const DtAbortRestoreMsg &msg, void *usr)
Definition: restoreAbortMsg.h:20
Definition: fedTimeFactory.h:73
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Definition: netNullMsg.h:19
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: restoreAbortMsg.h:22
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual DtRtiMsgKind internalDtRtiMsgKind()=0
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

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)