Function cras::hasHeader
Defined in File shape_shifter.h
Function Documentation
-
bool cras::hasHeader(const ::topic_tools::ShapeShifter &msg)
Tell whether the given message has
headerfield.Note
This function might be slow. Do not call it on receipt of every message on high-frequency topics.
- Parameters:
msg – [in] The shape shifter object.
- Returns:
Whether there is a
headerfield in the message.