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

#include <libmythfreemheg/TokenGroup.h>

Inheritance diagram for MHTokenGroup:
[legend]
Collaboration diagram for MHTokenGroup:
[legend]

Public Member Functions

 MHTokenGroup ()=default
 
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 CallActionSlot (int n, MHEngine *engine) override
 
void Move (int n, MHEngine *engine) override
 
void MoveTo (int n, MHEngine *engine) override
 
void GetTokenPosition (MHRoot *pResult, MHEngine *) override
 
- Public Member Functions inherited from MHPresentable
 MHPresentable ()=default
 
 MHPresentable (const MHPresentable &)=default
 
void Run (MHEngine *engine) override
 
void Stop (MHEngine *engine) override
 
virtual void BeginPlaying (MHEngine *)
 
virtual void StopPlaying (MHEngine *)
 
- 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 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 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 *)
 

Protected Member Functions

void PrintContents (FILE *fd, int nTabs) const
 
void TransferToken (int newPos, MHEngine *engine)
 
- Protected Member Functions inherited from MHRoot
void InvalidAction (const char *actionName)
 

Protected Attributes

MHOwnPtrSequence< MHMovementm_movementTable
 
MHOwnPtrSequence< MHTokenGroupItemm_tokenGrpItems
 
MHOwnPtrSequence< MHActionSequencem_noTokenActionSlots
 
int m_nTokenPosition {1}
 
- 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  : std::uint8_t { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }
 

Detailed Description

Definition at line 59 of file TokenGroup.h.

Constructor & Destructor Documentation

◆ MHTokenGroup()

MHTokenGroup::MHTokenGroup ( )
default

Member Function Documentation

◆ ClassName()

const char* MHTokenGroup::ClassName ( )
inlineoverridevirtual

Implements MHRoot.

Reimplemented in MHListGroup.

Definition at line 63 of file TokenGroup.h.

◆ Initialise()

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

Reimplemented from MHIngredient.

Reimplemented in MHListGroup.

Definition at line 120 of file TokenGroup.cpp.

Referenced by MHListGroup::Initialise().

◆ PrintMe()

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

Reimplemented from MHIngredient.

Reimplemented in MHListGroup.

Definition at line 225 of file TokenGroup.cpp.

◆ Activation()

void MHTokenGroup::Activation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Reimplemented in MHListGroup.

Definition at line 235 of file TokenGroup.cpp.

Referenced by MHListGroup::Activation().

◆ Deactivation()

void MHTokenGroup::Deactivation ( MHEngine engine)
overridevirtual

Reimplemented from MHRoot.

Reimplemented in MHListGroup.

Definition at line 269 of file TokenGroup.cpp.

Referenced by MHListGroup::Deactivation().

◆ CallActionSlot()

void MHTokenGroup::CallActionSlot ( int  n,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 292 of file TokenGroup.cpp.

◆ Move()

void MHTokenGroup::Move ( int  n,
MHEngine engine 
)
overridevirtual

Reimplemented from MHRoot.

Definition at line 315 of file TokenGroup.cpp.

◆ MoveTo()

void MHTokenGroup::MoveTo ( int  n,
MHEngine engine 
)
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 74 of file TokenGroup.h.

◆ GetTokenPosition()

void MHTokenGroup::GetTokenPosition ( MHRoot pResult,
MHEngine  
)
inlineoverridevirtual

Reimplemented from MHRoot.

Definition at line 76 of file TokenGroup.h.

◆ PrintContents()

void MHTokenGroup::PrintContents ( FILE *  fd,
int  nTabs 
) const
protected

Definition at line 167 of file TokenGroup.cpp.

Referenced by PrintMe(), and MHListGroup::PrintMe().

◆ TransferToken()

void MHTokenGroup::TransferToken ( int  newPos,
MHEngine engine 
)
protected

Definition at line 281 of file TokenGroup.cpp.

Referenced by Move(), and MoveTo().

Member Data Documentation

◆ m_movementTable

MHOwnPtrSequence<MHMovement> MHTokenGroup::m_movementTable
protected

Definition at line 83 of file TokenGroup.h.

Referenced by Initialise(), Move(), and PrintContents().

◆ m_tokenGrpItems

MHOwnPtrSequence<MHTokenGroupItem> MHTokenGroup::m_tokenGrpItems
protected

◆ m_noTokenActionSlots

MHOwnPtrSequence<MHActionSequence> MHTokenGroup::m_noTokenActionSlots
protected

Definition at line 85 of file TokenGroup.h.

Referenced by CallActionSlot(), Initialise(), and PrintContents().

◆ m_nTokenPosition

int MHTokenGroup::m_nTokenPosition {1}
protected

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