MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nerMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: nerMsg.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtNextEventRequestMsg_H_
13 #define DtNextEventRequestMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "timeTwoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtNextEventRequestMsg;
21 typedef void (*DtNextEventRequestCb)(const DtNextEventRequestMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtNextEventRequestMsg : public DtTimeLookaheadMsg
24 {
25 public:
26 
28  DtNextEventRequestMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtNextEventRequestMsg(
32  DtRtiApiTime const & timeVal,
33  DtRtiApiTimeInterval const & lookaheadVal,
34  bool isWaitingForEvent,
35  bool isTimeAvailable,
36  unsigned long nerCycleVal,
37  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  DtNextEventRequestMsg(const DtNetTimeLookaheadMsg* netRepMsg,
41  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
42 
44  virtual ~DtNextEventRequestMsg();
45 
47  virtual DtRtiMsg* clone(bool copy = true) const;
48 
49 public:
50 
52  static DtRtiMsg* create(const DtNetMsgHeader* initial,
53  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
54 
56  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
57 
59  static void addCallback(DtConnectionMgr *conn,
60  DtNextEventRequestCb cb, void *usr);
61  static void removeCallback(DtConnectionMgr *conn,
62  DtNextEventRequestCb cb, void *usr);
63 
64 protected:
65 
67  DtRtiMsgKind internalDtRtiMsgKind();
68 
69 };
70 
71 #endif
72 #endif
73 
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)