MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
execDisconnectMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: execDisconnectMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRtiExecDisconnectMsg_H_
13 #define DtRtiExecDisconnectMsg_H_
14 
15 #include "disconnectMsg.h"
16 
17 class DtConnectionMgr;
19 typedef void (*DtRtiExecDisconnectCb)(const DtRtiExecDisconnectMsg& inter, void* usr);
20 
22 {
23 public:
24 
26  DtRtiExecDisconnectMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
27 
30  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
31 
33  DtRtiExecDisconnectMsg(unsigned long handle,
34  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
35 
37  virtual ~DtRtiExecDisconnectMsg();
38 
40  virtual DtRtiMsg* clone(bool copy = true) const;
41 
42 public:
43 
45  static DtRtiMsg* create(const DtNetMsgHeader* initial,
46  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
47 
48  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
49 
51  static void addCallback(DtConnectionMgr* conn,
52  DtRtiExecDisconnectCb cb, void* usr, bool isMomCallback=false);
53  static void removeCallback(DtConnectionMgr* conn,
54  DtRtiExecDisconnectCb cb, void* usr, bool isMomCallback=false);
55 
56 protected:
57 
60 
61 protected:
62 
63 };
64 
65 #endif
66 

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)