ATLAS Offline Software
Loading...
Searching...
No Matches
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
19#include "GaudiKernel/ServiceHandle.h"
20
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
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode readData()
Retrieve data.
std::size_t m_nObjs
Number of payload objects.
SgStressConsumer(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SgStressConsumer()
Default constructor:
virtual StatusCode execute()
std::string m_dataName
Name of the input data.
virtual ~SgStressConsumer()
Destructor:
virtual StatusCode initialize()
virtual StatusCode finalize()