MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
MHApplication Class Reference

#include <Groups.h>

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

Public Member Functions

 MHApplication ()
 
 ~MHApplication () override
 
const char * ClassName () override
 
void Initialise (MHParseNode *p, MHEngine *engine) override
 
void PrintMe (FILE *fd, int nTabs) const override
 
bool IsShared () override
 
void Activation (MHEngine *engine) override
 
- Public Member Functions inherited from MHGroup
 MHGroup ()=default
 
 ~MHGroup () override
 
void Preparation (MHEngine *engine) override
 
void Deactivation (MHEngine *engine) override
 
void Destruction (MHEngine *engine) override
 
MHRootFindByObjectNo (int n) override
 
void SetTimer (int nTimerId, bool fAbsolute, int nMilliSecs, MHEngine *engine) override
 
void MakeClone (MHRoot *pTarget, MHRoot *pRef, MHEngine *engine) override
 
- Public Member Functions inherited from MHRoot
 MHRoot ()=default
 
 MHRoot (const MHRoot &)
 
virtual ~MHRoot ()=default
 
virtual void ContentPreparation (MHEngine *)
 
virtual bool GetAvailabilityStatus ()
 
virtual bool GetRunningStatus ()
 
virtual void SetInputRegister (int, MHEngine *)
 
virtual void SetData (const MHOctetString &, MHEngine *)
 
virtual void SetData (const MHContentRef &, bool, int, bool, int, MHEngine *)
 
virtual void Preload (MHEngine *)
 
virtual void Unload (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 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 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 *)
 

Protected Member Functions

int FindOnStack (const MHRoot *pVis)
 
- Protected Member Functions inherited from MHGroup
int CheckTimers (MHEngine *engine)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Protected Attributes

MHActionSequence m_OnSpawnCloseDown
 
MHActionSequence m_OnRestart
 
int m_nCharSet {0}
 
MHColour m_BGColour
 
MHColour m_TextColour
 
MHColour m_ButtonRefColour
 
MHColour m_HighlightRefColour
 
MHColour m_SliderRefColour
 
int m_nTextCHook {0}
 
int m_nIPCHook {0}
 
int m_nStrCHook {0}
 
int m_nBitmapCHook {0}
 
int m_nLineArtCHook {0}
 
MHFontBody m_Font
 
MHOctetString m_FontAttrs
 
int m_tuneinfo {0}
 
int m_nLockCount {0}
 
MHSequence< MHVisible * > m_DisplayStack
 
MHScenem_pCurrentScene {nullptr}
 
bool m_fRestarting {false}
 
QString m_Path
 
- Protected Attributes inherited from MHGroup
int m_nOrigGCPriority {127}
 
MHActionSequence m_StartUp
 
MHActionSequence m_CloseDown
 
MHOwnPtrSequence< MHIngredientm_Items
 
bool m_fIsApp {false}
 
QTime m_StartTime
 
QList< MHTimer * > m_Timers
 
int m_nLastId {0}
 
- Protected Attributes inherited from MHRoot
bool m_fAvailable {false}
 
bool m_fRunning {false}
 

Friends

class MHEngine
 

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 

Detailed Description

Definition at line 115 of file Groups.h.

Constructor & Destructor Documentation

◆ MHApplication()

MHApplication::MHApplication ( )
inline

Definition at line 118 of file Groups.h.

◆ ~MHApplication()

MHApplication::~MHApplication ( )
override

Definition at line 435 of file Groups.cpp.

Member Function Documentation

◆ ClassName()

const char* MHApplication::ClassName ( )
inlineoverridevirtual

Implements MHRoot.

Definition at line 120 of file Groups.h.

◆ Initialise()

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

Reimplemented from MHGroup.

Definition at line 440 of file Groups.cpp.

◆ PrintMe()

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

Reimplemented from MHGroup.

Definition at line 571 of file Groups.cpp.

◆ IsShared()

bool MHApplication::IsShared ( )
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 125 of file Groups.h.

◆ Activation()

void MHApplication::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHGroup.

Definition at line 691 of file Groups.cpp.

Referenced by MHEngine::Launch(), and MHEngine::Quit().

◆ FindOnStack()

int MHApplication::FindOnStack ( const MHRoot pVis)
protected

Friends And Related Function Documentation

◆ MHEngine

friend class MHEngine
friend

Definition at line 154 of file Groups.h.

Member Data Documentation

◆ m_OnSpawnCloseDown

MHActionSequence MHApplication::m_OnSpawnCloseDown
protected

Definition at line 129 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_OnRestart

MHActionSequence MHApplication::m_OnRestart
protected

Definition at line 129 of file Groups.h.

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

◆ m_nCharSet

int MHApplication::m_nCharSet {0}
protected

Definition at line 131 of file Groups.h.

Referenced by MHEngine::GetDefaultCharSet(), Initialise(), and PrintMe().

◆ m_BGColour

MHColour MHApplication::m_BGColour
protected

Definition at line 132 of file Groups.h.

Referenced by MHEngine::GetDefaultBGColour(), Initialise(), and PrintMe().

◆ m_TextColour

MHColour MHApplication::m_TextColour
protected

Definition at line 132 of file Groups.h.

Referenced by MHEngine::GetDefaultTextColour(), Initialise(), and PrintMe().

◆ m_ButtonRefColour

MHColour MHApplication::m_ButtonRefColour
protected

Definition at line 132 of file Groups.h.

Referenced by MHEngine::GetDefaultButtonRefColour(), Initialise(), and PrintMe().

◆ m_HighlightRefColour

MHColour MHApplication::m_HighlightRefColour
protected

Definition at line 132 of file Groups.h.

Referenced by MHEngine::GetDefaultHighlightRefColour(), Initialise(), and PrintMe().

◆ m_SliderRefColour

MHColour MHApplication::m_SliderRefColour
protected

Definition at line 132 of file Groups.h.

Referenced by MHEngine::GetDefaultSliderRefColour(), Initialise(), and PrintMe().

◆ m_nTextCHook

int MHApplication::m_nTextCHook {0}
protected

Definition at line 133 of file Groups.h.

Referenced by MHEngine::GetDefaultTextCHook(), Initialise(), and PrintMe().

◆ m_nIPCHook

int MHApplication::m_nIPCHook {0}
protected

Definition at line 134 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_nStrCHook

int MHApplication::m_nStrCHook {0}
protected

Definition at line 135 of file Groups.h.

Referenced by MHEngine::GetDefaultStreamCHook(), Initialise(), and PrintMe().

◆ m_nBitmapCHook

int MHApplication::m_nBitmapCHook {0}
protected

Definition at line 136 of file Groups.h.

Referenced by MHEngine::GetDefaultBitmapCHook(), Initialise(), and PrintMe().

◆ m_nLineArtCHook

int MHApplication::m_nLineArtCHook {0}
protected

Definition at line 137 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_Font

MHFontBody MHApplication::m_Font
protected

Definition at line 138 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_FontAttrs

MHOctetString MHApplication::m_FontAttrs
protected

Definition at line 139 of file Groups.h.

Referenced by MHEngine::GetDefaultFontAttrs(), Initialise(), and PrintMe().

◆ m_tuneinfo

int MHApplication::m_tuneinfo {0}
protected

Definition at line 140 of file Groups.h.

Referenced by MHEngine::GetTuneInfo(), and MHEngine::SetTuneInfo().

◆ m_nLockCount

int MHApplication::m_nLockCount {0}
protected

Definition at line 143 of file Groups.h.

Referenced by MHEngine::LockScreen(), and MHEngine::UnlockScreen().

◆ m_DisplayStack

MHSequence<MHVisible *> MHApplication::m_DisplayStack
protected

◆ m_pCurrentScene

MHScene* MHApplication::m_pCurrentScene {nullptr}
protected

Definition at line 149 of file Groups.h.

Referenced by MHEngine::CurrentScene(), MHEngine::TransitionToScene(), and ~MHApplication().

◆ m_fRestarting

bool MHApplication::m_fRestarting {false}
protected

Definition at line 150 of file Groups.h.

Referenced by Activation(), and MHEngine::Quit().

◆ m_Path

QString MHApplication::m_Path
protected

Definition at line 151 of file Groups.h.

Referenced by MHEngine::GetPathName().


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