MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
syncConMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: syncConMsg.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtSyncConstrainedMsg_H_
13 #define DtSyncConstrainedMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "rtiMsg.h"
18 #include "netRtiMsgHdr.h"
19 
20 class DtConnectionMgr;
21 class DtSyncConstrainedMsg;
22 typedef void (*DtSyncConstrainedCb)(const DtSyncConstrainedMsg& msg, void* usr);
23 
24 class DT_DLL_LRC DtSyncConstrainedMsg : public DtRtiMsg
25 {
26 public:
27 
29  DtSyncConstrainedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
30 
32  DtSyncConstrainedMsg(const DtNetMsgHeader* netRepMsg,
33  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
34 
36  virtual ~DtSyncConstrainedMsg();
37 
39  virtual DtRtiMsg* clone(bool copy = true) const;
40 
41 public:
42 
44  static DtRtiMsg* create(const DtNetMsgHeader* initial,
45  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
46 
48  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
49 
51  static void addCallback(DtConnectionMgr *conn,
52  DtSyncConstrainedCb cb, void *usr);
53  static void removeCallback(DtConnectionMgr *conn,
54  DtSyncConstrainedCb cb, void *usr);
55 
56 protected:
57 
60 
62  virtual int minSize() const;
63 
64 };
65 
66 #endif
67 #endif
68 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual DtRtiMsgKind internalDtRtiMsgKind()=0
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

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)