moving terminate() to SimulatorController
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1017 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -282,4 +282,12 @@ T* SimulatorController::getExperimentData()
|
||||
return (concreteExpDat);
|
||||
}
|
||||
|
||||
void SimulatorController::terminate(int exCode)
|
||||
{
|
||||
// Attention: This could cause problems, e.g., because of non-closed sockets
|
||||
std::cout << "[FAIL] Exit called by experiment with exit code: " << exCode << std::endl;
|
||||
// TODO: (Non-)Verbose-Mode?
|
||||
exit(exCode);
|
||||
}
|
||||
|
||||
} // end-of-namespace: sal
|
||||
|
||||
Reference in New Issue
Block a user