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

#include <Groups.h>

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

Public Member Functions

 MHGroup ()=default
 
virtual ~MHGroup ()
 
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
 
MHRootFindByObjectNo (int n) override
 
void SetTimer (int nTimerId, bool fAbsolute, int nMilliSecs, MHEngine *) override
 
void MakeClone (MHRoot *pTarget, MHRoot *pRef, MHEngine *engine) override
 
- Public Member Functions inherited from MHRoot
 MHRoot ()
 
 MHRoot (const MHRoot &)
 
virtual ~MHRoot ()
 
virtual bool IsShared ()
 
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 *)
 
virtual const char * ClassName ()=0
 

Protected Member Functions

void Initialise (MHParseNode *p, MHEngine *engine) override
 
int CheckTimers (MHEngine *engine)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Protected Attributes

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
 
class MHEGEngine
 

Additional Inherited Members

- Public Attributes inherited from MHRoot
MHObjectRef m_ObjectReference
 

Detailed Description

Definition at line 45 of file Groups.h.

Constructor & Destructor Documentation

◆ MHGroup()

MHGroup::MHGroup ( )
default

◆ ~MHGroup()

MHGroup::~MHGroup ( )
virtual

Definition at line 40 of file Groups.cpp.

Member Function Documentation

◆ PrintMe()

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

Reimplemented from MHRoot.

Reimplemented in MHApplication, and MHScene.

Definition at line 217 of file Groups.cpp.

Referenced by MHScene::PrintMe(), MHApplication::PrintMe(), and MHEngine::TransitionToScene().

◆ Preparation()

void MHGroup::Preparation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 258 of file Groups.cpp.

Referenced by MHEngine::TransitionToScene().

◆ Activation()

void MHGroup::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Reimplemented in MHApplication, and MHScene.

Definition at line 275 of file Groups.cpp.

Referenced by MHScene::Activation(), MHApplication::Activation(), and MHEngine::TransitionToScene().

◆ Deactivation()

void MHGroup::Deactivation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 305 of file Groups.cpp.

Referenced by MHEngine::TransitionToScene().

◆ Destruction()

void MHGroup::Destruction ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Definition at line 319 of file Groups.cpp.

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

◆ FindByObjectNo()

MHRoot * MHGroup::FindByObjectNo ( int  n)
overridevirtual

Reimplemented from MHRoot.

Definition at line 330 of file Groups.cpp.

Referenced by MHEngine::FindObject().

◆ SetTimer()

void MHGroup::SetTimer ( int  nTimerId,
bool  fAbsolute,
int  nMilliSecs,
MHEngine  
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 351 of file Groups.cpp.

◆ MakeClone()

void MHGroup::MakeClone ( MHRoot pTarget,
MHRoot pRef,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 425 of file Groups.cpp.

◆ Initialise()

void MHGroup::Initialise ( MHParseNode p,
MHEngine engine 
)
overrideprotectedvirtual

Reimplemented from MHRoot.

Reimplemented in MHApplication, and MHScene.

Definition at line 48 of file Groups.cpp.

Referenced by MHScene::Initialise(), MHApplication::Initialise(), and MHEngine::ParseProgram().

◆ CheckTimers()

int MHGroup::CheckTimers ( MHEngine engine)
protected

Definition at line 389 of file Groups.cpp.

Referenced by MHEngine::RunAll().

Friends And Related Function Documentation

◆ MHEngine

friend class MHEngine
friend

Definition at line 72 of file Groups.h.

◆ MHEGEngine

friend class MHEGEngine
friend

Definition at line 83 of file Groups.h.

Member Data Documentation

◆ m_nOrigGCPriority

int MHGroup::m_nOrigGCPriority {127}
protected

Definition at line 68 of file Groups.h.

Referenced by Initialise(), and PrintMe().

◆ m_StartUp

MHActionSequence MHGroup::m_StartUp
protected

Definition at line 69 of file Groups.h.

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

◆ m_CloseDown

MHActionSequence MHGroup::m_CloseDown
protected

Definition at line 69 of file Groups.h.

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

◆ m_Items

MHOwnPtrSequence<MHIngredient> MHGroup::m_Items
protected

◆ m_fIsApp

bool MHGroup::m_fIsApp {false}
protected

◆ m_StartTime

QTime MHGroup::m_StartTime
protected

Definition at line 77 of file Groups.h.

Referenced by Activation(), and SetTimer().

◆ m_Timers

QList<MHTimer*> MHGroup::m_Timers
protected

Definition at line 78 of file Groups.h.

Referenced by CheckTimers(), SetTimer(), and ~MHGroup().

◆ m_nLastId

int MHGroup::m_nLastId {0}
protected

Definition at line 81 of file Groups.h.

Referenced by Initialise(), and MakeClone().


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