![]() |
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 332 of file GNESelectorFrame.h.
GNESelectorFrame::SelectionOperation::SelectionOperation | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1157 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 1171 of file GNESelectorFrame.cpp.
long GNESelectorFrame::SelectionOperation::onCmdClear | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Clear-button.
Definition at line 1257 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 1265 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getTagProperties(), 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_ATTR_SELECTED, GNE_SUPERMODE_NETWORK, GNEShape::isAttributeCarrierSelected(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNEAttributeCarrier::TagProperties::isSelectable(), GNEShape::setAttribute(), SUMO_TAG_EMBEDDEDROUTE, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONSTOP_BUSSTOP, SUMO_TAG_PERSONSTOP_LANE, SUMO_TAG_PERSONTRIP_BUSSTOP, SUMO_TAG_PERSONTRIP_FROMTO, SUMO_TAG_RIDE_BUSSTOP, SUMO_TAG_RIDE_FROMTO, SUMO_TAG_ROUTE, SUMO_TAG_ROUTEFLOW, SUMO_TAG_STOP_BUSSTOP, SUMO_TAG_STOP_CHARGINGSTATION, SUMO_TAG_STOP_CONTAINERSTOP, SUMO_TAG_STOP_LANE, SUMO_TAG_STOP_PARKINGAREA, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_WALK_BUSSTOP, SUMO_TAG_WALK_FROMTO, and SUMO_TAG_WALK_ROUTE.
Referenced by FXDEFMAP().
long GNESelectorFrame::SelectionOperation::onCmdLoad | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Load-button.
Definition at line 1175 of file GNESelectorFrame.cpp.
References gCurrentFolder, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObjectStorage::getObjectBlocking(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, ICON_EMPTY, GNEAttributeCarrier::TagProperties::isDemandElement(), GNEAttributeCarrier::TagProperties::isSelectable(), and WRITE_ERROR.
Referenced by FXDEFMAP().
long GNESelectorFrame::SelectionOperation::onCmdSave | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user presses the Save-button.
Definition at line 1229 of file GNESelectorFrame.cpp.
References OutputDevice::close(), gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), StringBijection< T >::getString(), GUIGlObject::getType(), ICON_EMPTY, GUIGlObject::TypeNames, and WRITE_DEBUG.
Referenced by FXDEFMAP().
|
private |
pointer to Selector Frame Parent
Definition at line 375 of file GNESelectorFrame.h.