ATLAS Offline Software
Loading...
Searching...
No Matches
T2pMap.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "SGTools/T2pMap.h"
6using namespace SG;
7std::vector<const DataProxy*> T2pMap::pacReport() const {
8 std::vector<const DataProxy*> notAccessed;
9 if (m_pac) {
10 std::lock_guard<std::mutex> lock (m_mutex);
11 t2p::const_iterator i(m_t2p.begin()), e(m_t2p.end());
12 while (i != e) {
13 if (!m_pac->accessed(i->first)) notAccessed.push_back(i->second);
14 ++i;
15 }
16 }
17 return notAccessed;
18}
t2p m_t2p
Definition T2pMap.h:72
std::vector< const DataProxy * > pacReport() const
request an access control report, i.e. a list of proxies that have not been accessed since under cont...
Definition T2pMap.cxx:7
std::mutex m_mutex
Definition T2pMap.h:73
IPageAccessControlSvc * m_pac
Definition T2pMap.h:71
Forward declaration.