![]() |
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 261 of file GNEViewNetHelper.h.
GNEViewNetHelper::KeyPressed::KeyPressed | ( | ) |
constructor
Definition at line 364 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
bool GNEViewNetHelper::KeyPressed::controlKeyPressed | ( | ) | const |
check if CONTROL key was pressed during click
Definition at line 386 of file GNEViewNetHelper.cpp.
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 376 of file GNEViewNetHelper.cpp.
Referenced by GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEViewNet::processMoveMouseNetwork(), and GNEInspectorFrame::processNetworkSupermodeClick().
void GNEViewNetHelper::KeyPressed::update | ( | void * | eventData | ) |
update status of KeyPressed
Definition at line 370 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
Definition at line 277 of file GNEViewNetHelper.h.