Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDVDInputStreamStack Class Reference

#include <DVDInputStreamStack.h>

Inheritance diagram for CDVDInputStreamStack:
CDVDInputStream

Classes

struct  TSeg
 

Public Member Functions

 CDVDInputStreamStack (const CFileItem &fileitem)
 
 ~CDVDInputStreamStack () override
 
bool Open () override
 
void Close () override
 
int Read (uint8_t *buf, int buf_size) override
 
int64_t Seek (int64_t offset, int whence) override
 
bool IsEOF () override
 
int64_t GetLength () override
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual ~CDVDInputStream ()
 
virtual std::string & GetContent ()
 
virtual std::string GetFileName ()
 
virtual CURL GetURL ()
 
virtual ENextStream NextStream ()
 
virtual void Abort ()
 
virtual int GetBlockSize ()
 
virtual bool CanSeek ()
 
virtual bool CanPause ()
 
virtual void SetReadRate (uint32_t rate)
 Indicate expected read rate in bytes per second. This could be used to throttle caching rate. Should be seen as only a hint.
 
virtual bool GetCacheStatus (XFILE::SCacheStatus *status)
 Get the cache status.
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
virtual bool IsRealtime ()
 
void SetRealtime (bool realtime)
 
virtual IDemuxGetIDemux ()
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual ITimesGetITimes ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 

Protected Types

typedef std::shared_ptr< XFILE::CFileTFile
 
typedef std::vector< TSegTSegVec
 

Protected Attributes

TSegVec m_files
 collection of open ptr's to all files in stack
 
TFile m_file
 currently active file
 
bool m_eof
 
int64_t m_pos
 
int64_t m_length
 
- Protected Attributes inherited from CDVDInputStream
DVDStreamType m_streamType
 
BitstreamStats m_stats
 
std::string m_content
 
CFileItem m_item
 
bool m_contentLookup
 
bool m_realtime
 

Additional Inherited Members

- Public Types inherited from CDVDInputStream
enum  ENextStream { NEXTSTREAM_NONE , NEXTSTREAM_OPEN , NEXTSTREAM_RETRY }
 

Member Typedef Documentation

◆ TFile

std::shared_ptr<XFILE::CFile> CDVDInputStreamStack::TFile
protected

◆ TSegVec

std::vector<TSeg> CDVDInputStreamStack::TSegVec
protected

Constructor & Destructor Documentation

◆ CDVDInputStreamStack()

CDVDInputStreamStack::CDVDInputStreamStack ( const CFileItem & fileitem)
explicit

◆ ~CDVDInputStreamStack()

CDVDInputStreamStack::~CDVDInputStreamStack ( )
override

Member Function Documentation

◆ Close()

void CDVDInputStreamStack::Close ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ GetLength()

int64_t CDVDInputStreamStack::GetLength ( )
overridevirtual

Implements CDVDInputStream.

◆ IsEOF()

bool CDVDInputStreamStack::IsEOF ( )
overridevirtual

Implements CDVDInputStream.

◆ Open()

bool CDVDInputStreamStack::Open ( )
overridevirtual

Reimplemented from CDVDInputStream.

◆ Read()

int CDVDInputStreamStack::Read ( uint8_t * buf,
int buf_size )
overridevirtual

Implements CDVDInputStream.

◆ Seek()

int64_t CDVDInputStreamStack::Seek ( int64_t offset,
int whence )
overridevirtual

Implements CDVDInputStream.

Member Data Documentation

◆ m_eof

bool CDVDInputStreamStack::m_eof
protected

◆ m_file

TFile CDVDInputStreamStack::m_file
protected

currently active file

◆ m_files

TSegVec CDVDInputStreamStack::m_files
protected

collection of open ptr's to all files in stack

◆ m_length

int64_t CDVDInputStreamStack::m_length
protected

◆ m_pos

int64_t CDVDInputStreamStack::m_pos
protected

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