SPH
src
gui
windows
RunSelectDialog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
run/Node.h
"
4
#include <wx/dialog.h>
5
6
class
wxCheckBox;
7
8
NAMESPACE_SPH_BEGIN
9
10
class
RunSelectDialog
:
public
wxDialog {
11
private
:
12
Array<SharedPtr<JobNode>
> nodes;
13
SharedPtr<JobNode>
selected;
14
wxCheckBox* rememberBox;
15
16
public
:
17
RunSelectDialog
(wxWindow* parent,
Array
<
SharedPtr<JobNode>
>&& nodes);
18
19
SharedPtr<JobNode>
selectedNode
()
const
{
20
return
selected;
21
}
22
23
bool
remember
()
const
;
24
25
~RunSelectDialog
();
26
27
private
:
28
void
select(
const
int
index);
29
};
30
31
NAMESPACE_SPH_END
NAMESPACE_SPH_BEGIN
NAMESPACE_SPH_BEGIN
Definition:
BarnesHut.cpp:13
Node.h
NAMESPACE_SPH_END
#define NAMESPACE_SPH_END
Definition:
Object.h:12
Array
Generic dynamically allocated resizable storage.
Definition:
Array.h:43
RunSelectDialog
Definition:
RunSelectDialog.h:10
RunSelectDialog::selectedNode
SharedPtr< JobNode > selectedNode() const
Definition:
RunSelectDialog.h:19
RunSelectDialog::~RunSelectDialog
~RunSelectDialog()
RunSelectDialog::remember
bool remember() const
Definition:
RunSelectDialog.cpp:63
RunSelectDialog::RunSelectDialog
RunSelectDialog(wxWindow *parent, Array< SharedPtr< JobNode >> &&nodes)
Definition:
RunSelectDialog.cpp:11
SharedPtr< JobNode >
Generated by
1.9.1