Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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:
[legend]

Public Member Functions

void buildDemandViewOptionsMenuChecks ()
 build menu checks
 DemandViewOptions (GNEViewNet *viewNet)
 default constructor
bool drawSpreadVehicles () const
 check if vehicles must be drawn spread
const GNEDemandElementgetLockedContainer () const
 get locked container
const GNEDemandElementgetLockedPerson () const
 get locked person
void getVisibleDemandMenuCommands (std::vector< MFXCheckableButton * > &commands) const
 get visible demand menu commands
void hideDemandViewOptionsMenuChecks ()
 hide all options menu checks
void lockContainer (const GNEDemandElement *container)
 lock container
void lockPerson (const GNEDemandElement *person)
 lock person
bool showAllContainerPlans () const
 check all container plans has to be show
bool showAllPersonPlans () const
 check all person plans has to be show
bool showAllTrips () const
 check if trips has to be drawn
bool showNonInspectedDemandElements (const GNEDemandElement *demandElement) const
 check if non inspected element has to be hidden
bool showOverlappedRoutes () const
 show overlapped routes
bool showShapes () const
 check if shapes has to be drawn
void unlockContainer ()
 unlock container
void unlockPerson ()
 unlock person

Data Fields

MFXCheckableButtonmenuCheckDrawSpreadVehicles = nullptr
 menu check to draw vehicles in begin position or spread in lane
MFXCheckableButtonmenuCheckHideNonInspectedDemandElements = nullptr
 Hide non inspected demand elements.
MFXCheckableButtonmenuCheckHideShapes = nullptr
 Hide shapes (Polygons and POIs).
MFXCheckableButtonmenuCheckLockContainer = nullptr
 Lock Container.
MFXCheckableButtonmenuCheckLockPerson = nullptr
 Lock Person.
MFXCheckableButtonmenuCheckShowAllContainerPlans = nullptr
 show all container plans
MFXCheckableButtonmenuCheckShowAllPersonPlans = nullptr
 show all person plans
MFXCheckableButtonmenuCheckShowAllTrips = nullptr
 show all trips
MFXCheckableButtonmenuCheckShowOverlappedRoutes = nullptr
 show overlapped routes
MFXCheckableButtonmenuCheckToggleDrawJunctionShape = nullptr
 checkable button to show junction shapes
MFXCheckableButtonmenuCheckToggleGrid = nullptr
 menu check to show grid button

Private Member Functions

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

Private Attributes

const GNEDemandElementmyLockedContainer = nullptr
 pointer to locked container
const GNEDemandElementmyLockedPerson = nullptr
 pointer to locked person
GNEViewNetmyViewNet
 pointer to net

Detailed Description

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

Definition at line 905 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DemandViewOptions() [1/2]

GNEViewNetHelper::DemandViewOptions::DemandViewOptions ( GNEViewNet * viewNet)

default constructor

Definition at line 2980 of file GNEViewNetHelper.cpp.

References myViewNet.

Referenced by DemandViewOptions(), and operator=().

Here is the caller graph for this function:

◆ DemandViewOptions() [2/2]

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

Invalidated copy constructor.

References DemandViewOptions().

Member Function Documentation

◆ buildDemandViewOptionsMenuChecks()

◆ drawSpreadVehicles()

bool GNEViewNetHelper::DemandViewOptions::drawSpreadVehicles ( ) const

check if vehicles must be drawn spread

Definition at line 3130 of file GNEViewNetHelper.cpp.

References menuCheckDrawSpreadVehicles.

◆ getLockedContainer()

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

get locked container

Definition at line 3251 of file GNEViewNetHelper.cpp.

References myLockedContainer.

◆ getLockedPerson()

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

get locked person

Definition at line 3213 of file GNEViewNetHelper.cpp.

References myLockedPerson.

◆ getVisibleDemandMenuCommands()

◆ hideDemandViewOptionsMenuChecks()

◆ lockContainer()

void GNEViewNetHelper::DemandViewOptions::lockContainer ( const GNEDemandElement * container)

lock container

Definition at line 3229 of file GNEViewNetHelper.cpp.

References myLockedContainer.

◆ lockPerson()

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

lock person

Definition at line 3201 of file GNEViewNetHelper.cpp.

References myLockedPerson.

◆ operator=()

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

Invalidated assignment operator.

References DemandViewOptions().

◆ showAllContainerPlans()

bool GNEViewNetHelper::DemandViewOptions::showAllContainerPlans ( ) const

check all container plans has to be show

Definition at line 3219 of file GNEViewNetHelper.cpp.

References menuCheckShowAllContainerPlans.

◆ showAllPersonPlans()

bool GNEViewNetHelper::DemandViewOptions::showAllPersonPlans ( ) const

check all person plans has to be show

Definition at line 3191 of file GNEViewNetHelper.cpp.

References menuCheckShowAllPersonPlans.

◆ showAllTrips()

bool GNEViewNetHelper::DemandViewOptions::showAllTrips ( ) const

check if trips has to be drawn

Definition at line 3185 of file GNEViewNetHelper.cpp.

References menuCheckShowAllTrips.

◆ showNonInspectedDemandElements()

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

◆ showOverlappedRoutes()

bool GNEViewNetHelper::DemandViewOptions::showOverlappedRoutes ( ) const

show overlapped routes

Definition at line 3241 of file GNEViewNetHelper.cpp.

References menuCheckShowOverlappedRoutes.

Referenced by GNEPathManager::drawLanePathElements().

Here is the caller graph for this function:

◆ showShapes()

bool GNEViewNetHelper::DemandViewOptions::showShapes ( ) const

check if shapes has to be drawn

Definition at line 3175 of file GNEViewNetHelper.cpp.

References menuCheckHideShapes.

◆ unlockContainer()

void GNEViewNetHelper::DemandViewOptions::unlockContainer ( )

unlock container

Definition at line 3235 of file GNEViewNetHelper.cpp.

References myLockedContainer.

◆ unlockPerson()

void GNEViewNetHelper::DemandViewOptions::unlockPerson ( )

unlock person

Definition at line 3207 of file GNEViewNetHelper.cpp.

References myLockedPerson.

Field Documentation

◆ menuCheckDrawSpreadVehicles

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles = nullptr

◆ menuCheckHideNonInspectedDemandElements

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements = nullptr

◆ menuCheckHideShapes

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes = nullptr

◆ menuCheckLockContainer

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer = nullptr

◆ menuCheckLockPerson

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson = nullptr

◆ menuCheckShowAllContainerPlans

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans = nullptr

◆ menuCheckShowAllPersonPlans

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans = nullptr

◆ menuCheckShowAllTrips

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips = nullptr

◆ menuCheckShowOverlappedRoutes

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes = nullptr

◆ menuCheckToggleDrawJunctionShape

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape = nullptr

◆ menuCheckToggleGrid

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid = nullptr

◆ myLockedContainer

const GNEDemandElement* GNEViewNetHelper::DemandViewOptions::myLockedContainer = nullptr
private

pointer to locked container

Definition at line 999 of file GNEViewNetHelper.h.

Referenced by getLockedContainer(), lockContainer(), and unlockContainer().

◆ myLockedPerson

const GNEDemandElement* GNEViewNetHelper::DemandViewOptions::myLockedPerson = nullptr
private

pointer to locked person

Definition at line 996 of file GNEViewNetHelper.h.

Referenced by getLockedPerson(), lockPerson(), and unlockPerson().

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DemandViewOptions::myViewNet
private

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