MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
initiatedSaveMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: initiatedSaveMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtInitiatedSaveMsg_H_
13 #define DtInitiatedSaveMsg_H_
14 
15 #include "nullMsg.h"
16 
17 class DtConnectionMgr;
18 class DtInitiatedSaveMsg;
19 typedef void (*DtInitiatedSaveCb)(const DtInitiatedSaveMsg& inter, void* usr);
20 
22 {
23 public:
24 
26  DtInitiatedSaveMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
27 
29  DtInitiatedSaveMsg(const DtNetNullMsg* netRep,
30  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
31 
33  virtual ~DtInitiatedSaveMsg();
34 
36  virtual DtRtiMsg* clone(bool copy = true) const;
37 
38 public:
39 
41  static DtRtiMsg* create(const DtNetMsgHeader* initial,
42  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
43 
44  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
45 
47  static void addCallback(DtConnectionMgr* conn,
48  DtInitiatedSaveCb cb, void* usr);
49  static void removeCallback(DtConnectionMgr* conn,
50  DtInitiatedSaveCb cb, void* usr);
51 
52 protected:
53 
56 
57 protected:
58 
59 };
60 
61 #endif
62 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
Definition: netNullMsg.h:19
void(* DtInitiatedSaveCb)(const DtInitiatedSaveMsg &inter, void *usr)
Definition: initiatedSaveMsg.h:19
Definition: nullMsg.h:18
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
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Null Msg.
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
Definition: initiatedSaveMsg.h:21
#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)