Version: 9.16.0
define.hxx
Go to the documentation of this file.
1// Copyright (C) 2006-2026 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
23namespace YACS
24{
25 //for algs of graphs and trees
26 typedef enum
27 {
28 White = 10,
29 Grey = 11,
30 Black = 12
32
33 typedef enum
34 {
36 INVALID = 99,
37 READY = 100,
38 TOLOAD = 101,
39 LOADED = 102,
41 ACTIVATED = 104,
43 DONE = 106,
44 SUSPENDED = 107,
47 PAUSE = 110,
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
62
63 typedef enum
64 {
67 RUNNING = 302,
69 PAUSED = 304,
70 FINISHED = 305,
71 STOPPED = 306
73
74 typedef enum
75 {
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