SHOGUN
v3.2.0
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2013 Soumyajit De 00008 */ 00009 00010 #ifndef SERIAL_COMPUTATION_ENGINE_H_ 00011 #define SERIAL_COMPUTATION_ENGINE_H_ 00012 00013 #include <shogun/lib/config.h> 00014 #include <shogun/lib/computation/engine/IndependentComputationEngine.h> 00015 00016 namespace shogun 00017 { 00018 00022 class CSerialComputationEngine : public CIndependentComputationEngine 00023 { 00024 public: 00026 CSerialComputationEngine(); 00027 00029 virtual ~CSerialComputationEngine(); 00030 00037 virtual void submit_job(CIndependentJob* job); 00038 00043 virtual void wait_for_all(); 00044 00046 virtual const char* get_name() const 00047 { 00048 return "SerialComputationEngine"; 00049 } 00050 }; 00051 00052 } 00053 00054 #endif // SERIAL_COMPUTATION_ENGINE_H_