![]() |
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 40 of file GNESelectorFrame.h.
GNESelectorFrame::LockGLObjectTypes::LockGLObjectTypes | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 527 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 | ( | ) |
destructor
Definition at line 558 of file GNESelectorFrame.cpp.
void GNESelectorFrame::LockGLObjectTypes::addedLockedObject | ( | const GUIGlObjectType | type | ) |
set object selected
Definition at line 567 of file GNESelectorFrame.cpp.
Referenced by GNEAdditional::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), and GNENetElement::selectAttributeCarrier().
bool GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked | ( | const GUIGlObjectType | type | ) | const |
check if an object is locked
Definition at line 579 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL.
Referenced by GNESelectorFrame::ACsToSelected(), GNESelectorFrame::clearCurrentSelection(), GNEViewNet::getAttributeCarriersInBoundary(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), and GNEInspectorFrame::processNetworkSupermodeClick().
void GNESelectorFrame::LockGLObjectTypes::removeLockedObject | ( | const GUIGlObjectType | type | ) |
set object unselected
Definition at line 573 of file GNESelectorFrame.cpp.
Referenced by GNEAdditional::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), and GNENetElement::unselectAttributeCarrier().
void GNESelectorFrame::LockGLObjectTypes::showTypeEntries | ( | ) |
show type Entries (depending if we're in Network or demand supermode)
Definition at line 589 of file GNESelectorFrame.cpp.
Referenced by GNESelectorFrame::show().
|
private |
pointer to Selector Frame Parent
Definition at line 111 of file GNESelectorFrame.h.
|
private |
check boxes for type-based selection locking and selected object counts
Definition at line 114 of file GNESelectorFrame.h.
Referenced by LockGLObjectTypes().