![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used for group front elements More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
| const std::unordered_set< GNEAttributeCarrier * > & | getACs () const |
| get hash table with all fronted ACs | |
| MarkFrontElements () | |
| constructor | |
| void | unmarkAll () |
| unmark all ACs | |
Protected Member Functions | |
| void | markAC (GNEAttributeCarrier *AC) |
| mark AC as drawing front | |
| void | unmarkAC (GNEAttributeCarrier *AC) |
| unmark AC for drawing front | |
Private Member Functions | |
| MarkFrontElements (const MarkFrontElements &)=delete | |
| Invalidated copy constructor. | |
| MarkFrontElements & | operator= (const MarkFrontElements &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| std::unordered_set< GNEAttributeCarrier * > | myMarkedACs |
| hash table with all marked ACs (we use a set to make deletion of massive elements more quickly) | |
Friends | |
| class | GNEAttributeCarrier |
| only GNEAttributeCarrier have access to mark/unmarkAC | |
class used for group front elements
Definition at line 305 of file GNEViewNetHelper.h.
| GNEViewNetHelper::MarkFrontElements::MarkFrontElements | ( | ) |
constructor
Definition at line 332 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
| const std::unordered_set< GNEAttributeCarrier * > & GNEViewNetHelper::MarkFrontElements::getACs | ( | ) | const |
get hash table with all fronted ACs
Definition at line 336 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdResetConnections(), GNEApplicationWindow::onUpdNeedsFrontElement(), GNEViewNet::updateObjectsInPosition(), and GNEViewNet::updateObjectsInShape().
|
protected |
mark AC as drawing front
Definition at line 352 of file GNEViewNetHelper.cpp.
Referenced by GNEAttributeCarrier::markForDrawingFront().
|
privatedelete |
Invalidated assignment operator.
|
protected |
unmark AC for drawing front
Definition at line 358 of file GNEViewNetHelper.cpp.
Referenced by GNEAttributeCarrier::unmarkForDrawingFront().
| void GNEViewNetHelper::MarkFrontElements::unmarkAll | ( | ) |
unmark all ACs
Definition at line 342 of file GNEViewNetHelper.cpp.
References GNEAttributeCarrier::unmarkForDrawingFront().
Referenced by GNEAttributesEditorType::onCmdMarkAsFront(), and GNEApplicationWindow::onCmdToggleFrontElement().
|
friend |
only GNEAttributeCarrier have access to mark/unmarkAC
Definition at line 308 of file GNEViewNetHelper.h.
|
private |
hash table with all marked ACs (we use a set to make deletion of massive elements more quickly)
Definition at line 329 of file GNEViewNetHelper.h.