OpenCV 4.11.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::IStreamReader Class Referenceabstract

Read data stream interface. More...

#include <opencv2/videoio.hpp>

Collaboration diagram for cv::IStreamReader:

Public Member Functions

virtual ~IStreamReader ()
 
virtual long long read (char *buffer, long long size)=0
 Read bytes from stream.
 
virtual long long seek (long long offset, int origin)=0
 Sets the stream position.
 

Detailed Description

Read data stream interface.

Constructor & Destructor Documentation

◆ ~IStreamReader()

virtual cv::IStreamReader::~IStreamReader ( )
virtual

Member Function Documentation

◆ read()

virtual long long cv::IStreamReader::read ( char * buffer,
long long size )
pure virtual

Read bytes from stream.

Implemented in cv::PluginStreamReader.

◆ seek()

virtual long long cv::IStreamReader::seek ( long long offset,
int origin )
pure virtual

Sets the stream position.

Parameters
offsetSeek offset
originSEEK_SET / SEEK_END / SEEK_CUR
See also
fseek

Implemented in cv::PluginStreamReader.


The documentation for this class was generated from the following file: