ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Framework/include/ACTFW/Framework/BareService.hpp>
Public Member Functions | |
BareService (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const finaloverride |
The service name. | |
void | startRun () override |
Default noop implementation for the start-of-run hook. | |
void | prepare (AlgorithmContext &ctx) override |
Default noop implementation for the per-event prepare hook. | |
Public Member Functions inherited from FW::IService | |
virtual | ~IService ()=default |
Protected Member Functions | |
const Acts::Logger & | logger () const |
Private Attributes | |
std::string | m_name |
std::unique_ptr< const Acts::Logger > | m_logger |
A helper class for users to implement framework services.
This class provides default implementations for all interface methods and and adds a default logger that can be used directly in subclasses. Service implementations only need to implement the method that are actually doing something.
Definition at line 29 of file BareService.hpp.
View newest version in sPHENIX GitHub at line 29 of file BareService.hpp
FW::BareService::BareService | ( | std::string | name, |
Acts::Logging::Level | level = Acts::Logging::INFO |
||
) |
Definition at line 13 of file BareService.cpp.
View newest version in sPHENIX GitHub at line 13 of file BareService.cpp
|
inlineprotected |
Definition at line 44 of file BareService.hpp.
View newest version in sPHENIX GitHub at line 44 of file BareService.hpp
References m_logger.
|
finaloverridevirtual |
The service name.
Implements FW::IService.
Definition at line 17 of file BareService.cpp.
View newest version in sPHENIX GitHub at line 17 of file BareService.cpp
References m_name.
|
overridevirtual |
Default noop implementation for the per-event prepare hook.
Implements FW::IService.
Reimplemented in FW::HelloService.
Definition at line 25 of file BareService.cpp.
View newest version in sPHENIX GitHub at line 25 of file BareService.cpp
|
overridevirtual |
Default noop implementation for the start-of-run hook.
Implements FW::IService.
Reimplemented in FW::HelloService.
Definition at line 21 of file BareService.cpp.
View newest version in sPHENIX GitHub at line 21 of file BareService.cpp
|
private |
Definition at line 48 of file BareService.hpp.
View newest version in sPHENIX GitHub at line 48 of file BareService.hpp
Referenced by logger().
|
private |
Definition at line 47 of file BareService.hpp.
View newest version in sPHENIX GitHub at line 47 of file BareService.hpp
Referenced by name().