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 
virtual DtRtiMsg * clone(bool copy=true) const
Return a copy/empty object of the same type as this.
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: execDisconnectMsg.h:21
Definition: netRtiMsgHdr.h:23
static void removeCallback(DtConnectionMgr *conn, DtDisconnectCb cb, void *usr, bool isMomCallback=false)
Definition: netConnectMsg.h:15
static DtRtiMsg * create(const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
Creator.
void(* DtRtiExecDisconnectCb)(const DtRtiExecDisconnectMsg &inter, void *usr)
Definition: execDisconnectMsg.h:19
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
static void addCallback(DtConnectionMgr *conn, DtDisconnectCb cb, void *usr, bool isMomCallback=false)
Callback management.
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
Definition: disconnectMsg.h:21
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Disconnect Msg.

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)