MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tarMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: tarMsg.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtTimeAdvanceRequestMsg_H_
13 #define DtTimeAdvanceRequestMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "timeTwoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtTimeAdvanceRequestMsg;
21 typedef void (*DtTimeAdvanceRequestCb)(const DtTimeAdvanceRequestMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtTimeAdvanceRequestMsg : public DtTimeLookaheadMsg
24 {
25 public:
26 
28  DtTimeAdvanceRequestMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtTimeAdvanceRequestMsg(DtRtiApiTime const & theTime, DtRtiApiTimeInterval const & theLookahead,
32  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
33 
35  DtTimeAdvanceRequestMsg(const DtNetTimeLookaheadMsg* netRepMsg, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
36 
38  virtual ~DtTimeAdvanceRequestMsg();
39 
41  virtual DtRtiMsg* clone(bool copy = true) const;
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, DtTimeAdvanceRequestCb cb, void *usr);
53  static void removeCallback(DtConnectionMgr *conn, DtTimeAdvanceRequestCb 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 Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)