MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
netRtiMsgHdr.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: netRtiMsgHdr.h,v $ $Revision: 1.21 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtNetMsgHeader_H_
13 #define DtNetMsgHeader_H_
14 
15 #include "rtiMsConfig.h"
16 #include <vlutil/vlNetTypes.h>
17 #include <vlutil/vlString.h>
18 
19 using namespace MAKRti;
20 
21 #define DtNetExecNameSize 5
22 
24 {
25 public:
26 
30  bool isForExec(const MAKRti::DtString& execName,
31  unsigned short execHandle) const;
32 
34  bool versionMatches(int messageVersion) const;
35 
37  bool metadataInMessage() const;
38  void setMetadataInMessage(bool yesNo);
39 
41  bool isTestMgrMessage() const;
42  void setIsTestMgrMessage(bool yesNo);
43 
45  bool isBundled() const;
46  void setIsBundled(bool yesNo);
47 
49  bool isCompressed() const;
50  void setIsCompressed(bool yesNo);
51 
52 public:
53 
54  DtNetU32 totalSize;
57  DtNetU8 versionCheck;
58  DtNetU8 msgKind;
59  DtNetU8 flags;
63  DtNetU8 fedExecId[DtNetExecNameSize];
64  DtNetU16 version;
65  DtNetU16 fedHandle;
66  DtNetU32 sequenceNumber;
67  DtNetU32 metadataSize;
68  // 64-bit aligned here
69 };
70 
71 #endif
Definition: netRtiMsgHdr.h:23
DtNetU32 sequenceNumber
Definition: netRtiMsgHdr.h:66
DtNetU32 metadataSize
Definition: netRtiMsgHdr.h:67
DtNetU16 fedHandle
Definition: netRtiMsgHdr.h:65
DtNetU8 msgKind
Definition: netRtiMsgHdr.h:58
DtNetU8 versionCheck
Older versions had message kind here.
Definition: netRtiMsgHdr.h:57
DtNetU16 version
Definition: netRtiMsgHdr.h:64
DtNetU32 totalSize
Definition: netRtiMsgHdr.h:54
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
#define DtNetExecNameSize
Definition: netRtiMsgHdr.h:21
DtNetU8 flags
Definition: netRtiMsgHdr.h:59

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)