#include <scipParaInterruptMsgMonitor.h>
Public Member Functions | |
ScipParaInterruptMsgMonitor () | |
ScipParaInterruptMsgMonitor (UG::ParaComm *comm, ScipParaSolver *inScipParaSolver) | |
virtual | ~ScipParaInterruptMsgMonitor () |
void | run () |
void | terminate () |
Protected Attributes | |
UG::ParaComm * | paraComm |
ParaCommunicator object. More... | |
ScipParaSolver * | scipParaSolver |
pointer to ScipParaSolver object More... | |
Private Attributes | |
bool | terminateRequested |
int | rank |
rank of this Monitor More... | |
Definition at line 50 of file scipParaInterruptMsgMonitor.h.
Definition at line 58 of file scipParaInterruptMsgMonitor.h.
References THROW_LOGICAL_ERROR1.
ScipParaInterruptMsgMonitor | ( | UG::ParaComm * | comm, |
ScipParaSolver * | inScipParaSolver | ||
) |
Definition at line 48 of file scipParaInterruptMsgMonitor.cpp.
References ParaComm::getRank(), ScipParaInterruptMsgMonitor::paraComm, and ScipParaInterruptMsgMonitor::rank.
|
virtual |
Definition at line 67 of file scipParaInterruptMsgMonitor.h.
void run | ( | ) |
Definition at line 58 of file scipParaInterruptMsgMonitor.cpp.
References DEF_SCIP_PARA_COMM, ScipParaSolver::getScip(), ScipParaSolver::isInterrupting(), ScipParaInterruptMsgMonitor::paraComm, ScipParaSolver::processTagInterruptRequest(), ScipParaInterruptMsgMonitor::rank, ScipParaInterruptMsgMonitor::scipParaSolver, ParaComm::setLocalRank(), UG::TagInterruptRequest, and ScipParaInterruptMsgMonitor::terminateRequested.
Referenced by ScipParaSolver::runInterruptMsgMonitorThread().
void terminate | ( | ) |
Definition at line 71 of file scipParaInterruptMsgMonitor.h.
References ScipParaInterruptMsgMonitor::scipParaSolver, and ScipParaInterruptMsgMonitor::terminateRequested.
Referenced by ScipParaSolver::~ScipParaSolver().
|
protected |
ParaCommunicator object.
Definition at line 55 of file scipParaInterruptMsgMonitor.h.
Referenced by ScipParaInterruptMsgMonitor::run(), and ScipParaInterruptMsgMonitor::ScipParaInterruptMsgMonitor().
|
private |
rank of this Monitor
Definition at line 53 of file scipParaInterruptMsgMonitor.h.
Referenced by ScipParaInterruptMsgMonitor::run(), and ScipParaInterruptMsgMonitor::ScipParaInterruptMsgMonitor().
|
protected |
pointer to ScipParaSolver object
Definition at line 56 of file scipParaInterruptMsgMonitor.h.
Referenced by ScipParaInterruptMsgMonitor::run(), and ScipParaInterruptMsgMonitor::terminate().
|
private |
Definition at line 52 of file scipParaInterruptMsgMonitor.h.
Referenced by ScipParaInterruptMsgMonitor::run(), and ScipParaInterruptMsgMonitor::terminate().