Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SAMRAI::tbox::RelaunchableJob Class Reference

Define interface for a relaunchable job managed by JobRelauncher. More...

#include <source/toolbox/parallel/RelaunchableJob.h>

Inheritance diagram for SAMRAI::tbox::RelaunchableJob:

Inheritance graph
[legend]
List of all members.

Public Types

enum  JobState { COMMUNICATION_WAIT = 0, NONCOMMUNICATION_WAIT = 1, JOB_IS_COMPLETED = 2 }

Public Member Functions

 RelaunchableJob ()
 Default constructor.
virtual ~RelaunchableJob (void)
 Destructor.
virtual void continueJob ()=0
virtual JobState getJobState ()=0
 Get the current state of the job, as a JobState enumeration.
virtual AsyncCommGroupgetCommunicationGroup ()=0
 Get the communication group object that the job uses for communications.

Detailed Description

Define interface for a relaunchable job managed by JobRelauncher.

This is a strategy class for use with JobRelauncher.

The implemented job should be written to be able to pause during a communication or non-communication wait.


Member Enumeration Documentation

enum SAMRAI::tbox::RelaunchableJob::JobState
 

Enumeration values:
COMMUNICATION_WAIT 
NONCOMMUNICATION_WAIT 
JOB_IS_COMPLETED 


Constructor & Destructor Documentation

SAMRAI::tbox::RelaunchableJob::RelaunchableJob  )  [inline]
 

Default constructor.

virtual SAMRAI::tbox::RelaunchableJob::~RelaunchableJob void   )  [inline, virtual]
 

Destructor.

Deallocate internal data.


Member Function Documentation

virtual void SAMRAI::tbox::RelaunchableJob::continueJob  )  [pure virtual]
 

Continue the user-defined job.

virtual JobState SAMRAI::tbox::RelaunchableJob::getJobState  )  [pure virtual]
 

Get the current state of the job, as a JobState enumeration.

virtual AsyncCommGroup* SAMRAI::tbox::RelaunchableJob::getCommunicationGroup  )  [pure virtual]
 

Get the communication group object that the job uses for communications.


The documentation for this class was generated from the following file:
Generated on Fri Dec 2 11:33:33 2005 for SAMRAI by  doxygen 1.4.2