Go to the documentation of this file.
36 #ifndef RC_GENICAM_CAMERA_IMAGELIST
37 #define RC_GENICAM_CAMERA_IMAGELIST
40 #include <sensor_msgs/Image.h>
74 sensor_msgs::ImagePtr
add(
const sensor_msgs::ImagePtr& image);
99 std::vector<sensor_msgs::ImagePtr>
list_;
int removeOld(const ros::Time ×tamp)
Remove all images that have a timestamp that is older or equal than the given timestamp.
sensor_msgs::ImagePtr find(const ros::Time ×tamp) const
Returns the oldest image that has a timestamp within the tolerance of the given timestamp.
sensor_msgs::ImagePtr add(const sensor_msgs::ImagePtr &image)
Adds the given image to the internal list.
std::vector< sensor_msgs::ImagePtr > list_
ImageList()
Create an image list.
void setSize(size_t maxsize)
Set maximum size of the list.
void setTolerance(uint64_t tolerance)
Set tolerance for finding corresponding timestamps.
rc_genicam_camera
Author(s): Heiko Hirschmueller
autogenerated on Wed Mar 2 2022 00:49:18