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

struct used to group all variables related to view options in supermode Demand More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::DemandViewOptions:

Public Member Functions

void buildDemandViewOptionsMenuChecks ()
 build menu checks More...
 
 DemandViewOptions (GNEViewNet *viewNet)
 default constructor More...
 
const GNEDemandElementgetLockedPerson () const
 get locked person More...
 
void getVisibleDemandMenuCommands (std::vector< FXMenuCheck * > &commands) const
 get visible demand menu commands More...
 
void hideDemandViewOptionsMenuChecks ()
 hide all options menu checks More...
 
void lockPerson (const GNEDemandElement *person)
 lock person More...
 
bool showAllPersonPlans () const
 check all person plans has to be show More...
 
bool showNonInspectedDemandElements (const GNEDemandElement *demandElement) const
 check if non inspected element has to be hidden More...
 
bool showShapes () const
 check if shapes has to be hide More...
 
void unlockPerson ()
 unlock person More...
 

Data Fields

FXMenuCheck * menuCheckHideNonInspectedDemandElements
 Hide non inspected demand elements. More...
 
FXMenuCheck * menuCheckHideShapes
 Hide shapes (Polygons and POIs) More...
 
FXMenuCheck * menuCheckLockPerson
 Lock Person. More...
 
FXMenuCheck * menuCheckShowAllPersonPlans
 show all person plans More...
 

Private Member Functions

 DemandViewOptions (const DemandViewOptions &)=delete
 Invalidated copy constructor. More...
 
DemandViewOptionsoperator= (const DemandViewOptions &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

const GNEDemandElementmyLockedPerson
 pointer to locked person More...
 
GNEViewNetmyViewNet
 pointer to viewNet More...
 

Detailed Description

struct used to group all variables related to view options in supermode Demand

Definition at line 434 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DemandViewOptions() [1/2]

GNEViewNetHelper::DemandViewOptions::DemandViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 1664 of file GNEViewNetHelper.cpp.

◆ DemandViewOptions() [2/2]

GNEViewNetHelper::DemandViewOptions::DemandViewOptions ( const DemandViewOptions )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildDemandViewOptionsMenuChecks()

void GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks ( )

◆ getLockedPerson()

const GNEDemandElement * GNEViewNetHelper::DemandViewOptions::getLockedPerson ( ) const

get locked person

Definition at line 1810 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::doPaintGL(), GNEStop::drawGL(), and GNEEdge::drawPartialPersonPlan().

◆ getVisibleDemandMenuCommands()

void GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands ( std::vector< FXMenuCheck * > &  commands) const

get visible demand menu commands

Definition at line 1722 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToogleEditOptions().

◆ hideDemandViewOptionsMenuChecks()

void GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 1711 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

◆ lockPerson()

void GNEViewNetHelper::DemandViewOptions::lockPerson ( const GNEDemandElement person)

lock person

Definition at line 1798 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToogleLockPerson().

◆ operator=()

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

Invalidated assignment operator.

◆ showAllPersonPlans()

bool GNEViewNetHelper::DemandViewOptions::showAllPersonPlans ( ) const

check all person plans has to be show

Definition at line 1788 of file GNEViewNetHelper.cpp.

Referenced by GNEStop::drawGL(), and GNEEdge::drawPartialPersonPlan().

◆ showNonInspectedDemandElements()

bool GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements ( const GNEDemandElement demandElement) const

◆ showShapes()

bool GNEViewNetHelper::DemandViewOptions::showShapes ( ) const

check if shapes has to be hide

Definition at line 1778 of file GNEViewNetHelper.cpp.

Referenced by GNEPoly::drawGL(), and GNEPOI::drawGL().

◆ unlockPerson()

void GNEViewNetHelper::DemandViewOptions::unlockPerson ( )

unlock person

Definition at line 1804 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToogleLockPerson().

Field Documentation

◆ menuCheckHideNonInspectedDemandElements

FXMenuCheck* GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements

◆ menuCheckHideShapes

FXMenuCheck* GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes

◆ menuCheckLockPerson

FXMenuCheck* GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson

◆ menuCheckShowAllPersonPlans

FXMenuCheck* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans

◆ myLockedPerson

const GNEDemandElement* GNEViewNetHelper::DemandViewOptions::myLockedPerson
private

pointer to locked person

Definition at line 483 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DemandViewOptions::myViewNet
private

pointer to viewNet

Definition at line 480 of file GNEViewNetHelper.h.


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