holder_list Class Reference

Collaboration diagram for holder_list:

Collaboration graph
[legend]
List of all members.

Detailed Description

The list-handling class for latch_holder_t instances.

Really, all this does is provide an iterator and a means to insert (push_front) and remove (unlink) these things.

The list contents are always instances of latch_holder_t, which have an internal link for creating the list.

Definition at line 141 of file latch.cpp.

Public Member Functions

 holder_list (latch_holder_t *&first)
iterator begin ()
 Dereferencing this iterator brings us to the first item in the list.
iterator end ()
 Dereferencing this iterator brings us past the last item in any list.
void push_front (latch_holder_t *h)
 Insert h at the front of this list.
latch_holder_tunlink (iterator const &it)
 Remove whatever is the current item for the given iterator.

Classes

struct  iterator
 Iterator over a list of latch_holder_t structures. More...


The documentation for this class was generated from the following file:
Generated on Mon Jan 2 15:14:05 2012 for Shore Storage Manager by  doxygen 1.4.7