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). | |
Ring buffer operations on a device.
| 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.
num_buffers : int New number of buffers in the ring buffer.
mode : int Defines how to handle device images (see. cvb.DeviceUpdateMode).