MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
savBegMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: savBegMsg.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveBegunMsg_H_
13 #define DtSaveBegunMsg_H_
14 
15 #include "saveMsg.h"
16 
17 class DtConnectionMgr;
18 class DtSaveBegunMsg;
19 typedef void (*DtSaveBegunCb)(const DtSaveBegunMsg& msg, void* usr);
20 
21 
23 {
24 public:
25 
27  DtSaveBegunMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
28 
30  DtSaveBegunMsg(const DtNetSaveMsg* netRepMsg,
31  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
32 
34  virtual ~DtSaveBegunMsg();
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  DtSaveBegunCb cb, void *usr);
53  static void removeCallback(DtConnectionMgr *conn,
54  DtSaveBegunCb cb, void *usr);
55 
56 protected:
57 
60 
61 protected:
62 
63 };
64 
65 #endif
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
void(* DtSaveBegunCb)(const DtSaveBegunMsg &msg, void *usr)
Definition: savBegMsg.h:19
!DtIFSPEC1516
Definition: fedTimeFactory.h:190
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:60
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Print the data section.
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
Definition: savBegMsg.h:22
Definition: netSaveMsg.h:19
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126

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)