Loading...
Searching...
No Matches
cv::v4d::Sink Class Reference
#include <opencv2/v4d/sink.hpp>
Public Member Functions | |
Sink () | |
Sink (std::function< bool(const uint64_t &, const cv::UMat &)> consumer) | |
virtual | ~Sink () |
bool | isOpen () |
bool | isReady () |
bool | isThreadSafe () |
void | operator() (const uint64_t &seq, const cv::UMat &frame) |
void | setThreadSafe (bool ts) |
Detailed Description
Constructor & Destructor Documentation
◆ Sink() [1/2]
◆ Sink() [2/2]
cv::v4d::Sink::Sink | ( | ) |
Constucts a null Sink that is never open or ready
◆ ~Sink()
|
virtual |
Default destructor
Member Function Documentation
◆ isOpen()
bool cv::v4d::Sink::isOpen | ( | ) |
Determines if the sink is open.
- Returns
- true if the sink is open.
◆ isReady()
bool cv::v4d::Sink::isReady | ( | ) |
Signals if the sink is ready to consume data.
- Returns
- true if the sink is ready.
◆ isThreadSafe()
bool cv::v4d::Sink::isThreadSafe | ( | ) |
◆ operator()()
The sink operator. It accepts a UMat frame to pass to the consumer
- Parameters
-
frame The frame to pass to the consumer. (e.g. VideoWriter)
◆ setThreadSafe()
void cv::v4d::Sink::setThreadSafe | ( | bool | ts | ) |
The documentation for this class was generated from the following file:
- opencv2/v4d/sink.hpp