int IncrementChainingTimeStampF1D::operator()(Interface1D& inter) { ViewEdge *ve = dynamic_cast<ViewEdge*>(&inter); if (ve) ve->setChainingTimeStamp(ve->getChainingTimeStamp() + 1); return 0; }
int ChainingTimeStampF1D::operator()(Interface1D& inter) { TimeStamp *timestamp = TimeStamp::instance(); ViewEdge *ve = dynamic_cast<ViewEdge*>(&inter); if (ve) ve->setChainingTimeStamp(timestamp->getTimeStamp()); return 0; }