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

struct used to group all variables related with testing More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::TestingMode:

Public Member Functions

void drawTestingElements (GUIMainWindow *mainWindow)
 draw testing element More...
 
void initTestingMode ()
 init testing mode More...
 
bool isTestingEnabled () const
 check if testing mode is enabled More...
 
 TestingMode (GNEViewNet *viewNet)
 default constructor More...
 

Private Attributes

bool myTestingEnabled
 flag to enable or disable testing mode More...
 
int myTestingHeight
 Height of viewNet in testing mode. More...
 
int myTestingWidth
 Width of viewNet in testing mode. More...
 
GNEViewNetmyViewNet
 pointer to viewNet More...
 

Detailed Description

struct used to group all variables related with testing

Definition at line 680 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ TestingMode()

GNEViewNetHelper::TestingMode::TestingMode ( GNEViewNet viewNet)

default constructor

Definition at line 1208 of file GNEViewNetHelper.cpp.

Member Function Documentation

◆ drawTestingElements()

void GNEViewNetHelper::TestingMode::drawTestingElements ( GUIMainWindow mainWindow)

◆ initTestingMode()

void GNEViewNetHelper::TestingMode::initTestingMode ( )

init testing mode

Definition at line 1217 of file GNEViewNetHelper.cpp.

References OptionsCont::getOptions(), OptionsCont::getStringVector(), toString(), and WRITE_ERROR.

◆ isTestingEnabled()

bool GNEViewNetHelper::TestingMode::isTestingEnabled ( ) const

check if testing mode is enabled

Definition at line 1270 of file GNEViewNetHelper.cpp.

Referenced by GNEPOI::drawGL().

Field Documentation

◆ myTestingEnabled

bool GNEViewNetHelper::TestingMode::myTestingEnabled
private

flag to enable or disable testing mode

Definition at line 699 of file GNEViewNetHelper.h.

◆ myTestingHeight

int GNEViewNetHelper::TestingMode::myTestingHeight
private

Height of viewNet in testing mode.

Definition at line 705 of file GNEViewNetHelper.h.

◆ myTestingWidth

int GNEViewNetHelper::TestingMode::myTestingWidth
private

Width of viewNet in testing mode.

Definition at line 702 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::TestingMode::myViewNet
private

pointer to viewNet

Definition at line 696 of file GNEViewNetHelper.h.


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