Imaging Control 4 C++ Library 1.0.0
|
Abstract base class for QueueSink notifications. More...
Public Member Functions | |
virtual bool | sinkConnected (QueueSink &sink, const ImageType &imageType, size_t min_buffers_required) |
Called when the data stream to the sink is created. | |
virtual void | sinkDisconnected (QueueSink &sink) |
Called when the data stream to the sink is stopped. | |
virtual void | framesQueued (QueueSink &sink)=0 |
Called when new images were added to the sink's queue of filled buffers. | |
Abstract base class for QueueSink notifications.
|
pure virtual |
Called when new images were added to the sink's queue of filled buffers.
This callback usually calls QueueSink::popOutputBuffer() to access the filled image buffers.
[in] | sink | The sink object |
|
inlinevirtual |
Called when the data stream to the sink is created.
[in] | sink | The sink object |
[in] | imageType | The negotiated image type that the sink will receive |
[in] | min_buffers_required | The minimum number of buffers required by the device to start a stream |
true
, if the data stream should be created. If false
is returned the call to Grabber::streamSetup() will fail.
|
inlinevirtual |
Called when the data stream to the sink is stopped.
[in] | sink | The sink object |