Go to the documentation of this file.
145 "InteractionCompleted",
159 "FirstItemPresented",
176 if (str.compare(
rchEventType[i], Qt::CaseInsensitive) == 0)
191 return QString(
"Unknown event %1").arg(ev);
197 fprintf(fd,
"{:Link");
200 fprintf(fd,
":EventSource ");
205 fprintf(fd,
":EventType %s\n", qPrintable(
rchEventType[m_nEventType-1]));
220 fprintf(fd,
":EventData");
229 fprintf(fd,
":LinkEffect (\n");
MHObjectRef m_eventSource
virtual void Activation(MHEngine *engine)
enum NodeType m_nNodeType
void Initialise(MHParseNode *p, MHEngine *engine)
virtual void Deactivation(MHEngine *engine)
void Initialise(MHParseNode *p, MHEngine *engine) override
static const std::array< const QString, 33 > rchEventType
void AddLink(MHLink *pLink)
void PrintMe(FILE *fd, int nTabs) const
bool Equal(const MHObjectRef &objr, MHEngine *engine) const
MHObjectRef m_ObjectReference
virtual void MatchEvent(const MHObjectRef &sourceRef, enum EventType ev, const MHUnion &evData, MHEngine *engine)
void Deactivation(MHEngine *engine) override
void EventTriggered(MHRoot *pSource, enum EventType ev)
static QString EventTypeToString(enum EventType ev)
void PrintTabs(FILE *fd, int n)
MHParseNode * GetArgN(int n)
void PrintMe(FILE *fd, int nTabs) const override
#define MHLOG(__level, __text)
enum MHUnion::UnionTypes U_None
static int GetEventType(const QString &str)
void AddActions(const MHActionSequence &actions)
virtual void Initialise(MHParseNode *p, MHEngine *engine)
static void Failure(const char *p)
virtual void PrintMe(FILE *fd, int nTabs) const
void Initialise(MHParseNode *p, MHEngine *engine) override
void GetStringValue(MHOctetString &str)
bool Equal(const MHOctetString &str) const
MHActionSequence m_linkEffect
void RemoveLink(MHLink *pLink)
void PrintMe(FILE *fd, int nTabs) const
void Activation(MHEngine *engine) override
void Activate(bool f, MHEngine *engine) override
QString Printable() const
void PrintMe(FILE *fd, int nTabs) const override