/* * FragmentController_JobIdProxy.hpp * * Created on: Sep 26, 2012 * Author: heber */ #ifndef FRAGMENTCONTROLLER_JOBIDPROXY_HPP_ #define FRAGMENTCONTROLLER_JOBIDPROXY_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "JobMarket/types.hpp" class FragmentController; /** In order to grant controller_SystemCommandJob access to a special setter * inside FragmentController in order for the test program Controller to work * properly. * * The problem is that we add the jobs (and thereby the ids) in one call of * the executable and receiveresults in another where the ods are no longer * known. * * But we don't to allow overriding internally stored jobids from about * anywhere. I.e. this must not be misused as is for these purpose of external * programs needing to pass on jobids in some different manner. */ class FragmentController_JobIdProxy { protected: static void setJobids(FragmentController &controller, const std::vector &ids); }; #endif /* FRAGMENTCONTROLLER_JOBIDPROXY_HPP_ */