PEARL
Parallel Event Access and Replay Library
Public Types | Friends | List of all members
pearl::AmListener Class Referenceabstract

Base class for listener objects. More...

#include <pearl/AmListener.h>

Inheritance diagram for pearl::AmListener:
pearl::uncopyable::Uncopyable pearl::MpiAmListener

Public Types

typedef AmListenerPtr
 Reference-counted pointer to a listener object. To ensure proper deallocation of a listener object, they should only be handled through these pointer types. More...
 

Public Member Functions

Handling incoming messages
virtual bool probe ()=0
 
Reference counting interface
void addReference ()
 
void removeReference ()
 
size_t numReferences () const
 

Static Public Member Functions

Factory methods
static AmListener::Ptr create (const pearl::Communicator &)
 

Protected Member Functions

Constructors & destructor
 AmListener (Buffer *buffer)
 
virtual ~AmListener ()
 
Access methods for derived classes
BuffergetBuffer ()
 

Friends

class AmRuntime
 

Detailed Description

Base class of Listener objects used by the AmRuntime class to receive active messages.

Member Typedef Documentation

◆ Ptr

Todo:
Make AmListener::Ptr an RCSP.

Constructor & Destructor Documentation

◆ AmListener()

pearl::AmListener::AmListener ( Buffer buffer)
protected

◆ ~AmListener()

virtual pearl::AmListener::~AmListener ( )
protectedvirtual

Member Function Documentation

◆ addReference()

void pearl::AmListener::addReference ( )

◆ create()

static AmListener::Ptr pearl::AmListener::create ( const pearl::Communicator )
static

◆ getBuffer()

Buffer& pearl::AmListener::getBuffer ( )
protected

◆ numReferences()

size_t pearl::AmListener::numReferences ( ) const

◆ probe()

virtual bool pearl::AmListener::probe ( )
pure virtual

Implemented in pearl::MpiAmListener.

◆ removeReference()

void pearl::AmListener::removeReference ( )

Friends And Related Function Documentation

◆ AmRuntime

friend class AmRuntime
friend

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

Scalasca    Copyright © 1998–2019 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming