sc::ActiveMessage Class Reference

Derivatives of ActiveMessage can be constructed in one process and executed in another by using ActiveMessageGrp. More...

#include <util/group/actmsg.h>

Inheritance diagram for sc::ActiveMessage:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ActiveMessage (StateIn &s)
void save_data_state (StateOut &)
 Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
virtual void run (int sender, int type, ActiveMessageGrp *context)=0
 This is called when ActiveMessageGrp is used to send an ActiveMessage object to a process.


Detailed Description

Derivatives of ActiveMessage can be constructed in one process and executed in another by using ActiveMessageGrp.

Member Function Documentation

void sc::ActiveMessage::save_data_state ( StateOut  )  [inline, virtual]

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.

This must be implemented by the derived class if the class has data.

Reimplemented from sc::SavableState.

Reimplemented in sc::ActiveMessageEcho.

virtual void sc::ActiveMessage::run ( int  sender,
int  type,
ActiveMessageGrp context 
) [pure virtual]

This is called when ActiveMessageGrp is used to send an ActiveMessage object to a process.

Implemented in sc::ActiveMessageEcho.


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

Generated at Sun Feb 22 10:13:02 2009 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.6.
These pages are hosted on SourceForge.net