OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimJpipMessageHeader.h>
Public Member Functions | |
ossimJpipMessageHeader () | |
void | reset () |
ossimString | toString () const |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Public Attributes | |
bool | m_isLastByte |
Bin-ID = [BinIdIndicator, completeDataBin, InClassIdentifier]. More... | |
ossim_int64 | m_inClassIdentifier |
ossim_int32 | m_classIdentifier |
If present, provides a message class identifier. More... | |
ossim_int32 | m_CSn |
If present, identifies the index (stating from 0) of the codestream to which the data-bin belongs. More... | |
ossim_int64 | m_msgOffset |
Identifies the offset of the data in the message from the start of the data-bin. More... | |
ossim_int64 | m_msgLength |
Identifies the total number of bytes in the body of the message. More... | |
ossim_int64 | m_aux |
If present, it represents a non-negative integer value, formed by concatenating the least significant 7 bits of each byte in the VBAS in big-endian order. More... | |
bool | m_isEOR |
Indicates if this JPIP Message is an End of Response Message. More... | |
int | m_EORCode |
Definition in CADI.Common.Network.JPIP.EORCodes. More... | |
ossimString | m_EORReasonMessage |
It is and reason message associated with the EORReasonCode . More... | |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 14 of file ossimJpipMessageHeader.h.
|
inline |
Definition at line 17 of file ossimJpipMessageHeader.h.
|
inline |
Definition at line 31 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessage::reset().
|
inline |
Definition at line 44 of file ossimJpipMessageHeader.h.
References ossimString::toString().
ossim_int64 ossimJpipMessageHeader::m_aux |
If present, it represents a non-negative integer value, formed by concatenating the least significant 7 bits of each byte in the VBAS in big-endian order.
Its presence and meaning if present, is determined by the message class identifier found within the Bin-ID VBAS.
Definition at line 210 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().
ossim_int32 ossimJpipMessageHeader::m_classIdentifier |
If present, provides a message class identifier.
The message class identifier is a non-negative integer, formed by concatenating the least significant 7 bits of each byte of the VBAS in big-endian order. If no present, the message class identifier is unchanged form that associated with the previous message. If the Class VBAS is not present and there is no previous message, the message class identifier is 0.
Class identifier | Message class | Data-bin class | Stream type |
0 | Precinct data-bin message | Precinct data-bin | JPP-stream only |
1 | Extended precinct data-bin message | Precinct data-bin | JPP-stream only |
2 | Tile header data-bin message | Tile header data-bin | JPP-stream only |
4 | Tile data-bin message | Tile data-bin | JPT-stream only |
5 | Extended precinct data-bin message | Tile data-bin | JPT-stream only |
6 | Main header data-bin message | Main heaer data-bin | JPP- and JPT-stream |
8 | Metadata-bin message | Metadata-bin | JPP and JPT-stream |
Allowed values, see CADI.Common.Network.JPIP.ClassIdentifiers.
Definition at line 176 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().
ossim_int32 ossimJpipMessageHeader::m_CSn |
If present, identifies the index (stating from 0) of the codestream to which the data-bin belongs.
The codestream index is formed by concatenating the leas significant 7 bits of each byte of the VBAS in big-endian order. If the CSn VBAS is no present, the codestream index is unchanged from the previous message. If CSn VBAS is no present and there is no previous message, the codestream index is 0.
Definition at line 186 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().
int ossimJpipMessageHeader::m_EORCode |
Definition in CADI.Common.Network.JPIP.EORCodes.
Further information, see ISO/IEC 15444-9 sect. D.3
Definition at line 222 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readEORMessage().
ossimString ossimJpipMessageHeader::m_EORReasonMessage |
It is and reason message associated with the EORReasonCode
.
It is an optional attribute.
Definition at line 229 of file ossimJpipMessageHeader.h.
ossim_int64 ossimJpipMessageHeader::m_inClassIdentifier |
Definition at line 112 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().
bool ossimJpipMessageHeader::m_isEOR |
Indicates if this JPIP Message is an End of Response Message.
Definition at line 215 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readEORMessage().
bool ossimJpipMessageHeader::m_isLastByte |
Bin-ID = [BinIdIndicator, completeDataBin, InClassIdentifier].
Bin-ID format:
<samp> MSB LSB 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
|a|b b|c|d d d d| |a|d d d d d d d| |a|d d d d d d d| .....
</samp>
Bits 6 and 5 of the first, BinIDIndicator, byte indicate whether the Class and CSn VBASs are present in the message header. Next table defines the bit values and its meaning
Indicator | Meaning |
0 | Prohibited |
1 | No Class or CSn VBAS is present in message header |
2 | Class VBAS is present but CSn is no present in message header |
3 | Class and CSn VBAS are both present in the message header |
Bit 4, completeDataBin, of the first byte of the Bin-ID indicates whether or not this message contains the last byte in the asociated data-bin: '0' means it is not the last byte in the data-bin; '1' inidates tat it is the last byte in the data-bin.
The remaining 4 bits of the first byte and the 7 low order bits of any remaining bytes in the Bin-ID VBAS form an "in-class identifier".
Definition at line 111 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().
ossim_int64 ossimJpipMessageHeader::m_msgLength |
Identifies the total number of bytes in the body of the message.
It is a non-negative integer value, formed by concatenating the least significant 7 bits of each byte in the VBAS in big-endian order.
Definition at line 200 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readEORMessage(), and ossimJpipMessageDecoder::readMessage().
ossim_int64 ossimJpipMessageHeader::m_msgOffset |
Identifies the offset of the data in the message from the start of the data-bin.
It is a non-negative integer value, formed by concatenating the least significant 7 bits of each byte in the VBAS in big-endian order.
Definition at line 193 of file ossimJpipMessageHeader.h.
Referenced by ossimJpipMessageDecoder::readMessage().