MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
conSyncMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: conSyncMsg.h,v $ $Revision: 1.8 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtConstrainedSyncMsg_H_
13 #define DtConstrainedSyncMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "timeTwoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtConstrainedSyncMsg;
21 typedef void (*DtConstrainedSyncCb)(const DtConstrainedSyncMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtConstrainedSyncMsg : public DtTimeLookaheadMsg
24 {
25 public:
26 
28  DtConstrainedSyncMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtConstrainedSyncMsg(DtRtiApiTime const & theTime, DtRtiApiTimeInterval const & theLookahead,
32  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
33 
35  DtConstrainedSyncMsg(const DtNetTimeLookaheadMsg* netRepMsg, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
36 
38  virtual DtRtiMsg* clone(bool copy = true) const;
39 
41  virtual ~DtConstrainedSyncMsg();
42 
43 public:
44 
46  static DtRtiMsg* create(const DtNetMsgHeader* initial, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
47 
49  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
50 
52  static void addCallback(DtConnectionMgr *conn, DtConstrainedSyncCb cb, void *usr);
53  static void removeCallback(DtConnectionMgr *conn, DtConstrainedSyncCb cb, void *usr);
54 
55 protected:
56 
58  DtRtiMsgKind internalDtRtiMsgKind();
59 
60 };
61 
62 #endif
63 #endif
64 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
RTI_API::LogicalTime DtRtiApiTime
Typedefs for RTI API types that frequently require conditional precompile directives.
Definition: rtiApiTypes.h:91
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
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
RTI_API::LogicalTimeInterval DtRtiApiTimeInterval
Definition: rtiApiTypes.h:92

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)