MythTV  master
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
MHLink Class Reference

#include <Link.h>

Inheritance diagram for MHLink:
Inheritance graph
Collaboration diagram for MHLink:
Collaboration graph

Public Member Functions

 MHLink ()
const char * ClassName () override
void Initialise (MHParseNode *p, MHEngine *engine) override
void PrintMe (FILE *fd, int nTabs) const override
void Activation (MHEngine *engine) override
void Deactivation (MHEngine *engine) override
void Activate (bool f, MHEngine *engine) override
virtual void MatchEvent (const MHObjectRef &sourceRef, enum EventType ev, const MHUnion &evData, MHEngine *engine)
- Public Member Functions inherited from MHIngredient
 MHIngredient ()=default
 MHIngredient (const MHIngredient &ref)
 ~MHIngredient () override=default
virtual bool InitiallyActive ()
virtual bool InitiallyAvailable ()
bool IsShared () override
void Preparation (MHEngine *engine) override
void Destruction (MHEngine *engine) override
void ContentPreparation (MHEngine *engine) 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 ()=default
 MHRoot (const MHRoot &)
virtual ~MHRoot ()=default
virtual MHRootFindByObjectNo (int n)
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 Run (MHEngine *)
virtual void Stop (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 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, const MHPointVec &, const MHPointVec &, MHEngine *)
virtual void ScaleVideo (int, int, MHEngine *)
virtual void SetVideoDecodeOffset (int, int, MHEngine *)
virtual void GetVideoDecodeOffset (MHRoot *, MHRoot *, MHEngine *)
virtual void GetCounterPosition (MHRoot *, MHEngine *)
virtual void GetCounterMaxPosition (MHRoot *, MHEngine *)
virtual void SetCounterPosition (int, MHEngine *)
virtual void SetSpeed (int, 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 *)

Static Public Member Functions

static int GetEventType (const QString &str)
static QString EventTypeToString (enum EventType ev)

Protected Attributes

MHObjectRef m_eventSource
MHUnion m_eventData
MHActionSequence m_linkEffect
- 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 Types inherited from MHIngredient
enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)

Detailed Description

Definition at line 36 of file Link.h.

Constructor & Destructor Documentation

◆ MHLink()

MHLink::MHLink ( )

Definition at line 34 of file Link.cpp.

Member Function Documentation

◆ ClassName()

const char* MHLink::ClassName ( )

Implements MHRoot.

Definition at line 40 of file Link.h.

◆ Initialise()

void MHLink::Initialise ( MHParseNode p,
MHEngine engine 

Reimplemented from MHIngredient.

Definition at line 39 of file Link.cpp.

◆ PrintMe()

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

Reimplemented from MHIngredient.

Definition at line 191 of file Link.cpp.

◆ GetEventType()

int MHLink::GetEventType ( const QString &  str)

Definition at line 169 of file Link.cpp.

Referenced by MHParseText::NextSym().

◆ EventTypeToString()

QString MHLink::EventTypeToString ( enum EventType  ev)

Definition at line 182 of file Link.cpp.

Referenced by MHEngine::EventTriggered(), MHSendEvent::PrintArgs(), and MHEngine::RunAll().

◆ Activation()

void MHLink::Activation ( MHEngine engine)

Reimplemented from MHRoot.

Definition at line 235 of file Link.cpp.

Referenced by Activate().

◆ Deactivation()

void MHLink::Deactivation ( MHEngine engine)

Reimplemented from MHRoot.

Definition at line 248 of file Link.cpp.

Referenced by Activate().

◆ Activate()

void MHLink::Activate ( bool  f,
MHEngine engine 

Reimplemented from MHRoot.

Definition at line 260 of file Link.cpp.

◆ MatchEvent()

void MHLink::MatchEvent ( const MHObjectRef sourceRef,
enum EventType  ev,
const MHUnion evData,
MHEngine engine 

Definition at line 280 of file Link.cpp.

Member Data Documentation

◆ m_eventSource

MHObjectRef MHLink::m_eventSource

Definition at line 60 of file Link.h.

Referenced by Initialise(), MatchEvent(), and PrintMe().

◆ m_eventData

MHUnion MHLink::m_eventData

Definition at line 62 of file Link.h.

Referenced by Initialise(), MatchEvent(), MHLink(), and PrintMe().

◆ m_linkEffect

MHActionSequence MHLink::m_linkEffect

Definition at line 63 of file Link.h.

Referenced by Initialise(), MatchEvent(), and PrintMe().

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