acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
flag.h
1// Created by camilo on 2021-09-30 08:05 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5enum enum_flag : ::u64
6{
7
8 e_flag_none = 0,
9 e_flag_success = 1 << 0,
10 e_flag_timeout = 1 << 1,
11 e_flag_failure = 1 << 2,
12 e_flag_persist = 1 << 3,
13 e_flag_factory = 1 << 4,
14 e_flag_acquire = 1 << 6,
15 e_flag_default = 1 << 7,
16 e_flag_running = 1 << 8,
17 e_flag_changed = 1 << 9,
18 e_flag_heap_allocated = 1 << 10,
19 e_flag_statically_allocated = 1 << 11,
20 e_flag_finishing = 1 << 12,
21 e_flag_destroying = 1 << 13,
22 e_flag_processed = 1 << 14,
23 e_flag_task_started = 1 << 15,
24 e_flag_task_terminated = 1 << 16,
25 e_flag_checking_children_task = 1 << 17,
26 e_flag_check_children_task_post_quit = 1 << 18,
27 e_flag_task_ready = 1 << 19,
28 e_flag_data_struct = 1 << 20,
29 e_flag_exited = 1 << 21,
30 e_flag_storing = 1 << 22,
31 e_flag_alertable_wait = 1 << 23,
32 e_flag_verbose = 1 << 24,
33 e_flag_acquired = 1 << 25,
34 e_flag_own_synchronization = 1 << 26,
35 e_flag_already_exists = 1 << 27,
36
37
38 //e_object_none,
39 //aaa_want_to_erase_object_locked = 1 << 10,
40 //aaa_want_to_erase_object_shared = 1 << 11,
41 //aaa_want_to_erase_object_read_only_link = 1 << 12,
42 e_flag_log_disable = 1 << 28,
43 e_flag_property_set_modified = 1 << 29,
44 e_flag_default_io_exchange = 1 << 30,
45 //e_object_alertable_wait = 1 << 16,
46 e_flag_any_hook = 1ll << 31,
47 //e_object_any_hook = 1 << 17,
48 //e_object_any_update = (1 << 18) | e_object_any_hook,
49 //e_object_composite = 1 << 19,
50#if OBJECT_TYPE_COUNTER
51 e_flag_object_type_counter = 1ll << 32,
52#endif
53 e_flag_synchronous = 1ll << 33,
54 e_flag_shared = 1ll << 34,
55 e_flag_read_only = 1ll << 35,
56 e_flag_debug0 = 1ll << 36,
57 e_flag_debug1 = 1ll << 37,
58 e_flag_debug2 = 1ll << 38,
59 e_flag_debug3 = 1ll << 49,
60 e_flag_debug4 = 1ll << 40,
61 e_flag_debug5 = 1ll << 41,
62 e_flag_debug_mask = e_flag_debug0 | e_flag_debug1 | e_flag_debug2 | e_flag_debug3 | e_flag_debug4 | e_flag_debug5,
63 //e_flag_no_referencing_debugging = 1ll << 42,
64 e_flag_carriage_return = 1ll << 43,
65 //e_flag_realized = 1 << 44,
66 e_flag_initialized = 1ll << 47,
67 //e_flag_automatic_result_just_after_running = 1ll << 48,
68 //e_flag_should_create_sequence_on_synchronicity = 1ll << 49,
69 e_flag_destroyed = 1ll << 50,
70 e_flag_preallocated = 1ll << 51,
71
72 e_flag_proto = 1ll << 52,
73 e_flag_no_stdout = 1ll << 53,
74 e_flag_owner = 1ll << 54,
75
76
77};
78
79
80