Salome HOME
projects
/
modules
/
yacs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git]
/
src
/
bases
/
define.hxx
1
#ifndef __DEFINE_HXX__
2
#define __DEFINE_HXX__
3
4
namespace YACS
5
{
6
//for algs of graphs and trees
7
typedef enum
8
{
9
White = 10,
10
Grey = 11,
11
Black = 12
12
} Colour;
13
14
typedef enum
15
{
16
UNDEFINED = -1,
17
INVALID = 99,
18
READY = 100,
19
TOLOAD = 101,
20
LOADED = 102,
21
TOACTIVATE = 103,
22
ACTIVATED = 104,
23
DESACTIVATED = 105,
24
DONE = 106,
25
SUSPENDED = 107,
26
LOADFAILED = 108,
27
EXECFAILED = 109,
28
PAUSE = 110,
29
INTERNALERR = 666,
30
DISABLED = 777,
31
FAILED = 888,
32
ERROR = 999
33
} StatesForNode;
34
35
typedef enum
36
{
37
NOEVENT = 200,
38
START = 201,
39
FINISH = 202,
40
ABORT = 203
41
} Event;
42
43
typedef enum
44
{
45
NOTYETINITIALIZED = 300,
46
INITIALISED = 301,
47
RUNNING = 302,
48
WAITINGTASKS = 303,
49
PAUSED = 304,
50
FINISHED = 305,
51
STOPPED = 306
52
} ExecutorState;
53
54
typedef enum
55
{
56
CONTINUE = 0,
57
STEPBYSTEP = 1,
58
STOPBEFORENODES = 2
59
} ExecutionMode;
60
}
61
#endif