MHLink Class Reference

#include <Link.h>

Inheritance diagram for MHLink:

MHIngredient MHRoot

List of all members.


Detailed Description

Definition at line 36 of file Link.h.


Public Member Functions

 MHLink ()
virtual const char * ClassName ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Activation (MHEngine *engine)
virtual void Deactivation (MHEngine *engine)
virtual void Activate (bool f, MHEngine *engine)
virtual void MatchEvent (const MHObjectRef &sourceRef, enum EventType ev, const MHUnion &un, MHEngine *engine)

Static Public Member Functions

static int GetEventType (const char *str)
static QString EventTypeToString (enum EventType ev)

Protected Attributes

MHObjectRef m_EventSource
enum EventType m_nEventType
MHUnion m_EventData
MHActionSequence m_LinkEffect

Constructor & Destructor Documentation

MHLink::MHLink (  ) 

Definition at line 32 of file Link.cpp.


Member Function Documentation

virtual const char* MHLink::ClassName (  )  [inline, virtual]

Implements MHRoot.

Definition at line 40 of file Link.h.

void MHLink::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]

Reimplemented from MHIngredient.

Definition at line 37 of file Link.cpp.

void MHLink::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]

Reimplemented from MHIngredient.

Definition at line 131 of file Link.cpp.

int MHLink::GetEventType ( const char *  str  )  [static]

Definition at line 117 of file Link.cpp.

Referenced by MHParseText::NextSym().

QString MHLink::EventTypeToString ( enum EventType  ev  )  [static]

Definition at line 125 of file Link.cpp.

Referenced by MHEngine::EventTriggered(), MHSendEvent::PrintArgs(), and MHEngine::RunAll().

void MHLink::Activation ( MHEngine engine  )  [virtual]

Reimplemented from MHRoot.

Definition at line 152 of file Link.cpp.

Referenced by Activate().

void MHLink::Deactivation ( MHEngine engine  )  [virtual]

Reimplemented from MHRoot.

Definition at line 161 of file Link.cpp.

Referenced by Activate().

void MHLink::Activate ( bool  f,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 169 of file Link.cpp.

void MHLink::MatchEvent ( const MHObjectRef sourceRef,
enum EventType  ev,
const MHUnion un,
MHEngine engine 
) [virtual]

Definition at line 181 of file Link.cpp.


Member Data Documentation

Definition at line 58 of file Link.h.

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

enum EventType MHLink::m_nEventType [protected]

Definition at line 59 of file Link.h.

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

Definition at line 60 of file Link.h.

Referenced by Initialise(), MatchEvent(), MHLink(), and PrintMe().

Definition at line 61 of file Link.h.

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


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

Generated on Sat Dec 18 05:16:05 2010 for MythTV by  doxygen 1.5.5