The Gaudi Framework
master (37c0b60a)
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
13
#include <
GaudiKernel/StateMachine.h
>
14
15
namespace
Gaudi
{
22
struct
IFSMCallbackHolder
:
virtual
public
IInterface
{
23
24
public
:
25
DeclareInterfaceID
(
IFSMCallbackHolder
, 1, 0 );
26
27
using
CallBack
=
std::function
<void()>;
28
virtual
void
registerCallBack
(
StateMachine::Transition
,
CallBack
) = 0;
29
};
30
}
// namespace Gaudi
Gaudi::IFSMCallbackHolder::DeclareInterfaceID
DeclareInterfaceID(IFSMCallbackHolder, 1, 0)
std::function
Gaudi::IFSMCallbackHolder::registerCallBack
virtual void registerCallBack(StateMachine::Transition, CallBack)=0
StateMachine.h
Gaudi::IFSMCallbackHolder
Interface defining a CallBack registration functionality based on the State Machine of Gaudi.
Definition:
IFSMCallbackHolder.h:22
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
Gaudi::StateMachine::Transition
Transition
Allowed transitions between states.
Definition:
StateMachine.h:33
IInterface
Definition:
IInterface.h:239
GaudiKernel
include
Gaudi
Interfaces
IFSMCallbackHolder.h
Generated on Thu Dec 19 2024 15:35:00 for The Gaudi Framework by
1.8.18