WIP: some basic debugging

This commit is contained in:
Matthias Koefferlein 2024-10-23 18:38:26 +02:00
parent 46b44e6287
commit f7dde684f0
2 changed files with 6 additions and 2 deletions

View File

@ -58,7 +58,7 @@ public:
/**
* @brief Event handler for each edge plus it's neighborhood
*/
void on_edge (const db::Layout *layout, const db::Cell *cell, const db::Edge &edge, const neighbors_type &neighbors);
virtual void on_edge (const db::Layout * /*layout*/, const db::Cell * /*cell*/, const db::Edge & /*edge*/, const neighbors_type & /*neighbors*/) { }
};
/**

View File

@ -99,7 +99,11 @@ private:
tl::Mutex m_lock;
};
Class<gsi::EdgeNeighborhoodVisitorImpl> decl_EdgeNeighborhoodVisitorImpl ("db", "EdgeNeighborhoodVisitor",
Class<db::EdgeNeighborhoodVisitor> decl_EdgeNeighborhoodVisitor ("db", "EdgeNeighborhoodVisitorBase",
"@hide"
);
Class<gsi::EdgeNeighborhoodVisitorImpl> decl_EdgeNeighborhoodVisitorImpl (decl_EdgeNeighborhoodVisitor, "db", "EdgeNeighborhoodVisitor",
gsi::callback ("on_edge", &EdgeNeighborhoodVisitorImpl::issue_on_edge, &EdgeNeighborhoodVisitorImpl::f_on_edge, gsi::arg ("layout"), gsi::arg ("cell"), gsi::arg ("edge"), gsi::arg ("neighborhood"),
"@brief Is called for each edge with the edge neighbors\n"
"This method is called for every edge on the input region. It delivers the edge and the edge neighborhood. "