Eclipse SUMO - Simulation of Urban MObility
GNEViewNetHelper::KeyPressed Struct Reference

class used to group all variables related with key pressed after certain events More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::KeyPressed:

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...
 
KeyPressedoperator= (const KeyPressed &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

FXEvent * myEventInfo
 information of event More...
 

Detailed Description

class used to group all variables related with key pressed after certain events

Definition at line 265 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ KeyPressed() [1/2]

GNEViewNetHelper::KeyPressed::KeyPressed ( )

constructor

Definition at line 375 of file GNEViewNetHelper.cpp.

◆ KeyPressed() [2/2]

GNEViewNetHelper::KeyPressed::KeyPressed ( const KeyPressed )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ controlKeyPressed()

◆ operator=()

KeyPressed& GNEViewNetHelper::KeyPressed::operator= ( const KeyPressed )
privatedelete

Invalidated assignment operator.

◆ shiftKeyPressed()

◆ update()

void GNEViewNetHelper::KeyPressed::update ( void *  eventData)

Field Documentation

◆ myEventInfo

FXEvent* GNEViewNetHelper::KeyPressed::myEventInfo
private

information of event

Definition at line 281 of file GNEViewNetHelper.h.

Referenced by controlKeyPressed(), shiftKeyPressed(), and update().


The documentation for this struct was generated from the following files: