MAK RTIspy API Documentation for HLA 1.3
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 

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)