MAK RTIspy API Documentation for HLA 1.3
savInitMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: savInitMsg.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveInitiateMsg_H_
13 #define DtSaveInitiateMsg_H_
14 
15 #include "saveMsg.h"
16 
17 
18 class DtConnectionMgr;
19 class DtSaveInitiateMsg;
20 typedef void (*DtSaveInitiateCb)(const DtSaveInitiateMsg& msg, void* usr);
21 
22 
24 {
25 public:
26 
28  DtSaveInitiateMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
32  const char* theLabel,
33  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
34 
36  DtSaveInitiateMsg(const DtNetSaveMsg* netRepMsg,
37  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  virtual ~DtSaveInitiateMsg();
41 
43  virtual DtRtiMsg* clone(bool copy = true) const;
44 
45 public:
46 
48  static DtRtiMsg* create(const DtNetMsgHeader* initial,
49  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
52 
54  static void addCallback(DtConnectionMgr *conn,
55  DtSaveInitiateCb cb, void *usr);
56  static void removeCallback(DtConnectionMgr *conn,
57  DtSaveInitiateCb cb, void *usr);
58 
59 protected:
60 
63 
64 protected:
65 
66 };
67 
68 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)