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

FOX-declaration. More...

#include <GNEInspectorFrame.h>

Inheritance diagram for GNEInspectorFrame::OverlappedInspection:
Collaboration diagram for GNEInspectorFrame::OverlappedInspection:

Public Member Functions

bool checkSavedPosition (const Position &clickedPosition) const
 check if given position is near to saved position 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 (GNEInspectorFrame *inspectorFrameParent)
 FOX-declaration. 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

 OverlappedInspection ()
 FOX needs this. More...
 

Private Member Functions

void inspectOverlappedAttributeCarrier ()
 inspect attributeCarrier correspond to current index More...
 

Private Attributes

FXButton * myCurrentIndexButton
 Button for current index. More...
 
FXButton * myHelpButton
 button for help More...
 
GNEInspectorFramemyInspectorFrameParent
 current GNEInspectorFrame parent 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

FOX-declaration.

Definition at line 43 of file GNEInspectorFrame.h.

Constructor & Destructor Documentation

◆ OverlappedInspection() [1/2]

◆ ~OverlappedInspection()

GNEInspectorFrame::OverlappedInspection::~OverlappedInspection ( )

destructor

Definition at line 431 of file GNEInspectorFrame.cpp.

◆ OverlappedInspection() [2/2]

GNEInspectorFrame::OverlappedInspection::OverlappedInspection ( )
inlineprotected

FOX needs this.

Definition at line 93 of file GNEInspectorFrame.h.

Member Function Documentation

◆ checkSavedPosition()

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

check if given position is near to saved position

Definition at line 470 of file GNEInspectorFrame.cpp.

Referenced by GNEViewNet::openObjectDialog().

◆ hideOverlappedInspection()

void GNEInspectorFrame::OverlappedInspection::hideOverlappedInspection ( )

◆ inspectOverlappedAttributeCarrier()

void GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier ( )
private

inspect attributeCarrier correspond to current index

Definition at line 591 of file GNEInspectorFrame.cpp.

References GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEInspectorFrame::show(), SUMO_TAG_LANE, and toString().

◆ nextElement()

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

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

Definition at line 476 of file GNEInspectorFrame.cpp.

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

◆ onCmdListItemSelected()

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

called when a list item is selected

Definition at line 558 of file GNEInspectorFrame.cpp.

◆ onCmdNextElement()

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

Inspect next Element (from top to bot)

Definition at line 530 of file GNEInspectorFrame.cpp.

◆ onCmdOverlappingHelp()

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

Called when user press the help button.

Definition at line 572 of file GNEInspectorFrame.cpp.

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

◆ onCmdPreviousElement()

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

Inspect previous element (from top to bot)

Definition at line 512 of file GNEInspectorFrame.cpp.

◆ onCmdShowList()

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

show list of overlapped elements

Definition at line 544 of file GNEInspectorFrame.cpp.

◆ overlappedInspectionShown()

bool GNEInspectorFrame::OverlappedInspection::overlappedInspectionShown ( ) const

check if overlappedInspection modul is shown

Definition at line 464 of file GNEInspectorFrame.cpp.

Referenced by GNEViewNet::openObjectDialog().

◆ previousElement()

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

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

Definition at line 494 of file GNEInspectorFrame.cpp.

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

◆ showOverlappedInspection()

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

Field Documentation

◆ myCurrentIndexButton

FXButton* GNEInspectorFrame::OverlappedInspection::myCurrentIndexButton
private

Button for current index.

Definition at line 103 of file GNEInspectorFrame.h.

Referenced by OverlappedInspection().

◆ myHelpButton

FXButton* GNEInspectorFrame::OverlappedInspection::myHelpButton
private

button for help

Definition at line 112 of file GNEInspectorFrame.h.

Referenced by OverlappedInspection().

◆ myInspectorFrameParent

GNEInspectorFrame* GNEInspectorFrame::OverlappedInspection::myInspectorFrameParent
private

current GNEInspectorFrame parent

Definition at line 97 of file GNEInspectorFrame.h.

◆ myItemIndex

size_t GNEInspectorFrame::OverlappedInspection::myItemIndex
private

current index item

Definition at line 118 of file GNEInspectorFrame.h.

◆ myNextElement

FXButton* GNEInspectorFrame::OverlappedInspection::myNextElement
private

Next element button.

Definition at line 106 of file GNEInspectorFrame.h.

Referenced by OverlappedInspection().

◆ myOverlappedACs

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

objects under cursor

Definition at line 115 of file GNEInspectorFrame.h.

◆ myOverlappedElementList

FXList* GNEInspectorFrame::OverlappedInspection::myOverlappedElementList
private

list of overlapped elements

Definition at line 109 of file GNEInspectorFrame.h.

Referenced by OverlappedInspection().

◆ myPreviousElement

FXButton* GNEInspectorFrame::OverlappedInspection::myPreviousElement
private

Previous element button.

Definition at line 100 of file GNEInspectorFrame.h.

Referenced by OverlappedInspection().

◆ mySavedClickedPosition

Position GNEInspectorFrame::OverlappedInspection::mySavedClickedPosition
private

saved clicked position

Definition at line 121 of file GNEInspectorFrame.h.


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