MAK RTIspy API Documentation for HLA 1.3
netRtiMsgHdr.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: netRtiMsgHdr.h,v $ $Revision: 1.21 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtNetMsgHeader_H_
00013 #define DtNetMsgHeader_H_
00014 
00015 #include "rtiMsConfig.h"
00016 #include <vlutil/vlNetTypes.h>
00017 #include <vlutil/vlString.h>
00018 
00019 using namespace MAKRti;
00020 
00021 #define DtNetExecNameSize 5
00022 
00023 class DT_DLL_LRC DtNetMsgHeader
00024 {
00025 public:
00026 
00030    bool isForExec(const MAKRti::DtString& execName,
00031       unsigned short execHandle) const;
00032 
00034    bool versionMatches(int messageVersion) const;
00035 
00037    bool metadataInMessage() const;
00038    void setMetadataInMessage(bool yesNo);
00039 
00041    bool isTestMgrMessage() const;
00042    void setIsTestMgrMessage(bool yesNo);
00043 
00045    bool isBundled() const;
00046    void setIsBundled(bool yesNo);
00047 
00049    bool isCompressed() const;
00050    void setIsCompressed(bool yesNo);
00051 
00052 public:
00053    
00054    DtNetU32 totalSize;
00057    DtNetU8  versionCheck;
00058    DtNetU8  msgKind;
00059    DtNetU8  flags;
00063    DtNetU8  fedExecId[DtNetExecNameSize];   
00064    DtNetU16 version;
00065    DtNetU16 fedHandle;
00066    DtNetU32 sequenceNumber;
00067    DtNetU32 metadataSize;
00068    // 64-bit aligned here
00069 };
00070 
00071 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)