MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
enableConMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: enableConMsg.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtEnableConstrainedMsg_H_
13 #define DtEnableConstrainedMsg_H_
14 
15 #ifdef DtTIME
16 
17 #include "timeTwoMsg.h"
18 
19 class DtConnectionMgr;
20 class DtEnableConstrainedMsg;
21 typedef void (*DtEnableConstrainedCb)(const DtEnableConstrainedMsg& msg, void* usr);
22 
23 class DT_DLL_LRC DtEnableConstrainedMsg : public DtTimeLookaheadMsg
24 {
25 public:
26 
28  DtEnableConstrainedMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31 #ifdef DtIFSPEC1516
32  DtEnableConstrainedMsg(
33  rti1516::LogicalTime const & timeVal,
34  rti1516::LogicalTimeInterval const & lookaheadVal,
35  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
36 #elif defined(DtIFSPEC1516E)
37  DtEnableConstrainedMsg(
38  rti1516e::LogicalTime const & timeVal,
39  rti1516e::LogicalTimeInterval const & lookaheadVal,
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 #else
42  DtEnableConstrainedMsg(
43  RTI::FedTime const & timeVal,
44  RTI::FedTime const & lookaheadVal,
45  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
46 #endif
47 
49  DtEnableConstrainedMsg(const DtNetTimeLookaheadMsg* netRepMsg,
50  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51 
53  virtual ~DtEnableConstrainedMsg();
54 
56  virtual DtRtiMsg* clone(bool copy = true) const;
57 
58 public:
59 
61  static DtRtiMsg* create(const DtNetMsgHeader* initial,
62  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
63 
65  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
66 
68  static void addCallback(DtConnectionMgr *conn,
69  DtEnableConstrainedCb cb, void *usr);
70  static void removeCallback(DtConnectionMgr *conn,
71  DtEnableConstrainedCb cb, void *usr);
72 
73 protected:
74 
76  DtRtiMsgKind internalDtRtiMsgKind();
77 
78 protected:
80 };
81 
82 #endif
83 #endif
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:60
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
Definition: LogicalTimeInterval.h:27
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
Definition: LogicalTime.h:27

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)