Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
run/GNERunPythonToolDialog.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials are made available under the
5
// terms of the Eclipse Public License 2.0 which is available at
6
// https://www.eclipse.org/legal/epl-2.0/
7
// This Source Code may also be made available under the following Secondary
8
// Licenses when the conditions for such availability set forth in the Eclipse
9
// Public License 2.0 are satisfied: GNU General Public License, version 2
10
// or later which is available at
11
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13
/****************************************************************************/
18
// Dialog for running tools
19
/****************************************************************************/
20
#pragma once
21
#include <config.h>
22
23
#include "
GNERunDialog.h
"
24
25
// ===========================================================================
26
// class declarations
27
// ===========================================================================
28
29
class
GNEPythonTool
;
30
31
// ===========================================================================
32
// class definitions
33
// ===========================================================================
34
35
class
GNERunPythonToolDialog
:
public
GNERunDialog
{
36
37
public
:
39
GNERunPythonToolDialog
(
GNEApplicationWindow
* applicationWindow,
GNEPythonTool
* pythonTool);
40
42
~GNERunPythonToolDialog
();
43
45
void
runInternalTest
(
const
InternalTestStep::DialogArgument
* dialogArgument);
46
48
std::string
getRunCommand
()
const
;
49
52
54
long
onCmdBack
(FXObject*, FXSelector,
void
*);
55
57
long
onCmdAccept
(FXObject*, FXSelector,
void
*);
58
60
61
protected
:
63
const
GNEPythonTool
*
myPythonTool
=
nullptr
;
64
65
private
:
67
GNERunPythonToolDialog
(
const
GNERunPythonToolDialog
&) =
delete
;
68
70
GNERunPythonToolDialog
&
operator=
(
const
GNERunPythonToolDialog
&) =
delete
;
71
};
GNERunDialog.h
GNEApplicationWindow
The main window of Netedit.
Definition
GNEApplicationWindow.h:50
GNEPythonTool
Definition
GNEPythonTool.h:36
GNERunDialog
Definition
GNERunDialog.h:37
GNERunPythonToolDialog
Definition
run/GNERunPythonToolDialog.h:35
GNERunPythonToolDialog::runInternalTest
void runInternalTest(const InternalTestStep::DialogArgument *dialogArgument)
run internal test
Definition
run/GNERunPythonToolDialog.cpp:45
GNERunPythonToolDialog::getRunCommand
std::string getRunCommand() const
get run command
Definition
run/GNERunPythonToolDialog.cpp:51
GNERunPythonToolDialog::onCmdBack
long onCmdBack(FXObject *, FXSelector, void *)
event after press back button
Definition
run/GNERunPythonToolDialog.cpp:57
GNERunPythonToolDialog::operator=
GNERunPythonToolDialog & operator=(const GNERunPythonToolDialog &)=delete
Invalidated assignment operator.
GNERunPythonToolDialog::~GNERunPythonToolDialog
~GNERunPythonToolDialog()
destructor
Definition
run/GNERunPythonToolDialog.cpp:41
GNERunPythonToolDialog::GNERunPythonToolDialog
GNERunPythonToolDialog(const GNERunPythonToolDialog &)=delete
Invalidated copy constructor.
GNERunPythonToolDialog::myPythonTool
const GNEPythonTool * myPythonTool
python tool to run
Definition
run/GNERunPythonToolDialog.h:63
GNERunPythonToolDialog::onCmdAccept
long onCmdAccept(FXObject *, FXSelector, void *)
event after press close button
Definition
run/GNERunPythonToolDialog.cpp:65
InternalTestStep::DialogArgument
dialog arguments, used for certain modal dialogs that can not be edited using tab
Definition
InternalTestStep.h:48
src
netedit
dialogs
run
GNERunPythonToolDialog.h
Generated on Tue Oct 28 2025 00:11:01 for Eclipse SUMO - Simulation of Urban MObility by
1.9.8