ChimeraTK-ApplicationCore  04.01.00
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 
5 namespace ChimeraTK {
6 
7  /********************************************************************************************************************/
8 
19 
21  bool withReturn;
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 {
43  run,
45  shutdown
48  };
49 
50  /********************************************************************************************************************/
51 
52 } /* namespace ChimeraTK */
ChimeraTK::VariableDirection
Struct to define the direction of variables.
Definition: Flags.h:13
ChimeraTK::LifeCycleState::run
@ run
Actual run phase with full multi threading.
ChimeraTK::VariableDirection::invalid
@ invalid
Definition: Flags.h:18
ChimeraTK::LifeCycleState::shutdown
@ shutdown
The application is in the process of shutting down.
ChimeraTK::UpdateMode::poll
@ poll
ChimeraTK::VariableDirection::dir
enum ChimeraTK::VariableDirection::@0 dir
Enum to define directions of variables.
ChimeraTK::UpdateMode::invalid
@ invalid
ChimeraTK::VariableDirection::operator==
bool operator==(const VariableDirection &other) const
Comparison.
Definition: Flags.h:24
ChimeraTK::VariableDirection::operator!=
bool operator!=(const VariableDirection &other) const
Definition: Flags.h:25
ChimeraTK::VariableDirection::consuming
@ consuming
Definition: Flags.h:18
ChimeraTK::UpdateMode
UpdateMode
Enum to define the update mode of variables.
Definition: Flags.h:31
ChimeraTK::UpdateMode::push
@ push
ChimeraTK::NodeType::Constant
@ Constant
ChimeraTK::VariableDirection::feeding
@ feeding
Definition: Flags.h:18
ChimeraTK::LifeCycleState
LifeCycleState
Enum to define the life-cycle states of an Application.
Definition: Flags.h:41
ChimeraTK::NodeType
NodeType
Enum to define types of VariableNetworkNode.
Definition: Flags.h:36
ChimeraTK::LifeCycleState::initialisation
@ initialisation
Initialisation phase including ApplicationModule::prepare().
ChimeraTK::NodeType::ControlSystem
@ ControlSystem
ChimeraTK::NodeType::Application
@ Application
ChimeraTK::VariableDirection::withReturn
bool withReturn
Presence of return channel.
Definition: Flags.h:21
ChimeraTK::NodeType::TriggerReceiver
@ TriggerReceiver
ChimeraTK::NodeType::Device
@ Device
ChimeraTK::NodeType::invalid
@ invalid
ChimeraTK::NodeType::TriggerProvider
@ TriggerProvider
ChimeraTK
InvalidityTracer application module.
Definition: spec_dataValidityPropagation.dox:2