MythTV  master
Public Member Functions | Protected Types | Protected Attributes | List of all members
MHStream Class Reference

#include <Stream.h>

Inheritance diagram for MHStream:
Inheritance graph
[legend]
Collaboration diagram for MHStream:
Collaboration graph
[legend]

Public Member Functions

 MHStream ()=default
 
const char * ClassName () override
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
void PrintMe (FILE *fd, int nTabs) const override
 
void Preparation (MHEngine *engine) override
 
void Activation (MHEngine *engine) override
 
void Deactivation (MHEngine *engine) override
 
void Destruction (MHEngine *engine) override
 
void ContentPreparation (MHEngine *engine) override
 
MHRootFindByObjectNo (int n) override
 
void BeginPlaying (MHEngine *engine) override
 
void StopPlaying (MHEngine *engine) override
 
void GetCounterPosition (MHRoot *, MHEngine *) override
 
void GetCounterMaxPosition (MHRoot *, MHEngine *) override
 
void SetCounterPosition (int, MHEngine *) override
 
void SetSpeed (int, MHEngine *engine) override
 
- Public Member Functions inherited from MHPresentable
 MHPresentable ()=default
 
 MHPresentable (const MHPresentable &ref)
 
void Run (MHEngine *engine) override
 
void Stop (MHEngine *engine) override
 
- Public Member Functions inherited from MHIngredient
 MHIngredient ()=default
 
 MHIngredient (const MHIngredient &ref)
 
virtual ~MHIngredient ()=default
 
virtual bool InitiallyActive ()
 
virtual bool InitiallyAvailable ()
 
bool IsShared () override
 
void SetData (const MHOctetString &included, MHEngine *engine) override
 
void SetData (const MHContentRef &referenced, bool fSizeGiven, int size, bool fCCGiven, int cc, MHEngine *engine) override
 
void Preload (MHEngine *engine) override
 
void Unload (MHEngine *engine) override
 
virtual void ContentArrived (const unsigned char *, int, MHEngine *)
 
- Public Member Functions inherited from MHRoot
 MHRoot ()
 
 MHRoot (const MHRoot &)
 
virtual ~MHRoot ()
 
virtual bool GetAvailabilityStatus ()
 
virtual bool GetRunningStatus ()
 
virtual void SetTimer (int, bool, int, MHEngine *)
 
virtual void MakeClone (MHRoot *, MHRoot *, MHEngine *)
 
virtual void SetInputRegister (int, MHEngine *)
 
virtual MHIngredientClone (MHEngine *)
 
virtual void TestVariable (int, const MHUnion &, MHEngine *)
 
virtual void GetVariableValue (MHUnion &, MHEngine *)
 
virtual void SetVariableValue (const MHUnion &)
 
virtual void GetTextData (MHRoot *, MHEngine *)
 
virtual void SetBackgroundColour (const MHColour &, MHEngine *)
 
virtual void SetTextColour (const MHColour &, MHEngine *)
 
virtual void SetFontAttributes (const MHOctetString &, MHEngine *)
 
virtual void Activate (bool, MHEngine *)
 
virtual void CallProgram (bool, const MHObjectRef &, const MHSequence< MHParameter * > &, MHEngine *)
 
virtual void CallActionSlot (int, MHEngine *)
 
virtual void Move (int, MHEngine *)
 
virtual void MoveTo (int, MHEngine *)
 
virtual void GetTokenPosition (MHRoot *, MHEngine *)
 
virtual void AddItem (int, MHRoot *, MHEngine *)
 
virtual void DelItem (MHRoot *, MHEngine *)
 
virtual void GetCellItem (int, const MHObjectRef &, MHEngine *)
 
virtual void GetListItem (int, const MHObjectRef &, MHEngine *)
 
virtual void GetItemStatus (int, const MHObjectRef &, MHEngine *)
 
virtual void SelectItem (int, MHEngine *)
 
virtual void DeselectItem (int, MHEngine *)
 
virtual void ToggleItem (int, MHEngine *)
 
virtual void ScrollItems (int, MHEngine *)
 
virtual void SetFirstItem (int, MHEngine *)
 
virtual void GetFirstItem (MHRoot *, MHEngine *)
 
virtual void GetListSize (MHRoot *, MHEngine *)
 
virtual void SetPosition (int, int, MHEngine *)
 
virtual void GetPosition (MHRoot *, MHRoot *)
 
virtual void SetBoxSize (int, int, MHEngine *)
 
virtual void GetBoxSize (MHRoot *, MHRoot *)
 
virtual void SetPaletteRef (const MHObjectRef, MHEngine *)
 
virtual void BringToFront (MHEngine *)
 
virtual void SendToBack (MHEngine *)
 
virtual void PutBefore (const MHRoot *, MHEngine *)
 
virtual void PutBehind (const MHRoot *, MHEngine *)
 
virtual void ResetPosition ()
 
virtual void SetFillColour (const MHColour &, MHEngine *)
 
virtual void SetLineColour (const MHColour &, MHEngine *)
 
virtual void SetLineWidth (int, MHEngine *)
 
virtual void SetLineStyle (int, MHEngine *)
 
virtual void SetTransparency (int, MHEngine *)
 
virtual void ScaleBitmap (int, int, MHEngine *)
 
virtual void SetBitmapDecodeOffset (int, int, MHEngine *)
 
virtual void GetBitmapDecodeOffset (MHRoot *, MHRoot *)
 
virtual void Clear ()
 
virtual void GetLineWidth (MHRoot *)
 
virtual void GetLineStyle (MHRoot *)
 
virtual void GetLineColour (MHRoot *)
 
virtual void GetFillColour (MHRoot *)
 
virtual void DrawArcSector (bool, int, int, int, int, int, int, MHEngine *)
 
virtual void DrawLine (int, int, int, int, MHEngine *)
 
virtual void DrawOval (int, int, int, int, MHEngine *)
 
virtual void DrawRectangle (int, int, int, int, MHEngine *)
 
virtual void DrawPoly (bool, int, const int *, const int *, MHEngine *)
 
virtual void ScaleVideo (int, int, MHEngine *)
 
virtual void SetVideoDecodeOffset (int, int, MHEngine *)
 
virtual void GetVideoDecodeOffset (MHRoot *, MHRoot *, MHEngine *)
 
virtual void SetInteractionStatus (bool, MHEngine *)
 
virtual bool GetInteractionStatus (void)
 
virtual void SetHighlightStatus (bool, MHEngine *)
 
virtual bool GetHighlightStatus (void)
 
virtual void Step (int, MHEngine *)
 
virtual void SetSliderValue (int, MHEngine *)
 
virtual int GetSliderValue (void)
 
virtual void SetPortion (int, MHEngine *)
 
virtual int GetPortion (void)
 
virtual void SetSliderParameters (int, int, int, MHEngine *)
 

Protected Types

enum  Storage { ST_Mem = 1, ST_Stream = 2 }
 
- Protected Types inherited from MHIngredient
enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }
 

Protected Attributes

MHOwnPtrSequence< MHPresentablem_Multiplex
 
enum MHStream::Storage ST_Stream
 
int m_nLooping {0}
 
- Protected Attributes inherited from MHIngredient
bool m_fInitiallyActive {true}
 
int m_nContentHook {0}
 
bool m_fShared {false}
 
enum MHIngredient:: { ... }  IN_NoContent
 
MHOctetString m_OrigIncludedContent
 
MHContentRef m_OrigContentRef
 
int m_nOrigContentSize {0}
 
int m_nOrigCCPrio {127}
 
MHOctetString m_IncludedContent
 
MHContentRef m_ContentRef
 
int m_nContentSize {0}
 
int m_nCCPrio {0}
 
- Protected Attributes inherited from MHRoot
bool m_fAvailable {false}
 
bool m_fRunning {false}
 

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Detailed Description

Definition at line 32 of file Stream.h.

Member Enumeration Documentation

◆ Storage

enum MHStream::Storage
protected
Enumerator
ST_Mem 
ST_Stream 

Definition at line 60 of file Stream.h.

Constructor & Destructor Documentation

◆ MHStream()

MHStream::MHStream ( )
default

Member Function Documentation

◆ ClassName()

const char* MHStream::ClassName ( )
inlineoverridevirtual

Implements MHRoot.

Definition at line 36 of file Stream.h.

◆ Initialise()

void MHStream::Initialise ( MHParseNode p,
MHEngine engine 
)
overridevirtual

Reimplemented from MHIngredient.

Definition at line 33 of file Stream.cpp.

◆ PrintMe()

void MHStream::PrintMe ( FILE *  fd,
int  nTabs 
) const
overridevirtual

Reimplemented from MHIngredient.

Definition at line 86 of file Stream.cpp.

◆ Preparation()

void MHStream::Preparation ( MHEngine engine)
overridevirtual

Reimplemented from MHIngredient.

Definition at line 118 of file Stream.cpp.

◆ Activation()

void MHStream::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 149 of file Stream.cpp.

◆ Deactivation()

void MHStream::Deactivation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 165 of file Stream.cpp.

◆ Destruction()

void MHStream::Destruction ( MHEngine engine)
overridevirtual

Reimplemented from MHIngredient.

Definition at line 138 of file Stream.cpp.

◆ ContentPreparation()

void MHStream::ContentPreparation ( MHEngine engine)
overridevirtual

Reimplemented from MHIngredient.

Definition at line 178 of file Stream.cpp.

◆ FindByObjectNo()

MHRoot * MHStream::FindByObjectNo ( int  n)
overridevirtual

Reimplemented from MHRoot.

Definition at line 186 of file Stream.cpp.

◆ BeginPlaying()

void MHStream::BeginPlaying ( MHEngine engine)
overridevirtual

Reimplemented from MHPresentable.

Definition at line 206 of file Stream.cpp.

Referenced by Activation(), and ContentPreparation().

◆ StopPlaying()

void MHStream::StopPlaying ( MHEngine engine)
overridevirtual

Reimplemented from MHPresentable.

Definition at line 221 of file Stream.cpp.

Referenced by Deactivation().

◆ GetCounterPosition()

void MHStream::GetCounterPosition ( MHRoot pResult,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 230 of file Stream.cpp.

◆ GetCounterMaxPosition()

void MHStream::GetCounterMaxPosition ( MHRoot pResult,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 236 of file Stream.cpp.

◆ SetCounterPosition()

void MHStream::SetCounterPosition ( int  pos,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 242 of file Stream.cpp.

◆ SetSpeed()

void MHStream::SetSpeed ( int  speed,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 248 of file Stream.cpp.

Member Data Documentation

◆ m_Multiplex

MHOwnPtrSequence<MHPresentable> MHStream::m_Multiplex
protected

◆ ST_Stream

enum MHStream::Storage MHStream::ST_Stream
protected

Referenced by PrintMe().

◆ m_nLooping

int MHStream::m_nLooping {0}
protected

Definition at line 61 of file Stream.h.

Referenced by Initialise(), and PrintMe().


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