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 

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)