CVBpy 15.0
RingBuffer Class Reference

Ring buffer operations on a device. More...

Inherits object.

Public Member Functions

None change_count (self, int num_buffers, int mode)
 Changes the number of buffers in this ring buffer. More...
 

Properties

 count = property
 int: Number of buffers in the ring buffer.
 
 lock_mode = property
 int: Gets or sets the current lock mode (see cvb.RingBufferLockMode).
 

Detailed Description

Ring buffer operations on a device.

Member Function Documentation

◆ change_count()

None change_count (   self,
int  num_buffers,
int  mode 
)

Changes the number of buffers in this ring buffer.

If you are unsure about the mode, simply use cvb.DeviceUpdateMode.UpdateDeviceImage.

Parameters

num_buffers : int New number of buffers in the ring buffer.

mode : int Defines how to handle device images (see. cvb.DeviceUpdateMode).