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

#include <DVDMessageQueue.h>

Public Member Functions

 CDVDMessageQueue (const std::string &owner)
 
virtual ~CDVDMessageQueue ()
 
void Init ()
 
void Flush (CDVDMsg::Message message=CDVDMsg::DEMUXER_PACKET)
 
void Abort ()
 
void End ()
 
MsgQueueReturnCode Put (const std::shared_ptr< CDVDMsg > &pMsg, int priority=0)
 
MsgQueueReturnCode PutBack (const std::shared_ptr< CDVDMsg > &pMsg, int priority=0)
 
MsgQueueReturnCode Get (std::shared_ptr< CDVDMsg > &pMsg, std::chrono::milliseconds timeout, int &priority)
 
MsgQueueReturnCode Get (std::shared_ptr< CDVDMsg > &pMsg, std::chrono::milliseconds timeout)
 
int GetDataSize () const
 
double GetTimeSize () const
 
unsigned GetPacketCount (CDVDMsg::Message type)
 
bool ReceivedAbortRequest ()
 
void WaitUntilEmpty ()
 
bool IsFull () const
 
int GetLevel () const
 
void SetMaxDataSize (int iMaxDataSize)
 
void SetMaxTimeSize (double sec)
 
int GetMaxDataSize () const
 
double GetMaxTimeSize () const
 
bool IsInited () const
 
bool IsDataBased () const
 

Constructor & Destructor Documentation

◆ CDVDMessageQueue()

CDVDMessageQueue::CDVDMessageQueue ( const std::string & owner)
explicit

◆ ~CDVDMessageQueue()

CDVDMessageQueue::~CDVDMessageQueue ( )
virtual

Member Function Documentation

◆ Abort()

void CDVDMessageQueue::Abort ( )

◆ End()

void CDVDMessageQueue::End ( )

◆ Flush()

void CDVDMessageQueue::Flush ( CDVDMsg::Message message = CDVDMsg::DEMUXER_PACKET)

◆ Get() [1/2]

MsgQueueReturnCode CDVDMessageQueue::Get ( std::shared_ptr< CDVDMsg > & pMsg,
std::chrono::milliseconds timeout )
inline

◆ Get() [2/2]

MsgQueueReturnCode CDVDMessageQueue::Get ( std::shared_ptr< CDVDMsg > & pMsg,
std::chrono::milliseconds timeout,
int & priority )

msg, message type from DVDMessage.h timeout, timeout in msec priority, minimum priority to get, outputs returned packets priority

◆ GetDataSize()

int CDVDMessageQueue::GetDataSize ( ) const
inline

◆ GetLevel()

int CDVDMessageQueue::GetLevel ( ) const

◆ GetMaxDataSize()

int CDVDMessageQueue::GetMaxDataSize ( ) const
inline

◆ GetMaxTimeSize()

double CDVDMessageQueue::GetMaxTimeSize ( ) const
inline

◆ GetPacketCount()

unsigned CDVDMessageQueue::GetPacketCount ( CDVDMsg::Message type)

◆ GetTimeSize()

double CDVDMessageQueue::GetTimeSize ( ) const

◆ Init()

void CDVDMessageQueue::Init ( )

◆ IsDataBased()

bool CDVDMessageQueue::IsDataBased ( ) const

◆ IsFull()

bool CDVDMessageQueue::IsFull ( ) const
inline

◆ IsInited()

bool CDVDMessageQueue::IsInited ( ) const
inline

◆ Put()

MsgQueueReturnCode CDVDMessageQueue::Put ( const std::shared_ptr< CDVDMsg > & pMsg,
int priority = 0 )

◆ PutBack()

MsgQueueReturnCode CDVDMessageQueue::PutBack ( const std::shared_ptr< CDVDMsg > & pMsg,
int priority = 0 )

◆ ReceivedAbortRequest()

bool CDVDMessageQueue::ReceivedAbortRequest ( )
inline

◆ SetMaxDataSize()

void CDVDMessageQueue::SetMaxDataSize ( int iMaxDataSize)
inline

◆ SetMaxTimeSize()

void CDVDMessageQueue::SetMaxTimeSize ( double sec)
inline

◆ WaitUntilEmpty()

void CDVDMessageQueue::WaitUntilEmpty ( )

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