ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::Breakpoint Class Reference

#include <breakpoint.h>

Collaboration diagram for Wintermute::Breakpoint:

List of all members.

Public Member Functions

 Breakpoint (const Common::String &filename, uint line, ScriptMonitor *monitor)
void evaluate (DebuggableScript *script)
 This should be called inside the interpreter; the breakpoint is evaluated in the context of script, and, if it is enabled and filename & line match, the attached ScriptMonitor is notified.
Common::String getFilename () const
int getLine () const
int getHits () const
bool isEnabled () const
void enable ()
void disable ()
virtual ~Breakpoint ()

Private Member Functions

void hit (DebuggableScript *script)

Private Attributes

const Common::String _filename
const uint _line
uint _hits
bool _enabled
ScriptMonitor_monitor

Detailed Description

Definition at line 32 of file breakpoint.h.


Constructor & Destructor Documentation

Wintermute::Breakpoint::Breakpoint ( const Common::String filename,
uint  line,
ScriptMonitor monitor 
)

Definition at line 28 of file breakpoint.cpp.

Wintermute::Breakpoint::~Breakpoint (  )  [virtual]

Definition at line 63 of file breakpoint.cpp.


Member Function Documentation

void Wintermute::Breakpoint::disable (  ) 

Definition at line 51 of file breakpoint.cpp.

void Wintermute::Breakpoint::enable (  ) 

Definition at line 48 of file breakpoint.cpp.

void Wintermute::Breakpoint::evaluate ( DebuggableScript script  ) 

This should be called inside the interpreter; the breakpoint is evaluated in the context of script, and, if it is enabled and filename & line match, the attached ScriptMonitor is notified.

Definition at line 55 of file breakpoint.cpp.

Common::String Wintermute::Breakpoint::getFilename (  )  const

Definition at line 36 of file breakpoint.cpp.

int Wintermute::Breakpoint::getHits (  )  const

Definition at line 42 of file breakpoint.cpp.

int Wintermute::Breakpoint::getLine (  )  const

Definition at line 39 of file breakpoint.cpp.

void Wintermute::Breakpoint::hit ( DebuggableScript script  )  [private]

Definition at line 31 of file breakpoint.cpp.

bool Wintermute::Breakpoint::isEnabled (  )  const

Definition at line 45 of file breakpoint.cpp.


Member Data Documentation

Definition at line 36 of file breakpoint.h.

Definition at line 33 of file breakpoint.h.

Definition at line 35 of file breakpoint.h.

Definition at line 34 of file breakpoint.h.

Definition at line 37 of file breakpoint.h.


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


Generated on Sat Sep 26 2020 05:04:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge