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

class for object types entries More...

#include <GNESelectorFrame.h>

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

Public Member Functions

void counterDown ()
 down count More...
 
void counterUp ()
 up count More...
 
Supermode getSupermode () const
 get supermode associated to this ObjectTypeEntry More...
 
void hideObjectTypeEntry ()
 hide ObjectTypeEntry More...
 
bool isGLTypeLocked () const
 check if current GLType is blocked More...
 
 ObjectTypeEntry (FXMatrix *matrixParent, const Supermode supermode, const std::string &label)
 FOX-declaration. More...
 
void showObjectTypeEntry ()
 show ObjectTypeEntry More...
 
FOX-callbacks
long onCmdSetCheckBox (FXObject *, FXSelector, void *)
 called when user change the CheckBox More...
 

Protected Member Functions

 ObjectTypeEntry ()
 

Private Member Functions

ObjectTypeEntryoperator= (const ObjectTypeEntry &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

FXCheckButton * myCheckBoxLocked
 check box to check if GLObject type is blocked More...
 
int myCounter
 counter More...
 
FXLabel * myLabelCounter
 label counter More...
 
FXLabel * myLabelTypeName
 label type nane More...
 
const Supermode mySupermode
 supermode associated to this ObjectTypeEntry More...
 

Detailed Description

class for object types entries

Definition at line 45 of file GNESelectorFrame.h.

Constructor & Destructor Documentation

◆ ObjectTypeEntry() [1/2]

GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::ObjectTypeEntry ( FXMatrix *  matrixParent,
const Supermode  supermode,
const std::string &  label 
)

FOX-declaration.

constructor

Definition at line 187 of file GNESelectorFrame.cpp.

References GUIDesignCheckButton, GUIDesignLabelLeft, MID_GNE_SET_ATTRIBUTE, myCheckBoxLocked, myLabelCounter, and myLabelTypeName.

◆ ObjectTypeEntry() [2/2]

GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::ObjectTypeEntry ( )
protected

Definition at line 254 of file GNESelectorFrame.cpp.

Member Function Documentation

◆ counterDown()

void GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::counterDown ( )

down count

Definition at line 231 of file GNESelectorFrame.cpp.

References toString().

◆ counterUp()

void GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::counterUp ( )

up count

Definition at line 224 of file GNESelectorFrame.cpp.

References toString().

◆ getSupermode()

Supermode GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::getSupermode ( ) const

get supermode associated to this ObjectTypeEntry

Definition at line 202 of file GNESelectorFrame.cpp.

◆ hideObjectTypeEntry()

void GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::hideObjectTypeEntry ( )

hide ObjectTypeEntry

Definition at line 216 of file GNESelectorFrame.cpp.

◆ isGLTypeLocked()

bool GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::isGLTypeLocked ( ) const

check if current GLType is blocked

Definition at line 238 of file GNESelectorFrame.cpp.

◆ onCmdSetCheckBox()

long GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::onCmdSetCheckBox ( FXObject *  ,
FXSelector  ,
void *   
)

called when user change the CheckBox

Definition at line 244 of file GNESelectorFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

ObjectTypeEntry& GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::operator= ( const ObjectTypeEntry )
privatedelete

Invalidated assignment operator.

◆ showObjectTypeEntry()

void GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::showObjectTypeEntry ( )

show ObjectTypeEntry

Definition at line 208 of file GNESelectorFrame.cpp.

Field Documentation

◆ myCheckBoxLocked

FXCheckButton* GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::myCheckBoxLocked
private

check box to check if GLObject type is blocked

Definition at line 93 of file GNESelectorFrame.h.

Referenced by ObjectTypeEntry().

◆ myCounter

int GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::myCounter
private

counter

Definition at line 96 of file GNESelectorFrame.h.

◆ myLabelCounter

FXLabel* GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::myLabelCounter
private

label counter

Definition at line 87 of file GNESelectorFrame.h.

Referenced by ObjectTypeEntry().

◆ myLabelTypeName

FXLabel* GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::myLabelTypeName
private

label type nane

Definition at line 90 of file GNESelectorFrame.h.

Referenced by ObjectTypeEntry().

◆ mySupermode

const Supermode GNESelectorFrame::LockGLObjectTypes::ObjectTypeEntry::mySupermode
private

supermode associated to this ObjectTypeEntry

Definition at line 84 of file GNESelectorFrame.h.


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