/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2012 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * RemoveAllWorkerOperation.cpp * * Created on: May 03, 2012 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif // boost asio needs specific operator new #include #include "CodePatterns/MemDebug.hpp" #include "RemoveAllWorkerOperation.hpp" #include #include #include "Connection.hpp" // Must come before boost/serialization headers. #include "CodePatterns/Info.hpp" #include "ControllerChoices.hpp" /** Virtual internal function to give shutdown choice. * */ void RemoveAllWorkerOperation::internal() { Info info(__FUNCTION__); enum ControllerChoices choice = RemoveAll; connection_.sync_write(choice); }