ATLAS Offline Software
Loading...
Searching...
No Matches
AsgService.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8
9
10// Local include(s):
12
13// System include(s):
14#include <iostream>
15
16namespace asg
17{
18 AsgService ::
19 AsgService( const std::string& name,
20 ISvcLocator* pSvcLocator )
21#ifndef XAOD_STANDALONE
22 : base_class(name, pSvcLocator)
23#else
24 : base_class(name)
25#endif
26 {
27 (void) pSvcLocator; // suppress compiler warning in XAOD_STANDALONE
28 }
29
30 StatusCode AsgService ::
31 initialize ()
32 {
33 return StatusCode::SUCCESS;
34 }
35
36
37
38 StatusCode AsgService ::
39 finalize ()
40 {
41 return StatusCode::SUCCESS;
42 }
43
44
45
46 void AsgService::print() const
47 {
48 ATH_MSG_INFO( "AsgService " << name() << " @ " << this );
49 return;
50 }
51
52} // namespace asg
#define ATH_MSG_INFO(x)
virtual void print() const
Print the state of the service.