|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Header in front of each pool buffer: two words used as queue links while the buffer is free, the owning Pool and a tag. More...
#include <PoolEntry.hh>
Public Member Functions | |
| PoolEntry (Pool *) | |
| Record the owning pool and set the tag to 0xffffffff. | |
| void * | operator new (size_t, char *) |
| Placement new: return p (the size is not used). | |
Static Public Member Functions | |
| static PoolEntry * | entry (void *buffer) |
| Return the PoolEntry header that precedes the user buffer buffer. | |
Public Attributes | |
| void * | _opaque [2] |
| Two words used as the Entry queue links while the buffer is on the free list of a GenericPool. | |
| Pool * | _pool |
| Pool that owns the buffer; Pool::free(void*) returns it there. | |
| unsigned long | _tag |
| Set to 0xffffffff by the constructor; not read elsewhere in psdaq. | |
Protected Member Functions | |
| PoolEntry () | |
Header in front of each pool buffer: two words used as queue links while the buffer is free, the owning Pool and a tag.
The user buffer starts right after it.
|
inline |
Record the owning pool and set the tag to 0xffffffff.
|
inlineprotected |
|
inlinestatic |
Return the PoolEntry header that precedes the user buffer buffer.
|
inline |
Placement new: return p (the size is not used).
| void* Pds::PoolEntry::_opaque[2] |
Two words used as the Entry queue links while the buffer is on the free list of a GenericPool.
| Pool* Pds::PoolEntry::_pool |
Pool that owns the buffer; Pool::free(void*) returns it there.
| unsigned long Pds::PoolEntry::_tag |
Set to 0xffffffff by the constructor; not read elsewhere in psdaq.