Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CDVDRadioRDSData Class Reference

#include <VideoPlayerRadioRDS.h>

Inheritance diagram for CDVDRadioRDSData:
CThread IDVDStreamPlayer

Public Member Functions

 CDVDRadioRDSData (CProcessInfo &processInfo)
 CDVDRadioRDSData ---------------------------------------------------------— More...
 
 ~CDVDRadioRDSData () 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::string GetRadioText (unsigned int line)
 
- 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)
 
int GetPriority (void)
 
bool SetPriority (const int iPriority)
 
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 int GetMinPriority (void)
 
static int GetMaxPriority (void)
 
static int GetNormalPriority (void)
 
static std::uintptr_t GetCurrentThreadNativeHandle ()
 
static uint64_t GetCurrentThreadNativeId ()
 
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

◆ CDVDRadioRDSData()

CDVDRadioRDSData::CDVDRadioRDSData ( CProcessInfo processInfo)
explicit

CDVDRadioRDSData ---------------------------------------------------------—

◆ ~CDVDRadioRDSData()

CDVDRadioRDSData::~CDVDRadioRDSData ( )
override

Member Function Documentation

◆ AcceptsData()

bool CDVDRadioRDSData::AcceptsData ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ CheckStream()

bool CDVDRadioRDSData::CheckStream ( CDVDStreamInfo hints)

◆ CloseStream()

void CDVDRadioRDSData::CloseStream ( bool  bWaitForBuffers)
overridevirtual

Implements IDVDStreamPlayer.

◆ Flush()

void CDVDRadioRDSData::Flush ( )

◆ FlushMessages()

void CDVDRadioRDSData::FlushMessages ( )
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ GetRadioText()

std::string CDVDRadioRDSData::GetRadioText ( unsigned int  line)

◆ IsInited()

bool CDVDRadioRDSData::IsInited ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ IsStalled()

bool CDVDRadioRDSData::IsStalled ( ) const
inlineoverridevirtual

Implements IDVDStreamPlayer.

◆ OnExit()

void CDVDRadioRDSData::OnExit ( )
overrideprotectedvirtual

Reimplemented from CThread.

◆ OpenStream()

bool CDVDRadioRDSData::OpenStream ( CDVDStreamInfo  hints)
overridevirtual

Implements IDVDStreamPlayer.

◆ Process()

void CDVDRadioRDSData::Process ( void  )
overrideprotectedvirtual

Reimplemented from CThread.

◆ SendMessage()

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

Implements IDVDStreamPlayer.

◆ WaitForBuffers()

void CDVDRadioRDSData::WaitForBuffers ( )
inline

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