Version: 9.15.0
define.hxx
Go to the documentation of this file.
1
// Copyright (C) 2006-2025 CEA, EDF
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
#ifndef __DEFINE_HXX__
21
#define __DEFINE_HXX__
22
23
namespace
YACS
24
{
25
//for algs of graphs and trees
26
typedef
enum
27
{
28
White
= 10,
29
Grey
= 11,
30
Black
= 12
31
}
Colour
;
32
33
typedef
enum
34
{
35
UNDEFINED
= -1,
36
INVALID
= 99,
37
READY
= 100,
38
TOLOAD
= 101,
39
LOADED
= 102,
40
TOACTIVATE
= 103,
41
ACTIVATED
= 104,
42
DESACTIVATED
= 105,
43
DONE
= 106,
44
SUSPENDED
= 107,
45
LOADFAILED
= 108,
46
EXECFAILED
= 109,
47
PAUSE
= 110,
48
TORECONNECT
= 111,
49
INTERNALERR
= 666,
50
DISABLED
= 777,
51
FAILED
= 888,
52
ERROR
= 999
53
}
StatesForNode
;
54
55
typedef
enum
56
{
57
NOEVENT
= 200,
58
START
= 201,
59
FINISH
= 202,
60
ABORT
= 203
61
}
Event
;
62
63
typedef
enum
64
{
65
NOTYETINITIALIZED
= 300,
66
INITIALISED
= 301,
67
RUNNING
= 302,
68
WAITINGTASKS
= 303,
69
PAUSED
= 304,
70
FINISHED
= 305,
71
STOPPED
= 306
72
}
ExecutorState
;
73
74
typedef
enum
75
{
76
CONTINUE
= 0,
77
STEPBYSTEP
= 1,
78
STOPBEFORENODES
= 2
79
}
ExecutionMode
;
80
}
81
#endif
YACS
Definition:
AlternateThreadPT.hxx:27
YACS::Event
Event
Definition:
define.hxx:56
YACS::ABORT
@ ABORT
Definition:
define.hxx:60
YACS::NOEVENT
@ NOEVENT
Definition:
define.hxx:57
YACS::START
@ START
Definition:
define.hxx:58
YACS::FINISH
@ FINISH
Definition:
define.hxx:59
YACS::ExecutionMode
ExecutionMode
Definition:
define.hxx:75
YACS::STEPBYSTEP
@ STEPBYSTEP
Definition:
define.hxx:77
YACS::CONTINUE
@ CONTINUE
Definition:
define.hxx:76
YACS::STOPBEFORENODES
@ STOPBEFORENODES
Definition:
define.hxx:78
YACS::ExecutorState
ExecutorState
Definition:
define.hxx:64
YACS::RUNNING
@ RUNNING
Definition:
define.hxx:67
YACS::PAUSED
@ PAUSED
Definition:
define.hxx:69
YACS::WAITINGTASKS
@ WAITINGTASKS
Definition:
define.hxx:68
YACS::INITIALISED
@ INITIALISED
Definition:
define.hxx:66
YACS::NOTYETINITIALIZED
@ NOTYETINITIALIZED
Definition:
define.hxx:65
YACS::FINISHED
@ FINISHED
Definition:
define.hxx:70
YACS::STOPPED
@ STOPPED
Definition:
define.hxx:71
YACS::Colour
Colour
Definition:
define.hxx:27
YACS::White
@ White
Definition:
define.hxx:28
YACS::Black
@ Black
Definition:
define.hxx:30
YACS::Grey
@ Grey
Definition:
define.hxx:29
YACS::StatesForNode
StatesForNode
Definition:
define.hxx:34
YACS::INVALID
@ INVALID
Definition:
define.hxx:36
YACS::FAILED
@ FAILED
Definition:
define.hxx:51
YACS::UNDEFINED
@ UNDEFINED
Definition:
define.hxx:35
YACS::DESACTIVATED
@ DESACTIVATED
Definition:
define.hxx:42
YACS::EXECFAILED
@ EXECFAILED
Definition:
define.hxx:46
YACS::TOLOAD
@ TOLOAD
Definition:
define.hxx:38
YACS::LOADED
@ LOADED
Definition:
define.hxx:39
YACS::READY
@ READY
Definition:
define.hxx:37
YACS::ACTIVATED
@ ACTIVATED
Definition:
define.hxx:41
YACS::INTERNALERR
@ INTERNALERR
Definition:
define.hxx:49
YACS::DONE
@ DONE
Definition:
define.hxx:43
YACS::TOACTIVATE
@ TOACTIVATE
Definition:
define.hxx:40
YACS::SUSPENDED
@ SUSPENDED
Definition:
define.hxx:44
YACS::PAUSE
@ PAUSE
Definition:
define.hxx:47
YACS::DISABLED
@ DISABLED
Definition:
define.hxx:50
YACS::TORECONNECT
@ TORECONNECT
Definition:
define.hxx:48
YACS::LOADFAILED
@ LOADFAILED
Definition:
define.hxx:45
YACS::ERROR
@ ERROR
Definition:
define.hxx:52
src
bases
define.hxx
Copyright © 2006-2024 CEA, EDF