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

#include <DVDMessage.h>

Inheritance diagram for CDVDMsg:
IDVDResourceCounted< CDVDMsg > CDVDMsgAudioCodecChange CDVDMsgDemuxerPacket CDVDMsgDemuxerReset CDVDMsgGeneralSynchronize CDVDMsgOpenFile CDVDMsgPlayerSeek CDVDMsgPlayerSeekChapter CDVDMsgPlayerSetAudioStream CDVDMsgPlayerSetSpeed CDVDMsgPlayerSetState CDVDMsgPlayerSetSubtitleStream CDVDMsgPlayerSetVideoStream CDVDMsgSubtitleClutChange CDVDMsgType< T > CDVDMsgVideoCodecChange COMXMsgAudioCodecChange COMXMsgVideoCodecChange

Public Types

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 Member Functions

 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 ()
 
virtual long Release ()
 

Additional Inherited Members

- Public Attributes inherited from IDVDResourceCounted< CDVDMsg >
std::atomic< long > m_refs
 

Member Enumeration Documentation

§ Message

Enumerator
NONE 
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 

Constructor & Destructor Documentation

§ CDVDMsg()

CDVDMsg::CDVDMsg ( Message  msg)
inlineexplicit

§ ~CDVDMsg()

CDVDMsg::~CDVDMsg ( )
overridedefault

Member Function Documentation

§ GetMessageType()

Message CDVDMsg::GetMessageType ( )
inline

§ GetNrOfReferences()

long CDVDMsg::GetNrOfReferences ( )
inline

§ IsType()

bool CDVDMsg::IsType ( Message  msg)
inline

checks for message type


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