|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Typed wrapper over Pds::ListBase (private base) in which every operation holds a per-object Pds::SpinLock. More...
#include <LinkedListSL.hh>
Inherits Pds::ListBase.
Public Member Functions | |
| ~LinkedListSL () | |
| Does nothing; empty body. | |
| LinkedListSL () | |
| Construct an element linked to itself (ListBase default constructor). | |
| LinkedListSL (T *listhead) | |
| Construct with ListBase(listhead). | |
| T * | connect (T *after) |
| Under the lock, insert this element after after (ListBase::connect()) and return after as T*. | |
| T * | disconnect () |
| Under the lock, unlink this element (ListBase::disconnect()) and return it as T*. | |
| T * | insert (ListBase *entry) |
| Under the lock, call ListBase::insert(entry) and return the result as T*. | |
| T * | insertList (ListBase *list) |
| Under the lock, call ListBase::insertList(list) and return the result as T*. | |
| T * | remove () |
| Under the lock, call ListBase::remove() and return the result as T*. | |
| T * | empty () const |
| Under the lock, return ListBase::empty() as T*. | |
| T * | forward () const |
| Under the lock, return the next element as T*. | |
| T * | reverse () const |
| Under the lock, return the previous element as T*. | |
Typed wrapper over Pds::ListBase (private base) in which every operation holds a per-object Pds::SpinLock.
|
inline |
Does nothing; empty body.
|
inline |
Construct an element linked to itself (ListBase default constructor).
|
inline |
Construct with ListBase(listhead).
|
inline |
Under the lock, insert this element after after (ListBase::connect()) and return after as T*.
|
inline |
Under the lock, unlink this element (ListBase::disconnect()) and return it as T*.
|
inline |
Under the lock, return ListBase::empty() as T*.
|
inline |
Under the lock, return the next element as T*.
|
inline |
Under the lock, call ListBase::insert(entry) and return the result as T*.
|
inline |
Under the lock, call ListBase::insertList(list) and return the result as T*.
|
inline |
Under the lock, call ListBase::remove() and return the result as T*.
|
inline |
Under the lock, return the previous element as T*.