ChimeraTK-ApplicationCore 04.06.00
Loading...
Searching...
No Matches
Flags.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2// SPDX-License-Identifier: LGPL-3.0-or-later
3#pragma once
4
5namespace ChimeraTK {
6
7 /********************************************************************************************************************/
8
19
22
24 bool operator==(const VariableDirection& other) const { return dir == other.dir && withReturn == other.withReturn; }
25 bool operator!=(const VariableDirection& other) const { return !operator==(other); }
26 };
27
28 /********************************************************************************************************************/
29
31 enum class UpdateMode { poll, push, invalid };
32
33 /********************************************************************************************************************/
34
37
38 /********************************************************************************************************************/
39
41 enum class LifeCycleState {
44 run,
48 };
49
50 /********************************************************************************************************************/
51
52} /* namespace ChimeraTK */
InvalidityTracer application module.
LifeCycleState
Enum to define the life-cycle states of an Application.
Definition Flags.h:41
@ initialisation
Initialisation phase including ApplicationModule::prepare().
@ shutdown
The application is in the process of shutting down.
@ run
Actual run phase with full multi threading.
UpdateMode
Enum to define the update mode of variables.
Definition Flags.h:31
NodeType
Enum to define types of VariableNetworkNode.
Definition Flags.h:36
Struct to define the direction of variables.
Definition Flags.h:13
bool operator!=(const VariableDirection &other) const
Definition Flags.h:25
enum ChimeraTK::VariableDirection::@0 dir
Enum to define directions of variables.
bool withReturn
Presence of return channel.
Definition Flags.h:21
bool operator==(const VariableDirection &other) const
Comparison.
Definition Flags.h:24