![]() |
The Gaudi Framework
v29r3 (fa547fc2)
|
Manage control flow part of the execution flow. More...
#include <GaudiHive/src/ExecutionFlowManager.h>


Public Member Functions | |
| ExecutionFlowManager () | |
| Constructor. More... | |
| ~ExecutionFlowManager () override=default | |
| Destructor. More... | |
| void | initialize (ControlFlowGraph *graph, const std::unordered_map< std::string, unsigned int > &algname_index_map) |
| Initialize the control flow manager It greps the topalg list and the index map for the algo names. More... | |
| ControlFlowGraph * | getCFGraph () const |
| Get the flow graph instance. More... | |
| void | updateEventState (AlgsExecutionStates &algo_states, std::vector< int > &node_decisions) const |
| Update states and decisions of algorithms. More... | |
| bool | rootDecisionResolved (const std::vector< int > &node_decisions) const |
| Check whether root decision was resolved. More... | |
| void | printEventState (std::stringstream &ss, AlgsExecutionStates &states, const std::vector< int > &node_decisions, const unsigned int &recursionLevel) const |
| Print the state of the control flow for a given event. More... | |
| const std::string & | name () const override |
| Retrieve name of the service. More... | |
| SmartIF< ISvcLocator > & | serviceLocator () const override |
| Retrieve pointer to service locator. More... | |
Public Member Functions inherited from CommonMessagingBase | |
| virtual | ~CommonMessagingBase ()=default |
| Virtual destructor. More... | |
| const SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. More... | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. More... | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. More... | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) More... | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) More... | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) More... | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) More... | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) More... | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
| MSG::Level | msgLevel () const |
| get the cached level (originally extracted from the embedded MsgStream) More... | |
| MSG::Level | outputLevel () const __attribute__((deprecated)) |
| Backward compatibility function for getting the output level. More... | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream More... | |
Private Attributes | |
| std::string | m_name |
| ControlFlowGraph * | m_CFGraph |
| the control flow graph More... | |
Additional Inherited Members | |
Public Types inherited from CommonMessaging< IExecutionFlowManager > | |
| using | base_class = CommonMessaging |
Protected Member Functions inherited from CommonMessaging< IExecutionFlowManager > | |
| MSG::Level | setUpMessaging () |
| Set up local caches. More... | |
| MSG::Level | resetMessaging () |
| Reinitialize internal states. More... | |
| void | updateMsgStreamOutputLevel (int level) |
| Update the output level of the cached MsgStream. More... | |
Manage control flow part of the execution flow.
Once initialized, the CF graph is const and can be shared across events
Definition at line 24 of file ExecutionFlowManager.h.
|
inline |
Constructor.
Definition at line 28 of file ExecutionFlowManager.h.
|
overridedefault |
Destructor.
|
inline |
Get the flow graph instance.
Definition at line 36 of file ExecutionFlowManager.h.
| void concurrency::recursive_CF::ExecutionFlowManager::initialize | ( | ControlFlowGraph * | graph, |
| const std::unordered_map< std::string, unsigned int > & | algname_index_map | ||
| ) |
Initialize the control flow manager It greps the topalg list and the index map for the algo names.
Definition at line 10 of file ExecutionFlowManager.cpp.
|
inlineoverride |
Retrieve name of the service.
Definition at line 48 of file ExecutionFlowManager.h.
|
inline |
Print the state of the control flow for a given event.
Definition at line 42 of file ExecutionFlowManager.h.
| bool concurrency::recursive_CF::ExecutionFlowManager::rootDecisionResolved | ( | const std::vector< int > & | node_decisions | ) | const |
Check whether root decision was resolved.
Definition at line 24 of file ExecutionFlowManager.cpp.
|
inlineoverride |
Retrieve pointer to service locator.
Definition at line 50 of file ExecutionFlowManager.h.
| void concurrency::recursive_CF::ExecutionFlowManager::updateEventState | ( | AlgsExecutionStates & | algo_states, |
| std::vector< int > & | node_decisions | ||
| ) | const |
Update states and decisions of algorithms.
Definition at line 17 of file ExecutionFlowManager.cpp.
|
private |
the control flow graph
Definition at line 55 of file ExecutionFlowManager.h.
|
private |
Definition at line 53 of file ExecutionFlowManager.h.