#include <source/toolbox/parallel/RelaunchableJob.h>
Inheritance diagram for SAMRAI::tbox::RelaunchableJob:
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 AsyncCommGroup * | getCommunicationGroup ()=0 |
Get the communication group object that the job uses for communications. |
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.
|
|
|
Default constructor.
|
|
Destructor. Deallocate internal data. |
|
Continue the user-defined job. |
|
Get the current state of the job, as a JobState enumeration.
|
|
Get the communication group object that the job uses for communications.
|