MRPT  1.9.9
zmq_serialization.h File Reference
#include <mrpt/serialization/CSerializable.h>
#include <mrpt/io/CMemoryStream.h>
#include <cmath>
Include dependency graph for zmq_serialization.h:

Go to the source code of this file.


 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


template<typename ZMQ_SOCKET_TYPE >
void mrpt::serialization::mrpt_send_to_zmq (ZMQ_SOCKET_TYPE zmq_socket, const mrpt::serialization::CSerializable &obj, const size_t max_packet_len=0)
 Send an MRPT object to a ZMQ socket. More...
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(). More...
template<typename VECTOR_MSG_T >
void mrpt::serialization::internal::free_zmq_msg_lst (VECTOR_MSG_T &lst_msgs)
template<typename ZMQ_SOCKET_TYPE >
mrpt::serialization::CSerializable::Ptr mrpt::serialization::mrpt_recv_from_zmq (ZMQ_SOCKET_TYPE zmq_socket, bool dont_wait=false, size_t *rx_obj_length_in_bytes=nullptr)
 Receives an MRPT object from a ZMQ socket, determining the type of the object on-the-fly. More...
template<typename ZMQ_SOCKET_TYPE >
bool mrpt::serialization::mrpt_recv_from_zmq_into (ZMQ_SOCKET_TYPE zmq_socket, mrpt::serialization::CSerializable &target_object, bool dont_wait=false, size_t *rx_obj_length_in_bytes=nullptr)
 Like mrpt_recv_from_zmq() but without dynamically allocating the received object, more efficient to use if the type of the received object is known in advance. More...

Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020