![]() |
Eclipse 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... | |
void | showTypeEntries () |
show type Entries (depending if we're in Network or demand supermode) More... | |
~LockGLObjectTypes () | |
destructor More... | |
Private Attributes | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
std::map< GUIGlObjectType, std::pair< Supermode, 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 528 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_EMBEDDEDROUTE, GLO_FLOW, GLO_JUNCTION, GLO_LANE, GLO_PERSON, GLO_PERSONFLOW, GLO_PERSONSTOP, GLO_PERSONTRIP, GLO_POI, GLO_POLYGON, GLO_RIDE, GLO_ROUTE, GLO_ROUTEFLOW, GLO_STOP, GLO_TRIP, GLO_VEHICLE, GLO_WALK, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, GUIDesignMatrixLockGLTypes, and myTypeEntries.
GNESelectorFrame::LockGLObjectTypes::~LockGLObjectTypes | ( | ) |
void GNESelectorFrame::LockGLObjectTypes::addedLockedObject | ( | const GUIGlObjectType | type | ) |
set object selected
Definition at line 568 of file GNESelectorFrame.cpp.
References myTypeEntries.
Referenced by GNEVehicleType::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), and GNEVehicle::selectAttributeCarrier().
bool GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked | ( | const GUIGlObjectType | type | ) | const |
check if an object is locked
Definition at line 580 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, and myTypeEntries.
Referenced by GNESelectorFrame::ACsToSelected(), GNESelectorFrame::clearCurrentSelection(), GNEViewNet::getAttributeCarriersInBoundary(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), and GNEInspectorFrame::processNetworkSupermodeClick().
void GNESelectorFrame::LockGLObjectTypes::removeLockedObject | ( | const GUIGlObjectType | type | ) |
set object unselected
Definition at line 574 of file GNESelectorFrame.cpp.
References myTypeEntries.
Referenced by GNEVehicleType::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().
void GNESelectorFrame::LockGLObjectTypes::showTypeEntries | ( | ) |
show type Entries (depending if we're in Network or demand supermode)
Definition at line 590 of file GNESelectorFrame.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNet::getEditModes(), mySelectorFrameParent, myTypeEntries, and GNEFrame::myViewNet.
Referenced by GNESelectorFrame::show().
|
private |
pointer to Selector Frame Parent
Definition at line 113 of file GNESelectorFrame.h.
Referenced by showTypeEntries().
|
private |
check boxes for type-based selection locking and selected object counts
Definition at line 116 of file GNESelectorFrame.h.
Referenced by addedLockedObject(), IsObjectTypeLocked(), LockGLObjectTypes(), removeLockedObject(), showTypeEntries(), and ~LockGLObjectTypes().