#include <camera_buffer_pool.h>
|
void | push (sensor_msgs::Image *p_img) |
|
|
static void | reclaim (const WPtr &self, sensor_msgs::Image *p_img) |
|
Definition at line 67 of file camera_buffer_pool.h.
◆ Ptr
◆ WPtr
◆ CameraBufferPool()
camera_aravis::CameraBufferPool::CameraBufferPool |
( |
ArvStream * |
stream, |
|
|
size_t |
payload_size_bytes, |
|
|
size_t |
n_preallocated_buffers = 2 |
|
) |
| |
◆ ~CameraBufferPool()
camera_aravis::CameraBufferPool::~CameraBufferPool |
( |
| ) |
|
|
virtual |
◆ allocateBuffers()
void camera_aravis::CameraBufferPool::allocateBuffers |
( |
size_t |
n = 1 | ) |
|
◆ getAllocatedSize()
size_t camera_aravis::CameraBufferPool::getAllocatedSize |
( |
| ) |
const |
|
inline |
◆ getPayloadSize()
size_t camera_aravis::CameraBufferPool::getPayloadSize |
( |
| ) |
const |
|
inline |
◆ getRecyclableImg()
sensor_msgs::ImagePtr camera_aravis::CameraBufferPool::getRecyclableImg |
( |
| ) |
|
◆ getUsedSize()
size_t camera_aravis::CameraBufferPool::getUsedSize |
( |
| ) |
const |
|
inline |
◆ operator[]()
sensor_msgs::ImagePtr camera_aravis::CameraBufferPool::operator[] |
( |
ArvBuffer * |
buffer | ) |
|
◆ push()
void camera_aravis::CameraBufferPool::push |
( |
sensor_msgs::Image * |
p_img | ) |
|
|
protected |
◆ reclaim()
void camera_aravis::CameraBufferPool::reclaim |
( |
const WPtr & |
self, |
|
|
sensor_msgs::Image * |
p_img |
|
) |
| |
|
staticprotected |
◆ available_img_buffers_
std::map<const uint8_t*, sensor_msgs::ImagePtr> camera_aravis::CameraBufferPool::available_img_buffers_ |
|
protected |
◆ dangling_imgs_
std::stack<sensor_msgs::ImagePtr> camera_aravis::CameraBufferPool::dangling_imgs_ |
|
protected |
◆ mutex_
std::mutex camera_aravis::CameraBufferPool::mutex_ |
|
mutableprotected |
◆ n_buffers_
size_t camera_aravis::CameraBufferPool::n_buffers_ = 0 |
|
protected |
◆ payload_size_bytes_
size_t camera_aravis::CameraBufferPool::payload_size_bytes_ = 0 |
|
protected |
◆ self_
Ptr camera_aravis::CameraBufferPool::self_ |
|
protected |
◆ stream_
ArvStream* camera_aravis::CameraBufferPool::stream_ = NULL |
|
protected |
◆ used_buffers_
std::map<sensor_msgs::Image*, ArvBuffer*> camera_aravis::CameraBufferPool::used_buffers_ |
|
protected |
The documentation for this class was generated from the following files: