#include <T2pMap.h>
Definition at line 21 of file T2pMap.h.
◆ t2p
◆ T2pMap()
Definition at line 28 of file T2pMap.h.
IPageAccessControlSvc * m_pac
◆ ~T2pMap()
◆ clear()
| void SG::T2pMap::clear |
( |
| ) |
|
|
inline |
Definition at line 53 of file T2pMap.h.
53 {
54 std::lock_guard<std::mutex> lock (
m_mutex);
56 }
◆ locatePersistent()
| DataProxy * SG::T2pMap::locatePersistent |
( |
const void *const | pTransient | ) |
const |
|
inline |
Definition at line 42 of file T2pMap.h.
42 {
43 std::lock_guard<std::mutex> lock (
m_mutex);
44 t2p::const_iterator
i =
m_t2p.find(pTransient);
45
47 return 0;
48 else
50 }
◆ pacReport()
| std::vector< const DataProxy * > T2pMap::pacReport |
( |
| ) |
const |
request an access control report, i.e. a list of proxies that have not been accessed since under control;
Definition at line 7 of file T2pMap.cxx.
7 {
8 std::vector<const DataProxy*> notAccessed;
10 std::lock_guard<std::mutex> lock (
m_mutex);
12 while (i != e) {
13 if (!
m_pac->accessed(
i->first)) notAccessed.push_back(
i->second);
15 }
16 }
17 return notAccessed;
18}
◆ setPac()
◆ t2pRegister()
| bool SG::T2pMap::t2pRegister |
( |
const void *const | pTrans, |
|
|
DataProxy *const | pPers ) |
|
inline |
Definition at line 34 of file T2pMap.h.
34 {
35 std::lock_guard<std::mutex> lock (
m_mutex);
36 bool success(
m_t2p.insert (std::make_pair (pTrans, pPers)) . second);
38 return success;
39 }
◆ t2pRemove()
| void SG::T2pMap::t2pRemove |
( |
const void *const | pTrans | ) |
|
|
inline |
Definition at line 59 of file T2pMap.h.
59 {
60 std::lock_guard<std::mutex> lock (
m_mutex);
62 }
◆ m_mutex
| std::mutex SG::T2pMap::m_mutex |
|
mutableprivate |
◆ m_pac
◆ m_t2p
The documentation for this class was generated from the following files: