Use this message type to allocate messages' buffers (vectors) from a shared pool of memory. That should result in lower cost of frequent allocations. However, the effect should always be checked in practice - in many applications, the pool-allocated messages can actually degrade performance. More...
#include <boost/pool/pool_alloc.hpp>
#include <sensor_msgs/BatteryState.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/ChannelFloat32.h>
#include <sensor_msgs/CompressedImage.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/JointState.h>
#include <sensor_msgs/Joy.h>
#include <sensor_msgs/JoyFeedback.h>
#include <sensor_msgs/JoyFeedbackArray.h>
#include <sensor_msgs/LaserEcho.h>
#include <sensor_msgs/LaserScan.h>
#include <sensor_msgs/MultiDOFJointState.h>
#include <sensor_msgs/MultiEchoLaserScan.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/PointCloud2.h>
#include <ros/message_forward.h>
Go to the source code of this file.
Namespaces | |
sensor_msgs | |
Use this message type to allocate messages' buffers (vectors) from a shared pool of memory. That should result in lower cost of frequent allocations. However, the effect should always be checked in practice - in many applications, the pool-allocated messages can actually degrade performance.
Definition in file pool_allocated_sensor_msgs.h.