MAK RTIspy API Documentation for HLA 1516
saveReqTsoMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: saveReqTsoMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSaveRequestTsoMsg_H_
13 #define DtSaveRequestTsoMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "saveTsoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtSaveRequestTsoMsg;
21 typedef void (*DtSaveRequestTsoCb)(const DtSaveRequestTsoMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtSaveRequestTsoMsg : public DtSaveTsoMsg
24 {
25 public:
26 
28  DtSaveRequestTsoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtSaveRequestTsoMsg(
32  const char* theLabel,
33 #ifdef DtIFSPEC1516
34  rti1516::LogicalTime const & theTime,
35 #elif defined(DtIFSPEC1516E)
36  rti1516e::LogicalTime const & theTime,
37 #else
38  RTI::FedTime const & theTime,
39 #endif
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
43  DtSaveRequestTsoMsg(const DtNetSaveMsg* netRepMsg,
44  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
45 
47  virtual ~DtSaveRequestTsoMsg();
48 
50  virtual DtRtiMsg* clone(bool copy = true) const;
51 
52 public:
53 
55  static DtRtiMsg* create(const DtNetMsgHeader* initial,
56  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
57 
59  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
60 
62  static void addCallback(DtConnectionMgr *conn,
63  DtSaveRequestTsoCb cb, void *usr);
64  static void removeCallback(DtConnectionMgr *conn,
65  DtSaveRequestTsoCb cb, void *usr);
66 
67 protected:
68 
70  virtual DtRtiMsgKind internalDtRtiMsgKind();
71 
72 protected:
73 
74 };
75 
76 #endif
77 #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)