Exemple #1
0
void
NBOwnTLDef::setParticipantsInformation() {
    // assign participating nodes to the request
    collectNodes();
    // collect the information about participating edges and links
    collectEdges();
    collectLinks();
}
 void EntityLinkRenderer::getAllLinks(Vertex::List& links) const {
     View::MapDocumentSPtr document = lock(m_document);
     const Model::EditorContext& editorContext = document->editorContext();
     
     CollectAllLinksVisitor collectLinks(editorContext, m_defaultColor, m_selectedColor, links);
     
     Model::World* world = document->world();
     if (world != NULL)
         world->acceptAndRecurse(collectLinks);
 }
void
NBTrafficLightDefinition::setParticipantsInformation() {
    // collect the information about participating edges and links
    collectEdges();
    collectLinks();
}