MHIngredient Class Reference

#include <Ingredients.h>

Inheritance diagram for MHIngredient:
MHRoot MHCursorShape MHFont MHLink MHPalette MHPresentable MHProgram MHVariable MHAudio MHStream MHTokenGroup MHVisible MHInterChgProgram MHRemoteProgram MHResidentProgram MHBooleanVar MHContentRefVar MHIntegerVar MHObjectRefVar MHOctetStrVar

List of all members.

Public Member Functions

 MHIngredient ()
 MHIngredient (const MHIngredient &ref)
virtual ~MHIngredient ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual bool InitiallyActive ()
virtual bool InitiallyAvailable ()
virtual bool IsShared ()
virtual void Preparation (MHEngine *engine)
virtual void Destruction (MHEngine *engine)
virtual void ContentPreparation (MHEngine *engine)
virtual void SetData (const MHOctetString &included, MHEngine *engine)
virtual void SetData (const MHContentRef &referenced, bool fSizeGiven, int size, bool fCCGiven, int cc, MHEngine *engine)
virtual void Preload (MHEngine *engine)
virtual void Unload (MHEngine *engine)
virtual void ContentArrived (const unsigned char *, int, MHEngine *)

Protected Types

enum  { IN_NoContent, IN_IncludedContent, IN_ReferencedContent }

Protected Attributes

bool m_fInitiallyActive
int m_nContentHook
bool m_fShared
enum MHIngredient:: { ... }  m_ContentType
MHOctetString m_OrigIncludedContent
MHContentRef m_OrigContentRef
int m_nOrigContentSize
int m_nOrigCCPrio
MHOctetString m_IncludedContent
MHContentRef m_ContentRef
int m_nContentSize
int m_nCCPrio

Friends

class MHEngine

Detailed Description

Definition at line 33 of file Ingredients.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
IN_NoContent 
IN_IncludedContent 
IN_ReferencedContent 

Definition at line 65 of file Ingredients.h.


Constructor & Destructor Documentation

MHIngredient::MHIngredient (  ) 

Definition at line 32 of file Ingredients.cpp.

MHIngredient::MHIngredient ( const MHIngredient ref  ) 

Definition at line 45 of file Ingredients.cpp.

virtual MHIngredient::~MHIngredient (  )  [inline, virtual]

Definition at line 38 of file Ingredients.h.


Member Function Documentation

void MHIngredient::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]
void MHIngredient::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]
virtual bool MHIngredient::InitiallyActive (  )  [inline, virtual]

Definition at line 41 of file Ingredients.h.

Referenced by MHGroup::Activation(), MHStream::Preparation(), and MHGroup::Preparation().

virtual bool MHIngredient::InitiallyAvailable (  )  [inline, virtual]

Reimplemented in MHProgram.

Definition at line 42 of file Ingredients.h.

Referenced by MHGroup::Preparation().

virtual bool MHIngredient::IsShared (  )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 43 of file Ingredients.h.

Referenced by MHEngine::TransitionToScene().

void MHIngredient::Preparation ( MHEngine engine  )  [virtual]
void MHIngredient::Destruction ( MHEngine engine  )  [virtual]

Reimplemented from MHRoot.

Reimplemented in MHStream, MHListGroup, and MHVisible.

Definition at line 187 of file Ingredients.cpp.

Referenced by MHStream::Destruction(), MHGroup::Destruction(), and Unload().

void MHIngredient::ContentPreparation ( MHEngine engine  )  [virtual]

Reimplemented from MHRoot.

Reimplemented in MHBitmap, MHStream, MHVideo, and MHText.

Definition at line 193 of file Ingredients.cpp.

Referenced by SetData().

void MHIngredient::SetData ( const MHOctetString included,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 209 of file Ingredients.cpp.

void MHIngredient::SetData ( const MHContentRef referenced,
bool  fSizeGiven,
int  size,
bool  fCCGiven,
int  cc,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 232 of file Ingredients.cpp.

virtual void MHIngredient::Preload ( MHEngine engine  )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 53 of file Ingredients.h.

virtual void MHIngredient::Unload ( MHEngine engine  )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 54 of file Ingredients.h.

virtual void MHIngredient::ContentArrived ( const unsigned char *  ,
int  ,
MHEngine  
) [inline, virtual]

Reimplemented in MHBitmap, and MHText.

Definition at line 57 of file Ingredients.h.

Referenced by MHEngine::CheckContentRequests(), and MHEngine::RequestExternalContent().


Friends And Related Function Documentation

friend class MHEngine [friend]

Reimplemented from MHRoot.

Definition at line 75 of file Ingredients.h.


Member Data Documentation

Definition at line 61 of file Ingredients.h.

Referenced by MHBitmap::ContentArrived(), Initialise(), MHIngredient(), and PrintMe().

Definition at line 62 of file Ingredients.h.

Referenced by Initialise(), IsShared(), MHIngredient(), and PrintMe().

enum { ... } MHIngredient::m_ContentType [protected]

Definition at line 66 of file Ingredients.h.

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

Definition at line 67 of file Ingredients.h.

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

Definition at line 68 of file Ingredients.h.

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

int MHIngredient::m_nOrigCCPrio [protected]

Definition at line 69 of file Ingredients.h.

Referenced by Initialise(), MHIngredient(), Preparation(), PrintMe(), and SetData().

Definition at line 71 of file Ingredients.h.

Referenced by MHText::ContentPreparation(), Preparation(), and SetData().

Definition at line 73 of file Ingredients.h.

Referenced by MHIngredient(), Preparation(), and SetData().

int MHIngredient::m_nCCPrio [protected]

Definition at line 74 of file Ingredients.h.

Referenced by MHIngredient(), Preparation(), and SetData().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:10 2012 for MythTV by  doxygen 1.6.3