MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Protected Attributes
MHLink Class Reference

#include <Link.h>

Inheritance diagram for MHLink:
MHIngredient MHRoot

List of all members.

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

Detailed Description

Definition at line 36 of file Link.h.


Constructor & Destructor Documentation

Definition at line 34 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 40 of file Link.cpp.

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

Reimplemented from MHIngredient.

Definition at line 195 of file Link.cpp.

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

Definition at line 170 of file Link.cpp.

Referenced by MHParseText::NextSym().

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

Definition at line 183 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 239 of file Link.cpp.

Referenced by Activate().

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

Reimplemented from MHRoot.

Definition at line 252 of file Link.cpp.

Referenced by Activate().

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

Reimplemented from MHRoot.

Definition at line 264 of file Link.cpp.

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

Definition at line 284 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(), MHLink(), 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends