![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Member Functions | |
SelectionOperation (GNESelectorFrame *selectorFrameParent) | |
FOX-declaration. More... | |
~SelectionOperation () | |
destructor More... | |
FOX-callbacks | |
long | onCmdLoad (FXObject *, FXSelector, void *) |
Called when the user presses the Load-button. More... | |
long | onCmdSave (FXObject *, FXSelector, void *) |
Called when the user presses the Save-button. More... | |
long | onCmdClear (FXObject *, FXSelector, void *) |
Called when the user presses the Clear-button. More... | |
long | onCmdInvert (FXObject *, FXSelector, void *) |
Called when the user presses the Invert-button. More... | |
Private Attributes | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
Definition at line 444 of file GNESelectorFrame.h.
GNESelectorFrame::SelectionOperation::SelectionOperation | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1201 of file GNESelectorFrame.cpp.
References GUIDesignButton, MID_CHOOSEN_CLEAR, MID_CHOOSEN_INVERT, MID_CHOOSEN_LOAD, and MID_CHOOSEN_SAVE.
GNESelectorFrame::SelectionOperation::~SelectionOperation | ( | ) |
destructor
Definition at line 1215 of file GNESelectorFrame.cpp.
long GNESelectorFrame::SelectionOperation::onCmdClear | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Clear-button.
Definition at line 1304 of file GNESelectorFrame.cpp.
Referenced by FXDEFMAP().
long GNESelectorFrame::SelectionOperation::onCmdInvert | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Invert-button.
Definition at line 1312 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), GLO_ADDITIONALELEMENT, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_EDGEDATA, GLO_EDGERELDATA, 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_TAZ, GLO_TRIP, GLO_VEHICLE, GLO_WALK, GNE_ATTR_SELECTED, GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_PERSONSTOP_BUSSTOP, GNE_TAG_PERSONSTOP_EDGE, GNE_TAG_PERSONTRIP_EDGE_BUSSTOP, GNE_TAG_PERSONTRIP_EDGE_EDGE, GNE_TAG_RIDE_EDGE_BUSSTOP, GNE_TAG_RIDE_EDGE_EDGE, GNE_TAG_ROUTE_EMBEDDED, GNE_TAG_VEHICLE_WITHROUTE, GNE_TAG_WALK_EDGE_BUSSTOP, GNE_TAG_WALK_EDGE_EDGE, GNE_TAG_WALK_ROUTE, GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNETagProperties::isSelectable(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_ROUTE, SUMO_TAG_TAZ, SUMO_TAG_TRIP, and SUMO_TAG_VEHICLE.
Referenced by FXDEFMAP().
long GNESelectorFrame::SelectionOperation::onCmdLoad | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Load-button.
Definition at line 1219 of file GNESelectorFrame.cpp.
References EMPTY, gCurrentFolder, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::getNet(), GUIGlObjectStorage::getObjectBlocking(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GNETagProperties::isDemandElement(), GNETagProperties::isSelectable(), GNENet::retrieveAttributeCarrier(), and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNESelectorFrame::SelectionOperation::onCmdSave | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Save-button.
Definition at line 1273 of file GNESelectorFrame.cpp.
References OutputDevice::close(), EMPTY, gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), StringBijection< T >::getString(), GUIGlObject::getType(), GUIGlObject::TypeNames, and WRITE_DEBUG.
Referenced by FXDEFMAP().
|
private |
pointer to Selector Frame Parent
Definition at line 487 of file GNESelectorFrame.h.