PPL Logo

MSA_Listeners Class Reference

Keeps a list of MSA_Listeners. More...

#include <msa-DistPageMgr.h>

Collaboration diagram for MSA_Listeners:

Collaboration graph
[legend]

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

Detailed Description

Keeps a list of MSA_Listeners.

Definition at line 45 of file msa-DistPageMgr.h.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Field Documentation

Definition at line 46 of file msa-DistPageMgr.h.

Referenced by add(), signal(), size(), and ~MSA_Listeners().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:27:46 2020 for Charm++ by  doxygen 1.5.5