ATLAS Offline Software
Control
StoreGateTests
src
SgStressConsumer.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// SgStressConsumer.h
8
// Header file for class SgStressConsumer
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef STOREGATETESTS_SGSTRESSCONSUMER_H
12
#define STOREGATETESTS_SGSTRESSCONSUMER_H
13
14
// STL includes
15
#include <string>
16
17
// FrameWork includes
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "GaudiKernel/ServiceHandle.h"
20
21
class
SgStressConsumer
:
public
AthAlgorithm
22
{
23
25
// Public methods:
27
public
:
28
29
// Copy constructor:
30
32
SgStressConsumer
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
33
35
virtual
~SgStressConsumer
();
36
37
// Assignment operator:
38
//SgStressConsumer &operator=(const SgStressConsumer &alg);
39
40
// Athena algorithm's Hooks
41
virtual
StatusCode
initialize
();
42
virtual
StatusCode
execute
();
43
virtual
StatusCode
finalize
();
44
46
// Const methods:
48
50
// Non-const methods:
52
54
// Private methods:
56
private
:
57
59
SgStressConsumer
();
60
62
StatusCode
readData
();
63
65
// Private data:
67
private
:
68
69
// Containers
70
72
std::string
m_dataName
;
73
75
std::size_t
m_nObjs
;
76
77
};
78
79
// I/O operators
81
83
// Inline methods:
85
86
#endif //> STOREGATETESTS_SGSTRESSCONSUMER_H
SgStressConsumer::finalize
virtual StatusCode finalize()
Definition:
SgStressConsumer.cxx:70
SgStressConsumer
Definition:
SgStressConsumer.h:22
SgStressConsumer::~SgStressConsumer
virtual ~SgStressConsumer()
Destructor:
Definition:
SgStressConsumer.cxx:53
AthAlgorithm.h
SgStressConsumer::m_nObjs
std::size_t m_nObjs
Number of payload objects.
Definition:
SgStressConsumer.h:75
SgStressConsumer::initialize
virtual StatusCode initialize()
Definition:
SgStressConsumer.cxx:60
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
SgStressConsumer::SgStressConsumer
SgStressConsumer()
Default constructor:
SgStressConsumer::readData
StatusCode readData()
Retrieve data.
Definition:
SgStressConsumer.cxx:86
SgStressConsumer::execute
virtual StatusCode execute()
Definition:
SgStressConsumer.cxx:76
SgStressConsumer::m_dataName
std::string m_dataName
Name of the input data.
Definition:
SgStressConsumer.h:72
Generated on Mon Dec 23 2024 21:18:14 for ATLAS Offline Software by
1.8.18