3#include "../../global.hpp"
5#include "../ring_buffer_image.hpp"
6#include "../ring_buffer.hpp"
23 CExports::cvbbool_t isLocked =
false;
24 CExports::RBIsLocked(
ParentDevice()->
Handle(),
static_cast<CExports::cvbval_t
>(bufferIndex_), isLocked);
26 CExports::RBUnlock(
ParentDevice()->
Handle(),
static_cast<CExports::cvbval_t
>(bufferIndex_));
37 return parent_->Parent();
44 CExports::cvbbool_t isLocked =
false;
45 CExports::RBIsLocked(
ParentDevice()->
Handle(),
static_cast<CExports::cvbval_t
>(bufferIndex_), isLocked);
47 CExports::RBUnlock(
ParentDevice()->
Handle(),
static_cast<CExports::cvbval_t
>(bufferIndex_));
DevicePtr ParentDevice() const noexcept
Gets the parent device for this image.
Definition detail_ring_buffer_image.hpp:35
void Unlock()
Unlocks the ring buffer.
Definition detail_ring_buffer_image.hpp:40
virtual ~RingBufferImage()
Destructor of ring buffer unlocks the buffer if it is locked.
Definition detail_ring_buffer_image.hpp:16
void * Handle() const noexcept
Classic API image handle.
Definition decl_image.hpp:237
Namespace for driver or device related operations.
Definition decl_composite.hpp:28
@ On
Definition driver.hpp:416
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
std::shared_ptr< Device > DevicePtr
Convenience shared pointer for Device.
Definition global.hpp:98