The Gaudi Framework
master (37c0b60a)
|
Helper class to implement the IFSMCallbackHolder interface. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/FSMCallbackHolder.h>
Public Types | |
using | Parent = extends< BASE, IFSMCallbackHolder > |
Public Types inherited from extends< BASE, IFSMCallbackHolder > | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces... > |
Typedef to the base of this class. More... | |
Public Types inherited from extend_interfaces< Interfaces... > | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
take union of the ext_iids of all Interfaces... More... | |
Public Member Functions | |
void | registerCallBack (StateMachine::Transition s, IFSMCallbackHolder::CallBack c) override |
StatusCode | sysInitialize () override |
StatusCode | sysStart () override |
StatusCode | sysStop () override |
StatusCode | sysFinalize () override |
Public Member Functions inherited from extends< BASE, IFSMCallbackHolder > | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
Private Member Functions | |
void | handleCallBacks (StateMachine::Transition state) |
Private Attributes | |
std::map< StateMachine::Transition, std::vector< IFSMCallbackHolder::CallBack > > | m_callbacks |
Helper class to implement the IFSMCallbackHolder interface.
FSMCallbackHolder is used by components base classes (Algorithm, Tool, etc.) to provide a default implementation the IFSMCallbackHolder interface.
When needing to implement the IFSMCallbackHolder interface in a class, it is enough to wrap the base of the class with FSMCallbackHolder, as in
Definition at line 37 of file FSMCallbackHolder.h.
using Gaudi::FSMCallbackHolder< BASE >::Parent = extends<BASE, IFSMCallbackHolder> |
Definition at line 40 of file FSMCallbackHolder.h.
|
inlineprivate |
Definition at line 61 of file FSMCallbackHolder.h.
|
inlineoverride |
Definition at line 43 of file FSMCallbackHolder.h.
|
inlineoverride |
Definition at line 56 of file FSMCallbackHolder.h.
|
inlineoverride |
Definition at line 47 of file FSMCallbackHolder.h.
|
inlineoverride |
Definition at line 50 of file FSMCallbackHolder.h.
|
inlineoverride |
Definition at line 53 of file FSMCallbackHolder.h.
|
private |
Definition at line 66 of file FSMCallbackHolder.h.