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

#include <Variables.h>

Inheritance diagram for MHIntegerVar:
Inheritance graph
Collaboration diagram for MHIntegerVar:
Collaboration graph

Public Member Functions

 MHIntegerVar ()=default
const char * ClassName () override
void Initialise (MHParseNode *p, MHEngine *engine) override
void PrintMe (FILE *fd, int nTabs) const override
virtual void Prepare ()
void Preparation (MHEngine *engine) override
void TestVariable (int nOp, const MHUnion &parmm, MHEngine *engine) override
void GetVariableValue (MHUnion &value, MHEngine *engine) override
void SetVariableValue (const MHUnion &value) override
- Public Member Functions inherited from MHVariable
 MHVariable ()=default
 ~MHVariable () override=default
void Activation (MHEngine *engine) override
- 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 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 void Deactivation (MHEngine *engine)
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 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, 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 Attributes

int m_nOriginalValue {0}
int m_nValue {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 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 64 of file Variables.h.

Constructor & Destructor Documentation

◆ MHIntegerVar()

MHIntegerVar::MHIntegerVar ( )

Member Function Documentation

◆ ClassName()

const char* MHIntegerVar::ClassName ( )

Implements MHRoot.

Definition at line 68 of file Variables.h.

◆ Initialise()

void MHIntegerVar::Initialise ( MHParseNode p,
MHEngine engine 

Reimplemented from MHIngredient.

Definition at line 145 of file Variables.cpp.

◆ PrintMe()

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

Reimplemented from MHIngredient.

Definition at line 157 of file Variables.cpp.

◆ Prepare()

virtual void MHIntegerVar::Prepare ( )

Definition at line 72 of file Variables.h.

◆ Preparation()

void MHIntegerVar::Preparation ( MHEngine engine)

Reimplemented from MHIngredient.

Definition at line 168 of file Variables.cpp.

◆ TestVariable()

void MHIntegerVar::TestVariable ( int  nOp,
const MHUnion parmm,
MHEngine engine 

Reimplemented from MHRoot.

Definition at line 180 of file Variables.cpp.

◆ GetVariableValue()

void MHIntegerVar::GetVariableValue ( MHUnion value,
MHEngine engine 

Reimplemented from MHRoot.

Definition at line 215 of file Variables.cpp.

◆ SetVariableValue()

void MHIntegerVar::SetVariableValue ( const MHUnion value)

Reimplemented from MHRoot.

Definition at line 222 of file Variables.cpp.

Member Data Documentation

◆ m_nOriginalValue

int MHIntegerVar::m_nOriginalValue {0}

Definition at line 82 of file Variables.h.

Referenced by Initialise(), Preparation(), Prepare(), and PrintMe().

◆ m_nValue

int MHIntegerVar::m_nValue {0}

Definition at line 83 of file Variables.h.

Referenced by GetVariableValue(), Preparation(), Prepare(), SetVariableValue(), and TestVariable().

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