MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
rtiutil
msgHeaderReader.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: msgHeaderReader.h,v $ $Revision: 1.21 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtMsgHeaderReader_H_
13
#define DtMsgHeaderReader_H_
14
15
#include "
rtiMsConfig.h
"
16
17
#ifndef _WIN32
18
#include <sys/types.h>
19
#endif
20
25
class
DT_DLL_RTIUTIL
DtMsgHeaderReader
26
{
27
public
:
28
29
virtual
~DtMsgHeaderReader
() {};
30
32
virtual
bool
isBundled(
const
char
* msg,
size_t
size)
const
= 0;
33
35
virtual
void
setBundled(
char
* msg,
size_t
size,
bool
bundled)
const
= 0;
36
38
virtual
bool
isCompressed(
const
char
* msg,
size_t
size)
const
= 0;
39
41
virtual
void
setCompressed(
char
* msg,
size_t
size,
bool
compressed)
const
= 0;
42
44
virtual
bool
hasMetadata(
const
char
* msg,
size_t
size)
const
= 0;
45
48
virtual
bool
getMessageHeader(
char
* msg,
size_t
size,
49
char
** hdr,
size_t
& hdrSize)
const
= 0;
50
53
virtual
bool
getMessageBody(
char
* msg,
size_t
size,
54
char
** body,
size_t
& bodySize)
const
= 0;
55
58
virtual
bool
getMessageTrailer(
char
* msg,
size_t
size,
59
char
** trlr,
size_t
& trlrSize)
const
= 0;
60
62
virtual
size_t
messageSize(
const
char
* msg,
size_t
size)
const
= 0;
63
65
virtual
void
setMessageSize(
char
* msg,
size_t
size,
size_t
newSize)
const
= 0;
66
68
virtual
size_t
bytesForSize()
const
= 0;
69
70
};
71
72
#endif
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)