![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEInspectorFrame.h>


Public Member Functions | |
| AttrConnection (FXComposite *parent, GNEInspectorFrame *inspectorFrameParent) | |
| FOX-declaration. More... | |
| void | hideAttrConnection () |
| show attribute More... | |
| long | onCmdInspectConnection (FXObject *, FXSelector, void *) |
| inspect connection More... | |
| long | onCmdSetShowConnection (FXObject *, FXSelector, void *) |
| set show connection attribute More... | |
| void | showConnections (GNEConnection *connection) |
| show attribute More... | |
| ~AttrConnection () | |
| destructor More... | |
Protected Member Functions | |
| AttrConnection () | |
| FOX needs this. More... | |
Private Member Functions | |
| void | hide () |
| set hide as private function More... | |
| void | show () |
| set show as private function More... | |
Private Attributes | |
| GNEConnection * | myConnection |
| pointer to current connection More... | |
| FXLabel * | myConnectionInfoLabel |
| Label for show information of connection. More... | |
| FXButton * | myInspectConnection |
| FXCheckBox to hide/show connection individually. More... | |
| GNEInspectorFrame * | myInspectorFrameParent |
| pointer to inspectorFrame Parent More... | |
| FXCheckButton * | myShowConnection |
| FXCheckBox to hide/show connection individually. More... | |
Definition at line 181 of file GNEInspectorFrame.h.
| GNEInspectorFrame::AttrConnection::AttrConnection | ( | FXComposite * | parent, |
| GNEInspectorFrame * | inspectorFrameParent | ||
| ) |
FOX-declaration.
constructor
Definition at line 712 of file GNEInspectorFrame.cpp.
References MID_GNE_INSPECT_CONNECTION, MID_GNE_SHOW_CONNECTION, myConnectionInfoLabel, myInspectConnection, and myShowConnection.
| GNEInspectorFrame::AttrConnection::~AttrConnection | ( | ) |
destructor
Definition at line 725 of file GNEInspectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 206 of file GNEInspectorFrame.h.
|
private |
set hide as private function
Definition at line 789 of file GNEInspectorFrame.cpp.
Referenced by hideAttrConnection().
| void GNEInspectorFrame::AttrConnection::hideAttrConnection | ( | ) |
show attribute
Definition at line 749 of file GNEInspectorFrame.cpp.
References hide(), myConnectionInfoLabel, and myShowConnection.
| long GNEInspectorFrame::AttrConnection::onCmdInspectConnection | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
inspect connection
Definition at line 771 of file GNEInspectorFrame.cpp.
References GNEConnection::getEdgeFrom(), GNEConnection::getLaneFrom(), GNEFrame::getViewNet(), GNEInspectorFrame::inspect(), myConnection, myInspectorFrameParent, and GNEViewNet::selectEdges().
| long GNEInspectorFrame::AttrConnection::onCmdSetShowConnection | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
set show connection attribute
Definition at line 758 of file GNEInspectorFrame.cpp.
References GNEFrame::getViewNet(), myConnection, myInspectorFrameParent, myShowConnection, and GNEConnection::setDrawConnection().
|
private |
set show as private function
Definition at line 783 of file GNEInspectorFrame.cpp.
Referenced by showConnections().
| void GNEInspectorFrame::AttrConnection::showConnections | ( | GNEConnection * | connection | ) |
show attribute
Definition at line 729 of file GNEInspectorFrame.cpp.
References GNEConnection::getDrawConnection(), GNEConnection::getEdgeFrom(), NBEdge::getLaneID(), GNEEdge::getNBEdge(), GNEConnection::getNBEdgeConnection(), myConnection, myConnectionInfoLabel, myShowConnection, show(), NBEdge::Connection::toEdge, and NBEdge::Connection::toLane.
|
private |
pointer to current connection
Definition at line 213 of file GNEInspectorFrame.h.
Referenced by onCmdInspectConnection(), onCmdSetShowConnection(), and showConnections().
|
private |
Label for show information of connection.
Definition at line 216 of file GNEInspectorFrame.h.
Referenced by AttrConnection(), hideAttrConnection(), and showConnections().
|
private |
FXCheckBox to hide/show connection individually.
Definition at line 222 of file GNEInspectorFrame.h.
Referenced by AttrConnection().
|
private |
pointer to inspectorFrame Parent
Definition at line 210 of file GNEInspectorFrame.h.
Referenced by onCmdInspectConnection(), and onCmdSetShowConnection().
|
private |
FXCheckBox to hide/show connection individually.
Definition at line 219 of file GNEInspectorFrame.h.
Referenced by AttrConnection(), hideAttrConnection(), onCmdSetShowConnection(), and showConnections().