#include <SGCommitAuditor.h>
|
| | SGCommitAuditor (const std::string &name, ISvcLocator *pSvcLocator) |
| virtual | ~SGCommitAuditor () |
| virtual StatusCode | initialize () override |
| virtual void | after (const std::string &event, const std::string &name, const EventContext &, const StatusCode &) override |
Definition at line 25 of file SGCommitAuditor.h.
◆ SGCommitAuditor()
| SGCommitAuditor::SGCommitAuditor |
( |
const std::string & | name, |
|
|
ISvcLocator * | pSvcLocator ) |
Definition at line 10 of file SGCommitAuditor.cxx.
12 :Auditor(name,pSvcLocator),
13 p_sg(
"StoreGateSvc", name)
14{
15
16}
ServiceHandle< IHiveStoreMgr > p_sg
◆ ~SGCommitAuditor()
| SGCommitAuditor::~SGCommitAuditor |
( |
| ) |
|
|
virtual |
◆ after()
| void SGCommitAuditor::after |
( |
const std::string & | event, |
|
|
const std::string & | name, |
|
|
const EventContext & | , |
|
|
const StatusCode & | ) |
|
overridevirtual |
Definition at line 31 of file SGCommitAuditor.cxx.
32 {
33 if (event != Gaudi::IAuditor::Execute) {
34 return;
35 }
36 p_sg->commitNewDataObjects();
37}
◆ initialize()
| StatusCode SGCommitAuditor::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 23 of file SGCommitAuditor.cxx.
23 {
25
26 return StatusCode::SUCCESS;
27}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ p_sg
The documentation for this class was generated from the following files: