ATLAS Offline Software
Control
PerformanceMonitoring
PerfMonTests
src
PerfMonTestErroneousAlg.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
// PerfMonTestErroneousAlg.h
8
// Header file for class PerfMonTest::ErroneousAlg
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
12
#define PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
13
14
// STL includes
15
#include <string>
16
#include <list>
17
#include <vector>
18
19
20
// FrameWork includes
21
#include "
AthenaBaseComps/AthAlgorithm.h
"
22
#include "GaudiKernel/ServiceHandle.h"
23
24
namespace
PerfMonTest
{
25
26
class
ErroneousAlg
:
public
AthAlgorithm
27
{
28
30
// Public methods:
32
public
:
33
34
// Copy constructor:
35
37
ErroneousAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
38
40
virtual
~ErroneousAlg
();
41
42
// Assignment operator:
43
//ErroneousAlg &operator=(const ErroneousAlg &alg);
44
45
// Athena algorithm's Hooks
46
virtual
StatusCode
initialize
();
47
virtual
StatusCode
execute
();
48
virtual
StatusCode
finalize
();
49
50
52
// Private data:
54
private
:
55
57
ErroneousAlg
();
58
60
bool
jumpOnUninitializedValue
();
61
bool
invalidRead
();
62
bool
mismatchedFree
();
63
64
bool
shouldIJump
(
bool
shouldIJump
)
65
{
66
return
not
shouldIJump
;
67
}
68
69
};
70
71
72
}
//> end namespace PerfMonTest
73
74
#endif //> PERFMONTESTS_PERFMONTESTERRONEOUSALG_H
PerfMonTest::ErroneousAlg::mismatchedFree
bool mismatchedFree()
Definition:
PerfMonTestErroneousAlg.cxx:125
PerfMonTest::ErroneousAlg::shouldIJump
bool shouldIJump(bool shouldIJump)
Definition:
PerfMonTestErroneousAlg.h:64
PerfMonTest::ErroneousAlg::invalidRead
bool invalidRead()
Definition:
PerfMonTestErroneousAlg.cxx:93
PerfMonTest::ErroneousAlg::execute
virtual StatusCode execute()
Definition:
PerfMonTestErroneousAlg.cxx:56
AthAlgorithm.h
PerfMonTest::ErroneousAlg::~ErroneousAlg
virtual ~ErroneousAlg()
Destructor:
Definition:
PerfMonTestErroneousAlg.cxx:36
PerfMonTest::ErroneousAlg
Definition:
PerfMonTestErroneousAlg.h:27
PerfMonTest::ErroneousAlg::ErroneousAlg
ErroneousAlg()
Default constructor:
PerfMonTest::ErroneousAlg::jumpOnUninitializedValue
bool jumpOnUninitializedValue()
three member functions which will exhibit faulty behaviour
Definition:
PerfMonTestErroneousAlg.cxx:72
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PerfMonTest
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
Definition:
Control/PerformanceMonitoring/PerfMonTests/src/Hit.h:7
AthAlgorithm
Definition:
AthAlgorithm.h:47
PerfMonTest::ErroneousAlg::finalize
virtual StatusCode finalize()
Definition:
PerfMonTestErroneousAlg.cxx:49
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
PerfMonTest::ErroneousAlg::initialize
virtual StatusCode initialize()
Definition:
PerfMonTestErroneousAlg.cxx:43
Generated on Sun Dec 22 2024 21:16:06 for ATLAS Offline Software by
1.8.18