MAK RTIspy API Documentation for HLA 1516
savFinMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: savFinMsg.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveFinishMsg_H_
13 #define DtSaveFinishMsg_H_
14 
15 #include "saveMsg.h"
16 
17 class DtConnectionMgr;
18 class DtSaveFinishedMsg;
19 typedef void (*DtSaveFinishedCb)(const DtSaveFinishedMsg& msg, void* usr);
20 
22 {
30 };
31 
33 {
34 public:
35 
37  DtSaveFinishedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
41  const char* theLabel,
42  DtSaveFinishedResult result,
43  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
44 
46  DtSaveFinishedMsg(const DtNetSaveMsg* netRepMsg,
47  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
48 
50  virtual ~DtSaveFinishedMsg();
51 
53  virtual DtRtiMsg* clone(bool copy = true) const;
54 
56  virtual void set(const char* theLabel, DtSaveFinishedResult theResult);
57 
59  virtual void setFinishedResult(DtSaveFinishedResult theResult);
60  virtual DtSaveFinishedResult finishedResult() const;
61 
62 public:
63 
65  static DtRtiMsg* create(const DtNetMsgHeader* initial,
66  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
67 
69  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
70 
72  static void addCallback(DtConnectionMgr *conn,
73  DtSaveFinishedCb cb, void *usr);
74  static void removeCallback(DtConnectionMgr *conn,
75  DtSaveFinishedCb cb, void *usr);
76 
77 protected:
78 
81 
82 protected:
83 
84 };
85 
86 #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)