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

debugger.h File Reference

#include "common/func.h"
#include "common/ptr.h"
#include "common/hashmap.h"
#include "common/hash-str.h"
#include "common/array.h"
#include "common/str.h"
#include "common/str-array.h"
Include dependency graph for debugger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GUI::Debugger
struct  GUI::Debugger::Var

Namespaces

namespace  GUI

Defines

#define WRAP_METHOD(cls, method)   new Common::Functor2Mem<int, const char **, bool, cls>(this, &cls::method)
 Convenience macro that makes it easier to register a method of a debugger subclass as a command.

Define Documentation

#define WRAP_METHOD (   cls,
  method 
)    new Common::Functor2Mem<int, const char **, bool, cls>(this, &cls::method)

Convenience macro that makes it easier to register a method of a debugger subclass as a command.

Usage example: registerCmd("COMMAND", WRAP_METHOD(MyDebugger, myCmd)); would register the method MyDebugger::myCmd(int, const char **) under the command name "COMMAND".

Definition at line 87 of file debugger.h.



Generated on Sat Oct 12 2019 05:01:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge