#include <connlist.h>

Public Member Functions | |
| ConnectionList (void) | |
| ~ConnectionList (void) | |
| void | add (const Connection *) |
| void | remove (const Connection *) |
| template<class Func> | |
| void | mutexed_for_each (const Func &f) |
Private Attributes | |
| std::list< Connection * > | list |
| pthread_mutex_t | mutex |
Definition at line 60 of file connlist.h.
| ConnectionList::ConnectionList | ( | void | ) |
| ConnectionList::~ConnectionList | ( | void | ) |
| void ConnectionList::add | ( | const Connection * | conn | ) |
| void ConnectionList::remove | ( | const Connection * | conn | ) |
| void ConnectionList::mutexed_for_each | ( | const Func & | f | ) | [inline] |
Definition at line 83 of file connlist.h.
References Outlet::get_id(), list, mutex, and PTHREAD_CHECK_AND_THROW.

std::list<Connection*> ConnectionList::list [private] |
pthread_mutex_t ConnectionList::mutex [private] |
Definition at line 74 of file connlist.h.
Referenced by add(), ConnectionList(), mutexed_for_each(), remove(), and ~ConnectionList().
1.5.5