Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CDVDMsgGeneralSynchronize Class Reference

#include <DVDMessage.h>

Inheritance diagram for CDVDMsgGeneralSynchronize:
CDVDMsg IDVDResourceCounted< CDVDMsg >

Public Member Functions

 CDVDMsgGeneralSynchronize (unsigned int timeout, unsigned int sources)
 
 ~CDVDMsgGeneralSynchronize () override
 
long Release () override
 
bool Wait (unsigned int ms, unsigned int source)
 
void Wait (std::atomic< bool > &abort, unsigned int source)
 
- Public Member Functions inherited from CDVDMsg
 CDVDMsg (Message msg)
 
 ~CDVDMsg () override=default
 
bool IsType (Message msg)
 
Message GetMessageType ()
 
long GetNrOfReferences ()
 
- Public Member Functions inherited from IDVDResourceCounted< CDVDMsg >
 IDVDResourceCounted ()
 
 IDVDResourceCounted (const IDVDResourceCounted &)=delete
 
virtual ~IDVDResourceCounted ()=default
 
IDVDResourceCountedoperator= (const IDVDResourceCounted &)=delete
 
virtual CDVDMsgAcquire ()
 

Additional Inherited Members

- Public Types inherited from CDVDMsg
enum  Message {
  NONE = 1000 , GENERAL_RESYNC , GENERAL_FLUSH , GENERAL_RESET ,
  GENERAL_PAUSE , GENERAL_STREAMCHANGE , GENERAL_SYNCHRONIZE , GENERAL_GUI_ACTION ,
  GENERAL_EOF , PLAYER_SET_AUDIOSTREAM , PLAYER_SET_VIDEOSTREAM , PLAYER_SET_SUBTITLESTREAM ,
  PLAYER_SET_SUBTITLESTREAM_VISIBLE , PLAYER_SET_STATE , PLAYER_SET_PROGRAM , PLAYER_SET_UPDATE_STREAM_DETAILS ,
  PLAYER_SEEK , PLAYER_SEEK_CHAPTER , PLAYER_SETSPEED , PLAYER_REQUEST_STATE ,
  PLAYER_OPENFILE , PLAYER_STARTED , PLAYER_AVCHANGE , PLAYER_ABORT ,
  PLAYER_REPORT_STATE , PLAYER_FRAME_ADVANCE , DEMUXER_PACKET , DEMUXER_RESET ,
  VIDEO_SET_ASPECT , VIDEO_DRAIN , SUBTITLE_CLUTCHANGE , SUBTITLE_ADDFILE
}
 
- Public Attributes inherited from IDVDResourceCounted< CDVDMsg >
std::atomic< long > m_refs
 

Constructor & Destructor Documentation

◆ CDVDMsgGeneralSynchronize()

CDVDMsgGeneralSynchronize::CDVDMsgGeneralSynchronize ( unsigned int  timeout,
unsigned int  sources 
)

CDVDMsgGeneralSynchronize — GENERAL_SYNCRONIZR

◆ ~CDVDMsgGeneralSynchronize()

CDVDMsgGeneralSynchronize::~CDVDMsgGeneralSynchronize ( )
override

Member Function Documentation

◆ Release()

long CDVDMsgGeneralSynchronize::Release ( )
overridevirtual

Reimplemented from IDVDResourceCounted< CDVDMsg >.

◆ Wait() [1/2]

void CDVDMsgGeneralSynchronize::Wait ( std::atomic< bool > &  abort,
unsigned int  source 
)

◆ Wait() [2/2]

bool CDVDMsgGeneralSynchronize::Wait ( unsigned int  ms,
unsigned int  source 
)

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