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

#include <VideoPlayerTeletext.h>

Inheritance diagram for CDVDTeletextData:
CThread IDVDStreamPlayer

Public Member Functions

 CDVDTeletextData (CProcessInfo &processInfo)
 
 ~CDVDTeletextData () override
 
bool CheckStream (CDVDStreamInfo &hints)
 
bool OpenStream (CDVDStreamInfo hints) override
 
void CloseStream (bool bWaitForBuffers) override
 
void Flush ()
 
void WaitForBuffers ()
 
bool AcceptsData () const override
 
void SendMessage (std::shared_ptr< CDVDMsg > pMsg, int priority=0) override
 
void FlushMessages () override
 
bool IsInited () const override
 
bool IsStalled () const override
 
std::shared_ptr< TextCacheStruct_tGetTeletextCache ()
 
void LoadPage (int p, int sp, unsigned char *buffer)
 
- Public Member Functions inherited from CThread
 CThread (IRunnable *pRunnable, const char *ThreadName)
 
virtual ~CThread ()
 
void Create (bool bAutoDelete=false)
 
template<typename Rep , typename Period >
void Sleep (std::chrono::duration< Rep, Period > duration)
 
bool IsAutoDelete () const
 
virtual void StopThread (bool bWait=true)
 
bool IsRunning () const
 
bool IsCurrentThread () const
 
bool Join (std::chrono::milliseconds duration)
 
bool SetPriority (const ThreadPriority &priority)
 Set the threads priority. This uses the platforms native threading library to do so.
 
virtual void OnException ()
 
- Public Member Functions inherited from IDVDStreamPlayer
 IDVDStreamPlayer (CProcessInfo &processInfo)
 
virtual ~IDVDStreamPlayer ()=default
 

Protected Member Functions

void OnExit () override
 
void Process () override
 
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
 
virtual void OnStartup ()
 
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
 

Additional Inherited Members

- Public Types inherited from IDVDStreamPlayer
enum  ESyncState { SYNC_STARTING , SYNC_WAITSYNC , SYNC_INSYNC }
 
- Static Public Member Functions inherited from CThread
static const std::thread::id GetCurrentThreadId ()
 
static CThreadGetCurrentThread ()
 
- Protected Types inherited from CThread
enum  WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 }
 
- Protected Attributes inherited from CThread
std::atomic< boolm_bStop
 
- Protected Attributes inherited from IDVDStreamPlayer
CProcessInfom_processInfo
 

Constructor & Destructor Documentation

◆ CDVDTeletextData()

CDVDTeletextData::CDVDTeletextData ( CProcessInfo & processInfo)
explicit

◆ ~CDVDTeletextData()

CDVDTeletextData::~CDVDTeletextData ( )
override

Member Function Documentation

◆ AcceptsData()

bool CDVDTeletextData::AcceptsData ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ CheckStream()

bool CDVDTeletextData::CheckStream ( CDVDStreamInfo & hints)

◆ CloseStream()

void CDVDTeletextData::CloseStream ( bool bWaitForBuffers)
overridevirtual

Implements IDVDStreamPlayer.

◆ Flush()

void CDVDTeletextData::Flush ( )

◆ FlushMessages()

void CDVDTeletextData::FlushMessages ( )
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ GetTeletextCache()

std::shared_ptr< TextCacheStruct_t > CDVDTeletextData::GetTeletextCache ( )
inline

◆ IsInited()

bool CDVDTeletextData::IsInited ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ IsStalled()

bool CDVDTeletextData::IsStalled ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ LoadPage()

void CDVDTeletextData::LoadPage ( int p,
int sp,
unsigned char * buffer )

◆ OnExit()

void CDVDTeletextData::OnExit ( )
overrideprotectedvirtual

Reimplemented from CThread.

◆ OpenStream()

bool CDVDTeletextData::OpenStream ( CDVDStreamInfo hints)
overridevirtual

Implements IDVDStreamPlayer.

◆ Process()

void CDVDTeletextData::Process ( void )
overrideprotectedvirtual
Todo
implement

Reimplemented from CThread.

◆ SendMessage()

void CDVDTeletextData::SendMessage ( std::shared_ptr< CDVDMsg > pMsg,
int priority = 0 )
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ WaitForBuffers()

void CDVDTeletextData::WaitForBuffers ( )
inline

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