MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fomModuleDistExecMsg.h
Go to the documentation of this file.
1 /**************************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 ***************************************************************************/
5 /**************************************************************************
6 ** $RCSfile: fomModuleDistributionMsg.h,v $ $Revision: 1.4 $ $State: Exp $
7 ***************************************************************************/
8 
11 
12 #ifndef DtFomModuleDistExecMsg_H_
13 #define DtFomModuleDistExecMsg_H_
14 
15 #include "rtiMsConfig.h"
16 #include "rtiMsg.h"
17 #include "netFedFileMsg.h"
18 #include <vlutil/vlString.h>
20 
21 class DtConnectionMgr;
23 typedef void (*DtFomModuleDistExecCb)(const DtFomModuleDistExecMsg& inter, void* usr);
24 
25 
27 {
28 public:
29 
31  DtFomModuleDistExecMsg( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
32 
34  DtFomModuleDistExecMsg( const DtNetFedFileMsg* netRepMsg,
35  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
36 
38  virtual ~DtFomModuleDistExecMsg();
39 
41  virtual DtRtiMsg* clone(bool copy = true) const;
42 
44  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
45 
46 public:
47 
49  static DtRtiMsg* create( const DtNetMsgHeader* initial,
50  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
51 
53  static DtRtiMsg* create( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
54 
56  static void addCallback(DtConnectionMgr* conn,
57  DtFomModuleDistExecCb cb, void* usr);
58  static void removeCallback(DtConnectionMgr* conn,
59  DtFomModuleDistExecCb cb, void* usr);
60 
61 protected:
62 
65 
67  virtual DtFomModuleDistExecMsg* self() const;
68 
69 };
70 
71 
73 {
74  return const_cast<DtFomModuleDistExecMsg*>( this );
75 }
76 
77 #endif
78 
Definition: netFedFileMsg.h:19
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
static void addCallback(DtConnectionMgr *conn, DtFomModuleDistCb cb, void *usr)
Callback management.
Definition: fedTimeFactory.h:73
Definition: fomModuleDistExecMsg.h:26
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
void(* DtFomModuleDistExecCb)(const DtFomModuleDistExecMsg &inter, void *usr)
Definition: fomModuleDistExecMsg.h:23
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Print the data section.
Definition: fomModuleDistributionMsg.h:25
virtual DtRtiMsg * clone(bool copy=true) const
Return a copy/empty object of the same type as this.
static DtRtiMsg * create(const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
Creator for receiving.
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Create Msg.
static void removeCallback(DtConnectionMgr *conn, DtFomModuleDistCb cb, void *usr)
virtual DtFomModuleDistExecMsg * self() const
Casts away const-ness.
Definition: fomModuleDistExecMsg.h:72

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)