Template Function mrpt::serialization::mrpt_recv_from_zmq_buf

Function Documentation

template<typename ZMQ_SOCKET_TYPE, typename VECTOR_MSG_T>
bool mrpt::serialization::mrpt_recv_from_zmq_buf(ZMQ_SOCKET_TYPE zmq_socket, VECTOR_MSG_T &out_lst_msgs, mrpt::io::CMemoryStream &target_buf, bool dont_wait, size_t *rx_obj_length_in_bytes)

Users may normally call mrpt_recv_from_zmq() and mrpt_recv_from_zmq_into(). This function just stores the received data into a memory buffer without parsing it into an MRPT object.

Returns:

false on any error