mirror of https://github.com/KLayout/klayout.git
WIP: some basic debugging
This commit is contained in:
parent
46b44e6287
commit
f7dde684f0
|
|
@ -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*/) { }
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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. "
|
||||
|
|
|
|||
Loading…
Reference in New Issue