MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantMsgHeaderReader.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantMsgHeaderReader.h,v $ $Revision: $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtAssistantMsgHeaderReader_H_
13 #define DtAssistantMsgHeaderReader_H_
14 
15 #include <msgHeaderReader.h>
16 
21 {
22 public:
23 
25 
26  virtual ~DtAssistantMsgHeaderReader();
27 
29  virtual bool isBundled(const char* msg, size_t size) const;
30 
32  virtual void setBundled(char* msg, size_t size, bool bundled) const;
33 
35  virtual bool isCompressed(const char* msg, size_t size) const;
36 
38  virtual void setCompressed(char* msg, size_t size, bool compressed) const;
39 
41  virtual bool hasMetadata(const char* msg, size_t size) const;
42 
45  virtual bool getMessageHeader(char* msg, size_t size,
46  char** hdr, size_t& hdrSize) const;
47 
50  virtual bool getMessageBody(char* msg, size_t size,
51  char** body, size_t& bodySize) const;
52 
55  virtual bool getMessageTrailer(char* msg, size_t size,
56  char** trlr, size_t& trlrSize) const;
57 
59  virtual size_t messageSize(const char* msg, size_t size) const;
60 
62  virtual void setMessageSize(char* msg, size_t size, size_t newSize) const;
63 
65  virtual size_t bytesForSize() const;
66 
67 protected:
68 
71 
74 
75 };
76 
77 #endif

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)