MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
disconnectMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: disconnectMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtDisconnectMsg_H_
13 #define DtDisconnectMsg_H_
14 
15 #include "connectMsg.h"
16 
17 class DtConnectionMgr;
18 class DtDisconnectMsg;
19 typedef void (*DtDisconnectCb)(const DtDisconnectMsg& inter, void* usr);
20 
22 {
23 public:
24 
26  DtDisconnectMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
27 
29  DtDisconnectMsg(const DtNetConnectMsg* netRep,
30  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
31 
33  DtDisconnectMsg(unsigned long handle,
34  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
35 
37  virtual ~DtDisconnectMsg();
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  DtDisconnectCb cb, void* usr, bool isMomCallback=false);
53  static void removeCallback(DtConnectionMgr* conn,
54  DtDisconnectCb cb, void* usr, bool isMomCallback=false);
55 
56 protected:
57 
60 
61 protected:
62 
63 };
64 
65 #endif
66 

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)