![]() |
SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Data Structures | |
class | ObjectTypeEntry |
class for object types entries More... | |
Public Member Functions | |
void | addedLockedObject (const GUIGlObjectType type) |
set object selected More... | |
bool | IsObjectTypeLocked (const GUIGlObjectType type) const |
check if an object is locked More... | |
LockGLObjectTypes (GNESelectorFrame *selectorFrameParent) | |
constructor More... | |
void | removeLockedObject (const GUIGlObjectType type) |
set object unselected More... | |
~LockGLObjectTypes () | |
destructor More... | |
Private Attributes | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
std::map< GUIGlObjectType, ObjectTypeEntry * > | myTypeEntries |
check boxes for type-based selection locking and selected object counts More... | |
Definition at line 41 of file GNESelectorFrame.h.
GNESelectorFrame::LockGLObjectTypes::LockGLObjectTypes | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 298 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_POI, GLO_POLYGON, GUIDesignMatrixLockGLTypes, and myTypeEntries.
GNESelectorFrame::LockGLObjectTypes::~LockGLObjectTypes | ( | ) |
void GNESelectorFrame::LockGLObjectTypes::addedLockedObject | ( | const GUIGlObjectType | type | ) |
set object selected
Definition at line 324 of file GNESelectorFrame.cpp.
References myTypeEntries.
Referenced by GNENetElement::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), and GNEAdditional::selectAttributeCarrier().
bool GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked | ( | const GUIGlObjectType | type | ) | const |
check if an object is locked
Definition at line 336 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, and myTypeEntries.
Referenced by GNEViewNet::getAttributeCarriersInBoundary(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onLeftBtnPress(), and GNEInspectorFrame::processClick().
void GNESelectorFrame::LockGLObjectTypes::removeLockedObject | ( | const GUIGlObjectType | type | ) |
set object unselected
Definition at line 330 of file GNESelectorFrame.cpp.
References myTypeEntries.
Referenced by GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
private |
pointer to Selector Frame Parent
Definition at line 104 of file GNESelectorFrame.h.
|
private |
check boxes for type-based selection locking and selected object counts
Definition at line 107 of file GNESelectorFrame.h.
Referenced by addedLockedObject(), IsObjectTypeLocked(), LockGLObjectTypes(), removeLockedObject(), and ~LockGLObjectTypes().