![]() |
ATLAS Offline Software
|
a guard class for use with ref FilterReporterParams More...
#include <FilterReporter.h>
Public Member Functions | |
FilterReporter (FilterReporterParams &val_params, bool val_passedDefault) | |
standard constructor More... | |
FilterReporter (const FilterReporterParams &val_params, bool val_passedDefault, const EventContext &val_eventContext) | |
standard re-entrant constructor More... | |
~FilterReporter () noexcept | |
standard destructor More... | |
void | setPassed (bool val_passed=true) noexcept |
report the filter decision More... | |
Private Attributes | |
const FilterReporterParams & | m_params |
the FilterReporterParams object More... | |
bool | m_passed {false} |
the value of passed we will set More... | |
const EventContext * | m_eventContext {} |
current EventContext reference More... | |
a guard class for use with ref FilterReporterParams
In order to ensure that the filter decision will always be set as part of execute()
, this guard class should be used like this:
Definition at line 34 of file FilterReporter.h.
FilterReporter::FilterReporter | ( | FilterReporterParams & | val_params, |
bool | val_passedDefault | ||
) |
standard constructor
Definition at line 25 of file FilterReporter.cxx.
FilterReporter::FilterReporter | ( | const FilterReporterParams & | val_params, |
bool | val_passedDefault, | ||
const EventContext & | val_eventContext | ||
) |
standard re-entrant constructor
Definition at line 40 of file FilterReporter.cxx.
|
noexcept |
|
noexcept |
|
private |
current EventContext reference
Definition at line 89 of file FilterReporter.h.
|
private |
the FilterReporterParams object
Definition at line 81 of file FilterReporter.h.
|
private |
the value of passed we will set
Definition at line 85 of file FilterReporter.h.