ATLAS Offline Software
|
Base class for the dual-use service implementation classes. More...
#include <AsgService.h>
Inherits asg::IAsgService, and AthService.
Inherited by asg::UnitTestService1, AthOnnx::OnnxRuntimeSvc, CP::SelectionNameSvc, CP::SystematicsSvc, egammaMVASvc, FlavorTagDiscriminants::NNSharingSvc, PlotsDefinitionSvc, and TrackAnalysisDefinitionSvc.
Public Member Functions | |
AsgService (const std::string &name, ISvcLocator *pSvcLocator) | |
virtual void | print () const |
Print the state of the service. More... | |
template<typename T > | |
void | declareServiceInterface () |
add the given interface to the list of interfaces More... | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvi) |
query interface for gaudi More... | |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Private Attributes | |
std::vector< std::pair< const InterfaceID &(*)(), void *(*)(AsgService *)> > | m_interfaces |
list of interfaces we have More... | |
virtual StatusCode | initialize () |
set up/tear down functions More... | |
virtual StatusCode | finalize () |
Base class for the dual-use service implementation classes.
This class can be used like AthService can be used for Athena-only services.
Loosely based on the AsgTool implementation.
Definition at line 41 of file AsgService.h.
asg::AsgService::AsgService | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
Definition at line 18 of file AsgService.cxx.
void asg::AsgService::declareServiceInterface |
add the given interface to the list of interfaces
Definition at line 76 of file AsgService.h.
|
virtual |
Reimplemented in TrackAnalysisDefinitionSvc, CP::SystematicsSvc, PlotsDefinitionSvc, and AthOnnx::OnnxRuntimeSvc.
Definition at line 40 of file AsgService.cxx.
|
virtual |
set up/tear down functions
Reimplemented in TrackAnalysisDefinitionSvc, CP::SelectionNameSvc, CP::SystematicsSvc, PlotsDefinitionSvc, asg::UnitTestService1, AthOnnx::OnnxRuntimeSvc, and egammaMVASvc.
Definition at line 32 of file AsgService.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
virtual |
Print the state of the service.
Implements asg::IAsgService.
Definition at line 48 of file AsgService.cxx.
|
virtual |
|
private |
list of interfaces we have
Definition at line 68 of file AsgService.h.