MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
federationShadowDisconnectMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2022 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
7 
8 #pragma once
9 
10 #include "disconnectMsg.h"
11 
12 class DtConnectionMgr;
14 typedef void (*DtFederationShadowDisconnectCb)(const DtFederationShadowDisconnectMsg& inter, void* usr);
15 
17 {
18 public:
19 
21  DtFederationShadowDisconnectMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
22 
24  DtFederationShadowDisconnectMsg(const DtNetConnectMsg* netRep, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
25 
27  DtFederationShadowDisconnectMsg(unsigned long handle, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
28 
31 
33  virtual DtRtiMsg* clone(bool copy = true) const;
34 
35 public:
36 
38  static DtRtiMsg* create(const DtNetMsgHeader* initial, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
39 
40  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
43  static void addCallback(DtConnectionMgr* conn, DtFederationShadowDisconnectCb cb, void* usr, bool isMomCallback=false);
44  static void removeCallback(DtConnectionMgr* conn, DtFederationShadowDisconnectCb cb, void* usr, bool isMomCallback=false);
45 
46 protected:
47 
50 
51 protected:
52 
53 };
54 
virtual DtRtiMsg * clone(bool copy=true) const
Return a copy/empty object of the same type as this.
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
static void removeCallback(DtConnectionMgr *conn, DtDisconnectCb cb, void *usr, bool isMomCallback=false)
Definition: netConnectMsg.h:15
Definition: federationShadowDisconnectMsg.h:16
static DtRtiMsg * create(const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
Creator.
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
void(* DtFederationShadowDisconnectCb)(const DtFederationShadowDisconnectMsg &inter, void *usr)
Definition: federationShadowDisconnectMsg.h:14
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Disconnect Msg.

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)