Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
QHyodaJob.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
#ifndef Q_HYODA_JOB_H
8
#define Q_HYODA_JOB_H
9
10
#include <QtWidgets>
11
#include <QStringList>
12
13
#include "QHyodaGdb.h"
14
#include "ui_hyodaJob.h"
15
16
class
QHyodaTcp
;
17
class
QHyodaTool
;
18
class
QHyodaProcess;
19
class
QHyodaMachine
;
20
class
QHyodaStateMachine;
21
class
QHyodaSsh
;
22
23
24
/******************************************************************************
25
* Structure partagée par gdb
26
*****************************************************************************/
27
struct
hyoda_taxi_data
{
28
quint64 global_iteration;
29
double
global_time;
30
double
global_deltat;
31
double
global_cpu_time;
32
quint64 mesh_total_nb_cell;
33
quint64 target_cell_uid;
34
quint64 target_cell_rank;
35
double
coords[8][3];
36
};
37
41
class
QHyodaJob
:
public
QWidget,
public
Ui::jobWidget {
42
Q_OBJECT
43
public
:
44
QHyodaJob
(
QHyodaMachine
*,
int
,
char
**);
45
~QHyodaJob
();
46
public
:
47
void
refresh_common_variables(
const
QStringList&);
48
public
:
49
void
gdbserver_hook();
50
void
gdb_hook();
51
void
detach
();
52
void
quit
();
53
public
slots:
54
void
gdbserver_slot();
55
public
slots:
// Toolbar buttons
56
void
stop_slot();
57
void
step_slot();
58
void
tack_slot();
59
void
start_slot();
60
void
log_slot();
61
void
src_slot();
62
void
cell_slot();
63
void
mesh_slot();
64
void
papi_slot();
65
void
matrix_slot();
66
public
:
67
QHyodaMachine
*machine;
68
int
argc;
69
char
**argv;
70
uint id;
71
bool
has_been_broadcasted;
72
quint32 tcpAdrs;
73
quint32 tcpPort;
74
quint32 tcpPyld;
75
quint32 iceWidthHeight;
76
QHyodaGdb
*gdb;
77
QProcess *gdbserver;
78
QString pid;
79
QString cmd;
80
QString cmdline;
81
QString host;
82
QString broadcasted_cmdline;
83
int
tack_toggle;
84
int
fdm = 0;
85
int
fds = 0;
86
// La structure partagée
87
struct
hyoda_taxi_data
*data;
88
QHyodaTcp
*tcp;
89
QStringList *arcane_variables_names;
90
};
91
92
#endif
QHyodaGdb
Definition
QHyodaGdb.h:17
QHyodaJob
Definition
QHyodaJob.h:41
QHyodaJob::quit
void quit()
Definition
QHyodaJob.cc:258
QHyodaJob::detach
void detach()
Definition
QHyodaJob.cc:248
QHyodaMachine
Definition
QHyodaMachine.h:30
QHyodaSsh
Definition
QHyodaSsh.h:17
QHyodaTcp
Definition
QHyodaTcp.h:19
QHyodaTool
Definition
QHyodaTool.h:21
hyoda_taxi_data
Definition
QHyodaJob.h:27
arcane
hyoda
gui
QHyodaJob.h
Généré le Lundi 18 Novembre 2024 03:01:30 pour Arcane par
1.9.8