Mainwindow * mainwindow)
: width(270), height(45), name(name)
, _table(NULL)
- , block(block), mainwindow(mainwindow) {
+ , block(block), mainwindow(mainwindow)
+ , logger(log4cxx::Logger::getLogger(name.toStdString() + "BasicBlock")) {
next[0] = NULL; next[1] = NULL;
_widget.reset(new CustomQGraphicsTextItem("", this, mainwindow));
_widget->setPos(5, 20);
#include <tuple>
#include <array>
#include <memory>
+#include <log4cxx/logger.h>
class Mainwindow;
class BasicBlock;
Mainwindow* mainwindow;
std::vector<BasicBlockWidget*> previous;
BasicBlockWidget* next[2];
+ log4cxx::LoggerPtr logger;
};
#endif