The Gaudi Framework
master (53dee381)
Toggle main menu visibility
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
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
StateMachine.h
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
Gaudi::StateMachine::Transition
Transition
Allowed transitions between states.
Definition
StateMachine.h:32
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::IFSMCallbackHolder
Interface defining a CallBack registration functionality based on the State Machine of Gaudi.
Definition
IFSMCallbackHolder.h:22
Gaudi::IFSMCallbackHolder::CallBack
std::function< void()> CallBack
Definition
IFSMCallbackHolder.h:27
Gaudi::IFSMCallbackHolder::DeclareInterfaceID
DeclareInterfaceID(IFSMCallbackHolder, 1, 0)
Gaudi::IFSMCallbackHolder::registerCallBack
virtual void registerCallBack(StateMachine::Transition, CallBack)=0
GaudiKernel
include
Gaudi
Interfaces
IFSMCallbackHolder.h
Generated on
for The Gaudi Framework by
1.17.0