MythTV  master
Public Member Functions | List of all members
MHContext Class Referenceabstract

#include <freemheg.h>

Inheritance diagram for MHContext:
Inheritance graph
[legend]

Public Member Functions

virtual ~MHContext ()
 
virtual bool CheckCarouselObject (QString objectPath)=0
 
virtual bool GetCarouselData (QString objectPath, QByteArray &result)=0
 
virtual void SetInputRegister (int nReg)=0
 
virtual void RequireRedraw (const QRegion &region)=0
 
virtual MHDLADisplayCreateDynamicLineArt (bool isBoxed, MHRgba lineColour, MHRgba fillColour)=0
 
virtual MHTextDisplayCreateText (void)=0
 
virtual MHBitmapDisplayCreateBitmap (bool tiled)=0
 
virtual void DrawRect (int xPos, int yPos, int width, int height, MHRgba colour)=0
 
virtual void DrawVideo (const QRect &videoRect, const QRect &displayRect)=0
 
virtual void DrawBackground (const QRegion &reg)=0
 
virtual int GetChannelIndex (const QString &str)=0
 
virtual bool GetServiceInfo (int channelId, int &netId, int &origNetId, int &transportId, int &serviceId)=0
 
virtual bool TuneTo (int channel, int tuneinfo)=0
 
virtual bool CheckStop (void)=0
 
virtual bool BeginStream (const QString &str, MHStream *notify=nullptr)=0
 
virtual void EndStream ()=0
 
virtual bool BeginAudio (int tag)=0
 
virtual void StopAudio ()=0
 
virtual bool BeginVideo (int tag)=0
 
virtual void StopVideo ()=0
 
virtual long GetStreamPos ()=0
 
virtual long GetStreamMaxPos ()=0
 
virtual long SetStreamPos (long)=0
 
virtual void StreamPlay (bool play=true)=0
 
virtual const char * GetReceiverId (void)=0
 
virtual const char * GetDSMCCId (void)=0
 
virtual int GetICStatus ()=0
 

Detailed Description

Definition at line 92 of file freemheg.h.

Constructor & Destructor Documentation

◆ ~MHContext()

virtual MHContext::~MHContext ( )
inlinevirtual

Definition at line 95 of file freemheg.h.

Member Function Documentation

◆ CheckCarouselObject()

virtual bool MHContext::CheckCarouselObject ( QString  objectPath)
pure virtual

◆ GetCarouselData()

virtual bool MHContext::GetCarouselData ( QString  objectPath,
QByteArray &  result 
)
pure virtual

◆ SetInputRegister()

virtual void MHContext::SetInputRegister ( int  nReg)
pure virtual

Implemented in MHIContext.

Referenced by MHEngine::SetInputRegister().

◆ RequireRedraw()

virtual void MHContext::RequireRedraw ( const QRegion &  region)
pure virtual

Implemented in MHIContext.

Referenced by MHEngine::RunAll().

◆ CreateDynamicLineArt()

virtual MHDLADisplay* MHContext::CreateDynamicLineArt ( bool  isBoxed,
MHRgba  lineColour,
MHRgba  fillColour 
)
pure virtual

Implemented in MHIContext.

Referenced by MHDynamicLineArt::Initialise().

◆ CreateText()

virtual MHTextDisplay* MHContext::CreateText ( void  )
pure virtual

Implemented in MHIContext.

Referenced by MHText::Initialise(), and MHText::Preparation().

◆ CreateBitmap()

virtual MHBitmapDisplay* MHContext::CreateBitmap ( bool  tiled)
pure virtual

Implemented in MHIContext.

Referenced by MHBitmap::Initialise().

◆ DrawRect()

virtual void MHContext::DrawRect ( int  xPos,
int  yPos,
int  width,
int  height,
MHRgba  colour 
)
pure virtual

Implemented in MHIContext.

Referenced by MHText::Display().

◆ DrawVideo()

virtual void MHContext::DrawVideo ( const QRect &  videoRect,
const QRect &  displayRect 
)
pure virtual

Implemented in MHIContext.

Referenced by MHVideo::Display().

◆ DrawBackground()

virtual void MHContext::DrawBackground ( const QRegion &  reg)
pure virtual

Implemented in MHIContext.

Referenced by MHEngine::DrawRegion().

◆ GetChannelIndex()

virtual int MHContext::GetChannelIndex ( const QString &  str)
pure virtual

Implemented in MHIContext.

Referenced by MHResidentProgram::CallProgram().

◆ GetServiceInfo()

virtual bool MHContext::GetServiceInfo ( int  channelId,
int &  netId,
int &  origNetId,
int &  transportId,
int &  serviceId 
)
pure virtual

Implemented in MHIContext.

Referenced by MHResidentProgram::CallProgram().

◆ TuneTo()

virtual bool MHContext::TuneTo ( int  channel,
int  tuneinfo 
)
pure virtual

Implemented in MHIContext.

Referenced by MHResidentProgram::CallProgram().

◆ CheckStop()

virtual bool MHContext::CheckStop ( void  )
pure virtual

Implemented in MHIContext.

Referenced by MHEngine::RunAll().

◆ BeginStream()

virtual bool MHContext::BeginStream ( const QString &  str,
MHStream notify = nullptr 
)
pure virtual

Implemented in MHIContext.

Referenced by MHStream::BeginPlaying().

◆ EndStream()

virtual void MHContext::EndStream ( )
pure virtual

Implemented in MHIContext.

Referenced by MHStream::StopPlaying().

◆ BeginAudio()

virtual bool MHContext::BeginAudio ( int  tag)
pure virtual

Implemented in MHIContext.

Referenced by MHAudio::Activation(), and MHAudio::BeginPlaying().

◆ StopAudio()

virtual void MHContext::StopAudio ( )
pure virtual

Implemented in MHIContext.

Referenced by MHAudio::Deactivation(), and MHAudio::StopPlaying().

◆ BeginVideo()

virtual bool MHContext::BeginVideo ( int  tag)
pure virtual

Implemented in MHIContext.

Referenced by MHVideo::Activation(), and MHVideo::BeginPlaying().

◆ StopVideo()

virtual void MHContext::StopVideo ( )
pure virtual

Implemented in MHIContext.

Referenced by MHVideo::Deactivation(), and MHVideo::StopPlaying().

◆ GetStreamPos()

virtual long MHContext::GetStreamPos ( )
pure virtual

Implemented in MHIContext.

Referenced by MHStream::GetCounterPosition().

◆ GetStreamMaxPos()

virtual long MHContext::GetStreamMaxPos ( )
pure virtual

Implemented in MHIContext.

Referenced by MHStream::GetCounterMaxPosition().

◆ SetStreamPos()

virtual long MHContext::SetStreamPos ( long  )
pure virtual

Implemented in MHIContext.

Referenced by MHStream::SetCounterPosition().

◆ StreamPlay()

virtual void MHContext::StreamPlay ( bool  play = true)
pure virtual

Implemented in MHIContext.

Referenced by MHStream::SetSpeed().

◆ GetReceiverId()

virtual const char* MHContext::GetReceiverId ( void  )
pure virtual

◆ GetDSMCCId()

virtual const char* MHContext::GetDSMCCId ( void  )
pure virtual

◆ GetICStatus()

virtual int MHContext::GetICStatus ( )
pure virtual

Implemented in MHIContext.

Referenced by MHResidentProgram::CallProgram().


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