Public Member Functions | Properties | List of all members
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. More...
 
 lock_mode = property
 int: Gets or sets the current lock mode (see cvb.RingBufferLockMode). More...
 

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).

Property Documentation

◆ count

count = property
static

int: Number of buffers in the ring buffer.

◆ lock_mode

lock_mode = property
static

int: Gets or sets the current lock mode (see cvb.RingBufferLockMode).