36 #ifndef RC_GENICAM_API_IMAGELIST 37 #define RC_GENICAM_API_IMAGELIST 73 void add(
const std::shared_ptr<const Image> &image);
84 void add(
const Buffer *buffer, uint32_t part);
111 std::shared_ptr<const Image>
find(uint64_t timestamp)
const;
124 std::shared_ptr<const Image>
find(uint64_t timestamp,
125 uint64_t tolerance)
const;
130 std::vector<std::shared_ptr<const Image> >
list;
std::shared_ptr< const Image > find(uint64_t timestamp) const
Returns the image that has the given timestamp.
An object of this class manages a limited number of images.
void removeOld(uint64_t timestamp)
Removes all images that have a timestamp that is older or equal than the given timestamp.
The buffer class encapsulates a Genicam buffer that is provided by a stream.
void add(const std::shared_ptr< const Image > &image)
Adds the given image to the internal list.
uint64_t getOldestTime() const
Get oldest timestamp of the list.
std::vector< std::shared_ptr< const Image > > list
ImageList(size_t maxsize=25)
Create an image list.