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
54 
55  typedef enum
56  {
57  NOEVENT = 200,
58  START = 201,
59  FINISH = 202,
60  ABORT = 203
61  } Event;
62 
63  typedef enum
64  {
66  INITIALISED = 301,
67  RUNNING = 302,
68  WAITINGTASKS = 303,
69  PAUSED = 304,
70  FINISHED = 305,
71  STOPPED = 306
73 
74  typedef enum
75  {
76  CONTINUE = 0,
78  STOPBEFORENODES = 2
80 }
81 #endif
Event
Definition: define.hxx:56
@ ABORT
Definition: define.hxx:60
@ NOEVENT
Definition: define.hxx:57
@ START
Definition: define.hxx:58
@ FINISH
Definition: define.hxx:59
ExecutionMode
Definition: define.hxx:75
@ STEPBYSTEP
Definition: define.hxx:77
@ CONTINUE
Definition: define.hxx:76
@ STOPBEFORENODES
Definition: define.hxx:78
ExecutorState
Definition: define.hxx:64
@ RUNNING
Definition: define.hxx:67
@ PAUSED
Definition: define.hxx:69
@ WAITINGTASKS
Definition: define.hxx:68
@ INITIALISED
Definition: define.hxx:66
@ NOTYETINITIALIZED
Definition: define.hxx:65
@ FINISHED
Definition: define.hxx:70
@ STOPPED
Definition: define.hxx:71
Colour
Definition: define.hxx:27
@ White
Definition: define.hxx:28
@ Black
Definition: define.hxx:30
@ Grey
Definition: define.hxx:29
StatesForNode
Definition: define.hxx:34
@ INVALID
Definition: define.hxx:36
@ FAILED
Definition: define.hxx:51
@ UNDEFINED
Definition: define.hxx:35
@ DESACTIVATED
Definition: define.hxx:42
@ EXECFAILED
Definition: define.hxx:46
@ TOLOAD
Definition: define.hxx:38
@ LOADED
Definition: define.hxx:39
@ READY
Definition: define.hxx:37
@ ACTIVATED
Definition: define.hxx:41
@ INTERNALERR
Definition: define.hxx:49
@ DONE
Definition: define.hxx:43
@ TOACTIVATE
Definition: define.hxx:40
@ SUSPENDED
Definition: define.hxx:44
@ PAUSE
Definition: define.hxx:47
@ DISABLED
Definition: define.hxx:50
@ TORECONNECT
Definition: define.hxx:48
@ LOADFAILED
Definition: define.hxx:45
@ ERROR
Definition: define.hxx:52