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 425 of file GNEFrameModuls.h.

Constructor & Destructor Documentation

◆ OverlappedInspection() [1/3]

GNEFrameModuls::OverlappedInspection::OverlappedInspection ( GNEFrame frameParent)

FOX-declaration.

constructor

Definition at line 1715 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 1725 of file GNEFrameModuls.cpp.

References buildFXElements().

◆ ~OverlappedInspection()

GNEFrameModuls::OverlappedInspection::~OverlappedInspection ( )

destructor

Definition at line 1735 of file GNEFrameModuls.cpp.

◆ OverlappedInspection() [3/3]

GNEFrameModuls::OverlappedInspection::OverlappedInspection ( )
protected

FOX needs this.

Definition at line 1944 of file GNEFrameModuls.cpp.

Member Function Documentation

◆ buildFXElements()

void GNEFrameModuls::OverlappedInspection::buildFXElements ( )
protected

◆ checkSavedPosition()

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

check if given position is near to saved position

Definition at line 1799 of file GNEFrameModuls.cpp.

Referenced by GNEViewNet::openObjectDialog().

Here is the caller graph for this function:

◆ getNumberOfOverlappedACs()

int GNEFrameModuls::OverlappedInspection::getNumberOfOverlappedACs ( ) const

get number of overlapped ACSs

Definition at line 1793 of file GNEFrameModuls.cpp.

Referenced by GNETLSEditorFrame::editTLS().

Here is the caller graph for this function:

◆ hideOverlappedInspection()

void GNEFrameModuls::OverlappedInspection::hideOverlappedInspection ( )

hide template editor

Definition at line 1780 of file GNEFrameModuls.cpp.

Referenced by GNETLSEditorFrame::editTLS(), GNEInspectorFrame::inspectClickedElement(), GNEInspectorFrame::inspectMultisection(), and GNETLSEditorFrame::show().

Here is the caller graph for this function:

◆ 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 1805 of file GNEFrameModuls.cpp.

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

Here is the caller graph for this function:

◆ onCmdListItemSelected()

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

called when a list item is selected

Definition at line 1908 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdNextElement()

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

Inspect next Element (from top to bot)

Definition at line 1867 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOverlappingHelp()

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

Called when user press the help button.

Definition at line 1926 of file GNEFrameModuls.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdPreviousElement()

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

Inspect previous element (from top to bot)

Definition at line 1841 of file GNEFrameModuls.cpp.

References toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowList()

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

show list of overlapped elements

Definition at line 1889 of file GNEFrameModuls.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ overlappedInspectionShown()

bool GNEFrameModuls::OverlappedInspection::overlappedInspectionShown ( ) const

check if overlappedInspection modul is shown

Definition at line 1787 of file GNEFrameModuls.cpp.

Referenced by GNEViewNet::openObjectDialog().

Here is the caller graph for this function:

◆ 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 1823 of file GNEFrameModuls.cpp.

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

Here is the caller graph for this function:

◆ showOverlappedInspection()

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

show template editor

Definition at line 1739 of file GNEFrameModuls.cpp.

References GNEViewNetHelper::ObjectsUnderCursor::getClickedAttributeCarriers(), SUMO_TAG_NOTHING, and toString().

Referenced by GNETLSEditorFrame::editTLS(), and GNEInspectorFrame::inspectClickedElement().

Here is the caller graph for this function:

Field Documentation

◆ myCurrentIndexButton

FXButton* GNEFrameModuls::OverlappedInspection::myCurrentIndexButton
private

Button for current index.

Definition at line 494 of file GNEFrameModuls.h.

◆ myFilteredTag

const SumoXMLTag GNEFrameModuls::OverlappedInspection::myFilteredTag
private

filtered tag

Definition at line 506 of file GNEFrameModuls.h.

◆ myFrameParent

GNEFrame* GNEFrameModuls::OverlappedInspection::myFrameParent
private

current frame parent

Definition at line 488 of file GNEFrameModuls.h.

◆ myHelpButton

FXButton* GNEFrameModuls::OverlappedInspection::myHelpButton
private

button for help

Definition at line 503 of file GNEFrameModuls.h.

◆ myItemIndex

size_t GNEFrameModuls::OverlappedInspection::myItemIndex
private

current index item

Definition at line 512 of file GNEFrameModuls.h.

◆ myNextElement

FXButton* GNEFrameModuls::OverlappedInspection::myNextElement
private

Next element button.

Definition at line 497 of file GNEFrameModuls.h.

◆ myOverlappedACs

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

objects under cursor

Definition at line 509 of file GNEFrameModuls.h.

◆ myOverlappedElementList

FXList* GNEFrameModuls::OverlappedInspection::myOverlappedElementList
private

list of overlapped elements

Definition at line 500 of file GNEFrameModuls.h.

◆ myPreviousElement

FXButton* GNEFrameModuls::OverlappedInspection::myPreviousElement
private

Previous element button.

Definition at line 491 of file GNEFrameModuls.h.

◆ mySavedClickedPosition

Position GNEFrameModuls::OverlappedInspection::mySavedClickedPosition
private

saved clicked position

Definition at line 515 of file GNEFrameModuls.h.


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