MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / hasNextSubmessage

Method hasNextSubmessage

dds/DCPS/RTPS/MessageParser.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57bool MessageParser::hasNextSubmessage() const
58{
59 if(sub_.submessageLength == 0) {
60 if(sub_.submessageId != PAD && sub_.submessageId != INFO_TS) {
61 return false;
62 }
63 return ser_.length();
64 }
65 return smContentStart_ > sub_.submessageLength;
66}
67
68bool MessageParser::skipToNextSubmessage()
69{

Callers 4

findLastSubmessageFunction · 0.80
decode_rtps_messageMethod · 0.80
encode_submessagesMethod · 0.80
handle_inputMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected