![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used to group all variables related with key pressed after certain events More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
bool | controlKeyPressed () const |
check if CONTROL key was pressed during click More... | |
KeyPressed () | |
constructor More... | |
bool | shiftKeyPressed () const |
check if SHIFT key was pressed during click More... | |
void | update (void *eventData) |
update status of KeyPressed More... | |
Private Member Functions | |
KeyPressed (const KeyPressed &)=delete | |
Invalidated copy constructor. More... | |
KeyPressed & | operator= (const KeyPressed &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
FXEvent * | myEventInfo |
information of event More... | |
class used to group all variables related with key pressed after certain events
Definition at line 265 of file GNEViewNetHelper.h.
GNEViewNetHelper::KeyPressed::KeyPressed | ( | ) |
constructor
Definition at line 375 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
bool GNEViewNetHelper::KeyPressed::controlKeyPressed | ( | ) | const |
check if CONTROL key was pressed during click
Definition at line 397 of file GNEViewNetHelper.cpp.
References myEventInfo.
Referenced by GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), and GNEViewNet::updateCursor().
|
privatedelete |
Invalidated assignment operator.
bool GNEViewNetHelper::KeyPressed::shiftKeyPressed | ( | ) | const |
check if SHIFT key was pressed during click
Definition at line 387 of file GNEViewNetHelper.cpp.
References myEventInfo.
Referenced by GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues(), GNEViewNetHelper::MoveSingleElementValues::calculatePolyValues(), GNEViewNetHelper::MoveSingleElementValues::calculateTAZValues(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEViewNet::processMoveMouseNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), and GNEViewNetHelper::SelectingArea::processRectangleSelection().
void GNEViewNetHelper::KeyPressed::update | ( | void * | eventData | ) |
update status of KeyPressed
Definition at line 381 of file GNEViewNetHelper.cpp.
References myEventInfo.
Referenced by GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::onMouseMove(), GNEViewNet::onRightBtnPress(), and GNEViewNet::onRightBtnRelease().
|
private |
information of event
Definition at line 281 of file GNEViewNetHelper.h.
Referenced by controlKeyPressed(), shiftKeyPressed(), and update().