Eclipse SUMO - Simulation of Urban MObility
GNEFrameModuls::OverlappedInspection Class Reference

#include <GNEFrameModuls.h>

Inheritance diagram for GNEFrameModuls::OverlappedInspection:
Collaboration diagram for GNEFrameModuls::OverlappedInspection:

Public Member Functions

bool checkSavedPosition (const Position &clickedPosition) const
 check if given position is near to saved position More...
 
int getNumberOfOverlappedACs () const
 get number of overlapped ACSs More...
 
void hideOverlappedInspection ()
 hide template editor More...
 
bool nextElement (const Position &clickedPosition)
 try to go to next element if clicked position is near to saved position More...
 
 OverlappedInspection (GNEFrame *frameParent)
 FOX-declaration. More...
 
 OverlappedInspection (GNEFrame *frameParent, const SumoXMLTag filteredTag)
 constructor (used for filter objects under cusor More...
 
bool overlappedInspectionShown () const
 check if overlappedInspection modul is shown More...
 
bool previousElement (const Position &clickedPosition)
 try to go to previous element if clicked position is near to saved position More...
 
void showOverlappedInspection (const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
 show template editor More...
 
 ~OverlappedInspection ()
 destructor More...
 
FOX-callbacks
long onCmdNextElement (FXObject *, FXSelector, void *)
 Inspect next Element (from top to bot) More...
 
long onCmdPreviousElement (FXObject *, FXSelector, void *)
 Inspect previous element (from top to bot) More...
 
long onCmdShowList (FXObject *, FXSelector, void *)
 show list of overlapped elements More...
 
long onCmdListItemSelected (FXObject *, FXSelector, void *)
 called when a list item is selected More...
 
long onCmdOverlappingHelp (FXObject *, FXSelector, void *)
 Called when user press the help button. More...
 

Protected Member Functions

void buildFXElements ()
 build Fox Toolkit elemements More...
 
 OverlappedInspection ()
 FOX needs this. More...
 

Private Attributes

FXButton * myCurrentIndexButton
 Button for current index. More...
 
const SumoXMLTag myFilteredTag
 filtered tag More...
 
GNEFramemyFrameParent
 current frame parent More...
 
FXButton * myHelpButton
 button for help More...
 
size_t myItemIndex
 current index item More...
 
FXButton * myNextElement
 Next element button. More...
 
std::vector< GNEAttributeCarrier * > myOverlappedACs
 objects under cursor More...
 
FXList * myOverlappedElementList
 list of overlapped elements More...
 
FXButton * myPreviousElement
 Previous element button. More...
 
Position mySavedClickedPosition
 saved clicked position More...
 

Detailed Description

Definition at line 520 of file GNEFrameModuls.h.

Constructor & Destructor Documentation

◆ OverlappedInspection() [1/3]

GNEFrameModuls::OverlappedInspection::OverlappedInspection ( GNEFrame frameParent)

FOX-declaration.

constructor

Definition at line 1802 of file GNEFrameModuls.cpp.

References buildFXElements().

◆ OverlappedInspection() [2/3]

GNEFrameModuls::OverlappedInspection::OverlappedInspection ( GNEFrame frameParent,
const SumoXMLTag  filteredTag 
)

constructor (used for filter objects under cusor

Definition at line 1812 of file GNEFrameModuls.cpp.

References buildFXElements().

◆ ~OverlappedInspection()

GNEFrameModuls::OverlappedInspection::~OverlappedInspection ( )

destructor

Definition at line 1822 of file GNEFrameModuls.cpp.

◆ OverlappedInspection() [3/3]

GNEFrameModuls::OverlappedInspection::OverlappedInspection ( )
protected

FOX needs this.

Definition at line 2019 of file GNEFrameModuls.cpp.

Member Function Documentation

◆ buildFXElements()

◆ checkSavedPosition()

bool GNEFrameModuls::OverlappedInspection::checkSavedPosition ( const Position clickedPosition) const

check if given position is near to saved position

Definition at line 1879 of file GNEFrameModuls.cpp.

Referenced by GNEViewNet::openObjectDialog().

◆ getNumberOfOverlappedACs()

int GNEFrameModuls::OverlappedInspection::getNumberOfOverlappedACs ( ) const

get number of overlapped ACSs

Definition at line 1873 of file GNEFrameModuls.cpp.

Referenced by GNETLSEditorFrame::editTLS().

◆ hideOverlappedInspection()

void GNEFrameModuls::OverlappedInspection::hideOverlappedInspection ( )

◆ nextElement()

bool GNEFrameModuls::OverlappedInspection::nextElement ( const Position clickedPosition)

try to go to next element if clicked position is near to saved position

Definition at line 1885 of file GNEFrameModuls.cpp.

Referenced by GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().

◆ onCmdListItemSelected()

long GNEFrameModuls::OverlappedInspection::onCmdListItemSelected ( FXObject *  ,
FXSelector  ,
void *   
)

called when a list item is selected

Definition at line 1983 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

◆ onCmdNextElement()

long GNEFrameModuls::OverlappedInspection::onCmdNextElement ( FXObject *  ,
FXSelector  ,
void *   
)

Inspect next Element (from top to bot)

Definition at line 1947 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

◆ onCmdOverlappingHelp()

long GNEFrameModuls::OverlappedInspection::onCmdOverlappingHelp ( FXObject *  ,
FXSelector  ,
void *   
)

Called when user press the help button.

Definition at line 2001 of file GNEFrameModuls.cpp.

References GUIIconSubSys::getIcon(), GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignLabelFrameInformation, and ICON_ACCEPT.

Referenced by FXDEFMAP().

◆ onCmdPreviousElement()

long GNEFrameModuls::OverlappedInspection::onCmdPreviousElement ( FXObject *  ,
FXSelector  ,
void *   
)

Inspect previous element (from top to bot)

Definition at line 1921 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

◆ onCmdShowList()

long GNEFrameModuls::OverlappedInspection::onCmdShowList ( FXObject *  ,
FXSelector  ,
void *   
)

show list of overlapped elements

Definition at line 1969 of file GNEFrameModuls.cpp.

Referenced by FXDEFMAP().

◆ overlappedInspectionShown()

bool GNEFrameModuls::OverlappedInspection::overlappedInspectionShown ( ) const

check if overlappedInspection modul is shown

Definition at line 1867 of file GNEFrameModuls.cpp.

Referenced by GNEViewNet::openObjectDialog().

◆ previousElement()

bool GNEFrameModuls::OverlappedInspection::previousElement ( const Position clickedPosition)

try to go to previous element if clicked position is near to saved position

Definition at line 1903 of file GNEFrameModuls.cpp.

Referenced by GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().

◆ showOverlappedInspection()

void GNEFrameModuls::OverlappedInspection::showOverlappedInspection ( const GNEViewNetHelper::ObjectsUnderCursor objectsUnderCursor,
const Position clickedPosition 
)

Field Documentation

◆ myCurrentIndexButton

FXButton* GNEFrameModuls::OverlappedInspection::myCurrentIndexButton
private

Button for current index.

Definition at line 589 of file GNEFrameModuls.h.

◆ myFilteredTag

const SumoXMLTag GNEFrameModuls::OverlappedInspection::myFilteredTag
private

filtered tag

Definition at line 601 of file GNEFrameModuls.h.

◆ myFrameParent

GNEFrame* GNEFrameModuls::OverlappedInspection::myFrameParent
private

current frame parent

Definition at line 583 of file GNEFrameModuls.h.

◆ myHelpButton

FXButton* GNEFrameModuls::OverlappedInspection::myHelpButton
private

button for help

Definition at line 598 of file GNEFrameModuls.h.

◆ myItemIndex

size_t GNEFrameModuls::OverlappedInspection::myItemIndex
private

current index item

Definition at line 607 of file GNEFrameModuls.h.

◆ myNextElement

FXButton* GNEFrameModuls::OverlappedInspection::myNextElement
private

Next element button.

Definition at line 592 of file GNEFrameModuls.h.

◆ myOverlappedACs

std::vector<GNEAttributeCarrier*> GNEFrameModuls::OverlappedInspection::myOverlappedACs
private

objects under cursor

Definition at line 604 of file GNEFrameModuls.h.

◆ myOverlappedElementList

FXList* GNEFrameModuls::OverlappedInspection::myOverlappedElementList
private

list of overlapped elements

Definition at line 595 of file GNEFrameModuls.h.

◆ myPreviousElement

FXButton* GNEFrameModuls::OverlappedInspection::myPreviousElement
private

Previous element button.

Definition at line 586 of file GNEFrameModuls.h.

◆ mySavedClickedPosition

Position GNEFrameModuls::OverlappedInspection::mySavedClickedPosition
private

saved clicked position

Definition at line 610 of file GNEFrameModuls.h.


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