The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
IFSMCallbackHolder.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
11#pragma once
12
14
15namespace Gaudi {
22 struct IFSMCallbackHolder : virtual public IInterface {
23
24 public:
26
27 using CallBack = std::function<void()>;
29 };
30} // namespace Gaudi
Definition of the basic interface.
Definition IInterface.h:225
Transition
Allowed transitions between states.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1
Interface defining a CallBack registration functionality based on the State Machine of Gaudi.
std::function< void()> CallBack
DeclareInterfaceID(IFSMCallbackHolder, 1, 0)
virtual void registerCallBack(StateMachine::Transition, CallBack)=0