#include <msa-DistPageMgr.h>
Public Member Functions | |
MSA_Listeners () | |
~MSA_Listeners () | |
void | add (MSA_Listener *l) |
Add this listener to your set. Calls l->add(). | |
unsigned int | size (void) const |
Return the number of listeners in our set. | |
void | signal (unsigned int pageNo) |
Signal all added listeners and remove them from the set. | |
Private Attributes | |
CkVec< MSA_Listener * > | listeners |
Definition at line 45 of file msa-DistPageMgr.h.
MSA_Listeners::MSA_Listeners | ( | ) |
Definition at line 7 of file msa-distArray.C.
MSA_Listeners::~MSA_Listeners | ( | ) |
Definition at line 24 of file msa-distArray.C.
References listeners, and CkVec< T >::size().
void MSA_Listeners::add | ( | MSA_Listener * | l | ) |
Add this listener to your set. Calls l->add().
Add this listener to your set.
Definition at line 10 of file msa-distArray.C.
References MSA_Listener::add(), listeners, and CkVec< T >::push_back().
Referenced by MSA_CacheGroup< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::addAndSuspend().
unsigned int MSA_Listeners::size | ( | void | ) | const [inline] |
Return the number of listeners in our set.
Definition at line 55 of file msa-DistPageMgr.h.
References listeners, and CkVec< T >::size().
void MSA_Listeners::signal | ( | unsigned int | pageNo | ) |
Signal all added listeners and remove them from the set.
Definition at line 16 of file msa-distArray.C.
References listeners, CkVec< T >::resize(), and CkVec< T >::size().
CkVec<MSA_Listener *> MSA_Listeners::listeners [private] |
Definition at line 46 of file msa-DistPageMgr.h.
Referenced by add(), signal(), size(), and ~MSA_Listeners().