ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
StoreGateTests
src
SgStressConsumer.h
Go to the documentation of this file.
1
2
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SgStressConsumer::readData
StatusCode readData()
Retrieve data.
Definition
SgStressConsumer.cxx:86
SgStressConsumer::m_nObjs
std::size_t m_nObjs
Number of payload objects.
Definition
SgStressConsumer.h:75
SgStressConsumer::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
SgStressConsumer.cxx:76
SgStressConsumer::SgStressConsumer
SgStressConsumer(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Definition
SgStressConsumer.cxx:32
SgStressConsumer::SgStressConsumer
SgStressConsumer()
Default constructor:
SgStressConsumer::m_dataName
std::string m_dataName
Name of the input data.
Definition
SgStressConsumer.h:72
SgStressConsumer::~SgStressConsumer
virtual ~SgStressConsumer()
Destructor:
Definition
SgStressConsumer.cxx:53
SgStressConsumer::initialize
virtual StatusCode initialize()
Definition
SgStressConsumer.cxx:60
SgStressConsumer::finalize
virtual StatusCode finalize()
Definition
SgStressConsumer.cxx:70
Generated on
for ATLAS Offline Software by
1.17.0