xbmc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CInputStreamPVRBase Class Referenceabstract
Inheritance diagram for CInputStreamPVRBase:
Inheritance graph
[legend]
Collaboration diagram for CInputStreamPVRBase:
Collaboration graph
[legend]

Public Member Functions

 CInputStreamPVRBase (IVideoPlayer *pPlayer, const CFileItem &fileitem)
 
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
 
int GetBlockSize () override
 
ENextStream NextStream () override
 
bool IsRealtime () override
 
CDVDInputStream::ITimesGetITimes () override
 
bool GetTimes (Times &times) override
 
bool CanSeek () override
 
bool CanPause () override
 
void Pause (bool bPaused)
 
CDVDInputStream::IDemuxGetIDemux () override
 
bool OpenDemux () override
 
DemuxPacketReadDemux () override
 
CDemuxStreamGetStream (int iStreamId) const override
 
std::vector< CDemuxStream * > GetStreams () const override
 
int GetNrOfStreams () const override
 
void SetSpeed (int iSpeed) override
 
void FillBuffer (bool mode) override
 
bool SeekTime (double time, bool backward=false, double *startpts=NULL) override
 
void AbortDemux () override
 
void FlushDemux () override
 
- Public Member Functions inherited from CDVDInputStream
 CDVDInputStream (DVDStreamType m_streamType, const CFileItem &fileitem)
 
virtual std::string & GetContent ()
 
virtual std::string GetFileName ()
 
virtual CURL GetURL ()
 
virtual void Abort ()
 
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. More...
 
bool IsStreamType (DVDStreamType type) const
 
virtual BitstreamStats GetBitstreamStats () const
 
bool ContentLookup ()
 
void SetRealtime (bool realtime)
 
virtual IPosTimeGetIPosTime ()
 
virtual IDisplayTimeGetIDisplayTime ()
 
virtual IChapterGetIChapter ()
 
const CVariantGetProperty (const std::string &key)
 
- Public Member Functions inherited from CDVDInputStream::IDemux
virtual void EnableStream (int iStreamId, bool enable)
 
virtual bool OpenStream (int iStreamId)
 
virtual void SetVideoResolution (unsigned int width, unsigned int height, unsigned int maxWidth, unsigned int maxHeight)
 

Protected Member Functions

void UpdateStreamMap ()
 
std::shared_ptr< CDemuxStreamGetStreamInternal (int iStreamId)
 
virtual bool OpenPVRStream ()=0
 
virtual void ClosePVRStream ()=0
 
virtual int ReadPVRStream (uint8_t *buf, int buf_size)=0
 
virtual int64_t SeekPVRStream (int64_t offset, int whence)=0
 
virtual int64_t GetPVRStreamLength ()=0
 
virtual ENextStream NextPVRStream ()=0
 
virtual bool CanPausePVRStream ()=0
 
virtual bool CanSeekPVRStream ()=0
 

Protected Attributes

bool m_eof
 
std::shared_ptr< PVR_STREAM_PROPERTIESm_StreamProps
 
std::map< int, std::shared_ptr< CDemuxStream > > m_streamMap
 
std::shared_ptr< PVR::CPVRClientm_client
 
- 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 Function Documentation

◆ CanPause()

bool CInputStreamPVRBase::CanPause ( )
overridevirtual
Todo:
drop this

Reimplemented from CDVDInputStream.


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