A stream with a finite number of images, which can also be accessed via an index. More...
Inherits Stream.
Properties | |
| image_count = property | |
| int: Gets the number of images contained in this stream. | |
| image_index = property | |
| int: Gets or sets the index of the current active image. | |
Properties inherited from Stream | |
| acquisition_interface = property | |
| int: Gets or sets the interface of this implementation (see cvb.AcquisitionInterface). | |
| is_running = property | |
| bool: Returns whether the acquisition is currently active. | |
| ring_buffer = property | |
| Optional[cvb.RingBuffer]: Gets the ring buffer interface object if present. | |
| statistics = property | |
| cvb.StreamStatistics: Gets statistics. | |
Properties inherited from StreamBase | |
| is_indexed = property | |
| bool: Returns whether this stream is an indexed stream. | |
Additional Inherited Members | |
Public Member Functions inherited from Stream | |
| Tuple[Optional[cvb.StreamImage], int] | get_snapshot (self) |
| Acquires a single image and returns it. | |
| Tuple[Optional[cvb.StreamImage], int] | get_timed_snapshot (self, int time_span) |
| Acquires a single image for a given time span and returns it. | |
| Tuple[Optional[Union[cvb.RingBufferImage, cvb.StreamImage]], int] | wait (self) |
| Waits forever for the next acquired image and returns it. | |
| cvb.AsyncWaitResult | wait_async (self, int time_span) |
| Waits asynchronously for the next acquired image. | |
| cvb.AsyncWaitResult | wait_async_for (self, int time_span) |
| Waits asyncronously for the given time span for the next acquired image. | |
| Tuple[Optional[Union[cvb.RingBufferImage, cvb.StreamImage]], int] | wait_for (self, int time_span) |
| Waits for the given time span for the next acquired image. | |
Public Member Functions inherited from StreamBase | |
| None | abort (self) |
| Stops the acquisition of images immediately. | |
| None | start (self) |
| Starts the acquisition. | |
| None | stop (self) |
| Stops the acquisition. | |
| bool | try_abort (self) |
| Stops the acquisition of images immediately. | |
| bool | try_stop (self) |
| Stops the acquisition. | |
A stream with a finite number of images, which can also be accessed via an index.