PEARL
Parallel Event Access and Replay Library
Static Public Attributes | Friends | List of all members
pearl::AmHandler Class Referenceabstract

Base class for active message handlers. More...

#include <pearl/AmHandler.h>

Inheritance diagram for pearl::AmHandler:
pearl::uncopyable::Uncopyable

Public Member Functions

Query functions
uint32_t getId ()
 
Target-side functionality
virtual void execute (Buffer &buffer)=0
 

Static Public Attributes

static const uint32_t UNREGISTERED
 Identifier for unregistered handlers. More...
 

Protected Member Functions

Constructors & destructor
 AmHandler ()
 
virtual ~AmHandler ()
 
External interfaces
void setId (uint32_t id)
 
Debugging information
virtual const std::string & getName () const =0
 

Friends

class AmRuntime
 

Detailed Description

This is the base class for active message handlers. Only handlers derived of this base class can be registered with the AmRuntime object.

Constructor & Destructor Documentation

◆ AmHandler()

pearl::AmHandler::AmHandler ( )
protected

◆ ~AmHandler()

virtual pearl::AmHandler::~AmHandler ( )
protectedvirtual

Member Function Documentation

◆ execute()

virtual void pearl::AmHandler::execute ( Buffer buffer)
pure virtual

◆ getId()

uint32_t pearl::AmHandler::getId ( )

◆ getName()

virtual const std::string& pearl::AmHandler::getName ( ) const
protectedpure virtual

◆ setId()

void pearl::AmHandler::setId ( uint32_t  id)
protected

Friends And Related Function Documentation

◆ AmRuntime

friend class AmRuntime
friend

Member Data Documentation

◆ UNREGISTERED

const uint32_t pearl::AmHandler::UNREGISTERED
static

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