ATLAS Offline Software
Loading...
Searching...
No Matches
AsgService.h
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#ifndef ASGSERVICES_ASGSERVICE_H
9#define ASGSERVICES_ASGSERVICE_H
10
12
13#ifdef XAOD_STANDALONE
16#else
18#endif
19
20#include <vector>
21#include <utility>
22
23class ISvcLocator;
24
25namespace asg
26{
27 // Declare the type name of AsgService's base class
28#ifndef XAOD_STANDALONE
30#else
31 typedef AsgComponent AsgServiceBase;
32#endif
33
40
41 class AsgService :
42 public extends<AsgServiceBase, IAsgService>
43 {
44 public:
45 AsgService (const std::string& name,
46 ISvcLocator* pSvcLocator);
47
50 virtual StatusCode initialize ();
51 virtual StatusCode finalize ();
53
55 virtual void print() const;
56
57 }; // class AsgService
58
59} // namespace asg
60
61#endif // ASGSERVICES_ASGSERVICE_H
AsgService(const std::string &name, ISvcLocator *pSvcLocator)
virtual void print() const
Print the state of the service.
virtual StatusCode finalize()
virtual StatusCode initialize()
set up/tear down functions
::AthService AsgServiceBase
Definition AsgService.h:29