Eclipse SUMO - Simulation of Urban MObility
GNESelectorFrame::LockGLObjectTypes Class Reference

#include <GNESelectorFrame.h>

Inheritance diagram for GNESelectorFrame::LockGLObjectTypes:
[legend]
Collaboration diagram for GNESelectorFrame::LockGLObjectTypes:
[legend]

Data Structures

class  ObjectTypeEntry
 class for object types entries More...
 

Public Member Functions

void addedLockedObject (const GUIGlObjectType type)
 set object selected More...
 
bool IsObjectTypeLocked (const GUIGlObjectType type) const
 check if an object is locked More...
 
 LockGLObjectTypes (GNESelectorFrame *selectorFrameParent)
 constructor More...
 
void removeLockedObject (const GUIGlObjectType type)
 set object unselected More...
 
void showTypeEntries ()
 show type Entries (depending if we're in Network or demand supermode) More...
 
 ~LockGLObjectTypes ()
 destructor More...
 

Private Attributes

GNESelectorFramemySelectorFrameParent
 pointer to Selector Frame Parent More...
 
std::map< GUIGlObjectType, ObjectTypeEntry * > myTypeEntries
 check boxes for type-based selection locking and selected object counts More...
 

Detailed Description

Definition at line 41 of file GNESelectorFrame.h.

Constructor & Destructor Documentation

◆ LockGLObjectTypes()

◆ ~LockGLObjectTypes()

GNESelectorFrame::LockGLObjectTypes::~LockGLObjectTypes ( )

destructor

Definition at line 130 of file GNESelectorFrame.cpp.

References myTypeEntries.

Member Function Documentation

◆ addedLockedObject()

void GNESelectorFrame::LockGLObjectTypes::addedLockedObject ( const GUIGlObjectType  type)

set object selected

Definition at line 139 of file GNESelectorFrame.cpp.

References GLO_ADDITIONALELEMENT.

Referenced by GNEAttributeCarrier::selectAttributeCarrier().

Here is the caller graph for this function:

◆ IsObjectTypeLocked()

bool GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked ( const GUIGlObjectType  type) const

◆ removeLockedObject()

void GNESelectorFrame::LockGLObjectTypes::removeLockedObject ( const GUIGlObjectType  type)

set object unselected

Definition at line 149 of file GNESelectorFrame.cpp.

References GLO_ADDITIONALELEMENT.

Referenced by GNEAttributeCarrier::unselectAttributeCarrier().

Here is the caller graph for this function:

◆ showTypeEntries()

void GNESelectorFrame::LockGLObjectTypes::showTypeEntries ( )

show type Entries (depending if we're in Network or demand supermode)

Definition at line 169 of file GNESelectorFrame.cpp.

References DATA, DEMAND, and NETWORK.

Referenced by GNESelectorFrame::show().

Here is the caller graph for this function:

Field Documentation

◆ mySelectorFrameParent

GNESelectorFrame* GNESelectorFrame::LockGLObjectTypes::mySelectorFrameParent
private

pointer to Selector Frame Parent

Definition at line 124 of file GNESelectorFrame.h.

◆ myTypeEntries

std::map<GUIGlObjectType, ObjectTypeEntry*> GNESelectorFrame::LockGLObjectTypes::myTypeEntries
private

check boxes for type-based selection locking and selected object counts

Definition at line 127 of file GNESelectorFrame.h.

Referenced by ~LockGLObjectTypes().


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