MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resumeConMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: resumeConMsg.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtResumeConstrainedMsg_H_
13 #define DtResumeConstrainedMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "lbtsMsg.h"
18 
19 class DtConnectionMgr;
20 class DtResumeConstrainedMsg;
21 typedef void (*DtResumeConstrainedCb)(const DtResumeConstrainedMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtResumeConstrainedMsg : public DtLbtsMsg
24 {
25 public:
26 
28  DtResumeConstrainedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtResumeConstrainedMsg(DtFederateHandle handle, DtRtiApiTime const & lbtsVal, DtRtiApiTime const & lagLbtsVal,
32  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
33 
35  DtResumeConstrainedMsg(const DtNetLbts* netRepMsg, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
36 
38  virtual ~DtResumeConstrainedMsg();
39 
41  virtual DtRtiMsg* clone(bool copy = true) const;
42 
44  virtual void set(DtFederateHandle handle, DtRtiApiTime const & lbtsVal, DtRtiApiTime const & lagLbtsVal);
45 
46 public:
47 
49  static DtRtiMsg* create(const DtNetMsgHeader* initial, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
50 
52  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
53 
55  static void addCallback(DtConnectionMgr *conn, DtResumeConstrainedCb cb, void *usr);
56  static void removeCallback(DtConnectionMgr *conn, DtResumeConstrainedCb cb, void *usr);
57 
58 protected:
59 
61  DtRtiMsgKind internalDtRtiMsgKind();
62 
63 };
64 
65 #endif
66 #endif
67 
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
DtHandle DtFederateHandle
Definition: internalTypes.h:46
#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)