Public Member Functions | List of all members
zorba::DebuggerEventHandler Class Reference

#include <zorba/debugger_event_handler.h>

Inheritance diagram for zorba::DebuggerEventHandler:
Inheritance graph
[legend]

Public Member Functions

virtual void error (unsigned int errcode, const std::string &msg)=0
 Method which gets called if an error occurs.
virtual void parseMessage (const std::string &aMessage)=0
 This method gets called whenever the debugger client gets a message from the debug engine.

Detailed Description

Definition at line 21 of file debugger_event_handler.h.

Member Function Documentation

virtual void zorba::DebuggerEventHandler::error ( unsigned int  errcode,
const std::string &  msg 
)
pure virtual

Method which gets called if an error occurs.

This method gets called if an error occurs. This can be either an error in the client or in the parser.

Parameters
errcodeThe error code.
msgA UI usable message.
virtual void zorba::DebuggerEventHandler::parseMessage ( const std::string &  aMessage)
pure virtual

This method gets called whenever the debugger client gets a message from the debug engine.

When the client gets a message from the debug engine, it reads the message to a string and calls this method. The message is an XML document - so the implementation has to parse this node.

Parameters
aMessageThe message recieved from the debug engine.

The documentation for this class was generated from the following file:
blog comments powered by Disqus