Template Function cras::msgToShapeShifter
Defined in File shape_shifter.hpp
Function Documentation
-
template<typename T, typename EnableT>
void cras::msgToShapeShifter(const T &msg, ::topic_tools::ShapeShifter &shifter) Copy the message instance into the given ShapeShifter.
Note
All old references to the shifter’s internal buffer have to be treated as invalid after calling this function.
- Template Parameters:
T – Type of the message.
- Parameters:
msg – [in] The message to copy.
shifter – [out] The ShapeShifter to copy to.