Eclipse SUMO - Simulation of Urban MObility
|
class used to group all variables related with mouse buttons and key pressed after certain events More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
bool | altKeyPressed () const |
check if ALT is pressed during current event More... | |
bool | controlKeyPressed () const |
check if CONTROL is pressed during current event More... | |
MouseButtonKeyPressed () | |
constructor More... | |
bool | mouseLeftButtonPressed () const |
check if mouse left button is pressed during current event More... | |
bool | mouseRightButtonPressed () const |
check if mouse right button is pressed during current event More... | |
bool | shiftKeyPressed () const |
check if SHIFT is pressed during current event More... | |
void | update (void *eventData) |
update status of MouseButtonKeyPressed during current event More... | |
Private Member Functions | |
MouseButtonKeyPressed (const MouseButtonKeyPressed &)=delete | |
Invalidated copy constructor. More... | |
MouseButtonKeyPressed & | operator= (const MouseButtonKeyPressed &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
FXEvent * | myEventInfo |
information of event (must be updated) More... | |
class used to group all variables related with mouse buttons and key pressed after certain events
Definition at line 433 of file GNEViewNetHelper.h.
GNEViewNetHelper::MouseButtonKeyPressed::MouseButtonKeyPressed | ( | ) |
constructor
Definition at line 1020 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
bool GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed | ( | ) | const |
check if ALT is pressed during current event
Definition at line 1052 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEInspectorFrame::inspectSingleElement(), GNEViewNet::openObjectDialogAtCursor(), and GNEViewNet::processLeftButtonPressNetwork().
bool GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed | ( | ) | const |
check if CONTROL is pressed during current event
Definition at line 1042 of file GNEViewNetHelper.cpp.
Referenced by GNEEdgeRelDataFrame::addEdgeRelationData(), GNERouteFrame::addEdgeRoute(), GNEVehicleFrame::addVehicle(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), and GNEViewNet::updateCursor().
bool GNEViewNetHelper::MouseButtonKeyPressed::mouseLeftButtonPressed | ( | ) | const |
check if mouse left button is pressed during current event
Definition at line 1062 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onMouseMove().
bool GNEViewNetHelper::MouseButtonKeyPressed::mouseRightButtonPressed | ( | ) | const |
check if mouse right button is pressed during current event
Definition at line 1072 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated assignment operator.
bool GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed | ( | ) | const |
check if SHIFT is pressed during current event
Definition at line 1032 of file GNEViewNetHelper.cpp.
Referenced by GNEEdgeRelDataFrame::addEdgeRelationData(), GNERouteFrame::addEdgeRoute(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNet::checkSelectEdges(), GNEStop::drawGeometryPoints(), GNEAdditional::drawMovingGeometryPoints(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEParkingSpace::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEViewNet::processMoveMouseNetwork(), and GNEInspectorFrame::processNetworkSupermodeClick().
void GNEViewNetHelper::MouseButtonKeyPressed::update | ( | void * | eventData | ) |
update status of MouseButtonKeyPressed during current event
Definition at line 1026 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::onMouseMove(), GNEViewNet::onRightBtnPress(), and GNEViewNet::onRightBtnRelease().
|
private |
information of event (must be updated)
Definition at line 458 of file GNEViewNetHelper.h.