MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
saveAbortMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: savBegMsg.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtAbortSaveMsg_H_
13 #define DtAbortSaveMsg_H_
14 
15 #include "saveMsg.h"
16 
17 class DtConnectionMgr;
18 class DtAbortSaveMsg;
19 typedef void (*DtAbortSaveCb)(const DtAbortSaveMsg& msg, void* usr);
20 
21 
23 {
24 public:
25 
27  DtAbortSaveMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
28 
30  DtAbortSaveMsg(const DtNetSaveMsg* netRepMsg,
31  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
32 
34  virtual ~DtAbortSaveMsg();
35 
37  virtual DtRtiMsg* clone(bool copy = true) const;
38 
40  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
41 
42 public:
44  static DtRtiMsg* create(const DtNetMsgHeader* initial,
45  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
46 
48  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
49 
51  static void addCallback(DtConnectionMgr *conn,
52  DtAbortSaveCb cb, void *usr);
53  static void removeCallback(DtConnectionMgr *conn,
54  DtAbortSaveCb cb, void *usr);
55 
56 protected:
57 
60 
61 protected:
62 
63 };
64 
65 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
Definition: fedTimeFactory.h:73
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
Definition: saveAbortMsg.h:22
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Print the data section.
void(* DtAbortSaveCb)(const DtAbortSaveMsg &msg, void *usr)
Definition: saveAbortMsg.h:19
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
Definition: netSaveMsg.h:19
#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)