MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtRtiMsgHeaderReader Class Reference

The DtRtiMsgHeaderReader class reads data from RTI message headers. More...

+ Inheritance diagram for DtRtiMsgHeaderReader:
+ Collaboration diagram for DtRtiMsgHeaderReader:

Public Member Functions

 DtRtiMsgHeaderReader ()
 
virtual ~DtRtiMsgHeaderReader ()
 
virtual bool isBundled (const char *msg, size_t size) const
 Whether the message is part of a bundle. More...
 
virtual void setBundled (char *msg, size_t size, bool bundled) const
 Set whether message is part of a bundle. More...
 
virtual bool isCompressed (const char *msg, size_t size) const
 Whether the message is compressed. More...
 
virtual void setCompressed (char *msg, size_t size, bool compressed) const
 Set whether message is compressed. More...
 
virtual bool hasMetadata (const char *msg, size_t size) const
 Whether the message contains metadata. More...
 
virtual bool getMessageHeader (char *msg, size_t size, char **hdr, size_t &hdrSize) const
 Get the location and size of the message header. More...
 
virtual bool getMessageBody (char *msg, size_t size, char **body, size_t &bodySize) const
 Get the location and size of the message body. More...
 
virtual bool getMessageTrailer (char *msg, size_t size, char **trlr, size_t &trlrSize) const
 Get the location and size of the message trailer (generally metadata). More...
 
virtual size_t messageSize (const char *msg, size_t size) const
 Determine the size of the whole message (including header and metadata) More...
 
virtual void setMessageSize (char *msg, size_t size, size_t newSize) const
 Sets the size of the whole message (including header and metadata) More...
 
virtual size_t bytesForSize () const
 Bytes of data required before message size can be determined. More...
 
- Public Member Functions inherited from DtMsgHeaderReader
virtual ~DtMsgHeaderReader ()
 

Protected Attributes

size_t myBytesForSize
 Number of bytes needed to read the message size. More...
 
size_t myBytesForHeader
 Number of bytes needed for a full message header. More...
 

Detailed Description

The DtRtiMsgHeaderReader class reads data from RTI message headers.

Constructor & Destructor Documentation

DtRtiMsgHeaderReader::DtRtiMsgHeaderReader ( )
virtual DtRtiMsgHeaderReader::~DtRtiMsgHeaderReader ( )
virtual

Member Function Documentation

virtual size_t DtRtiMsgHeaderReader::bytesForSize ( ) const
virtual

Bytes of data required before message size can be determined.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::getMessageBody ( char *  msg,
size_t  size,
char **  body,
size_t &  bodySize 
) const
virtual

Get the location and size of the message body.

Returns false if the message contains no body.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::getMessageHeader ( char *  msg,
size_t  size,
char **  hdr,
size_t &  hdrSize 
) const
virtual

Get the location and size of the message header.

Returns false if the message does not contain a full header.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::getMessageTrailer ( char *  msg,
size_t  size,
char **  trlr,
size_t &  trlrSize 
) const
virtual

Get the location and size of the message trailer (generally metadata).

Returns false if the message does not contain a trailer.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::hasMetadata ( const char *  msg,
size_t  size 
) const
virtual

Whether the message contains metadata.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::isBundled ( const char *  msg,
size_t  size 
) const
virtual

Whether the message is part of a bundle.

Implements DtMsgHeaderReader.

virtual bool DtRtiMsgHeaderReader::isCompressed ( const char *  msg,
size_t  size 
) const
virtual

Whether the message is compressed.

Implements DtMsgHeaderReader.

virtual size_t DtRtiMsgHeaderReader::messageSize ( const char *  msg,
size_t  size 
) const
virtual

Determine the size of the whole message (including header and metadata)

Implements DtMsgHeaderReader.

virtual void DtRtiMsgHeaderReader::setBundled ( char *  msg,
size_t  size,
bool  bundled 
) const
virtual

Set whether message is part of a bundle.

Implements DtMsgHeaderReader.

virtual void DtRtiMsgHeaderReader::setCompressed ( char *  msg,
size_t  size,
bool  compressed 
) const
virtual

Set whether message is compressed.

Implements DtMsgHeaderReader.

virtual void DtRtiMsgHeaderReader::setMessageSize ( char *  msg,
size_t  size,
size_t  newSize 
) const
virtual

Sets the size of the whole message (including header and metadata)

Implements DtMsgHeaderReader.

Member Data Documentation

size_t DtRtiMsgHeaderReader::myBytesForHeader
protected

Number of bytes needed for a full message header.

size_t DtRtiMsgHeaderReader::myBytesForSize
protected

Number of bytes needed to read the message size.


The documentation for this class was generated from the following file:

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)