SAGA Adaptor CPI v.1.0
|
00001 // Copyright (c) 2005 Stephan Hirmer (shirmer@cct.lsu.edu) 00002 // 00003 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00005 00006 #ifndef BULK_STRATEGY_SIMPLE_SORT_HPP 00007 #define BULK_STRATEGY_SIMPLE_SORT_HPP 00008 00009 #include <saga/impl/config.hpp> 00010 #include <saga/impl/engine/task.hpp> 00011 #include <saga/impl/engine/bulk_analyser.hpp> 00012 #include <saga/impl/engine/bulk_analyser_impr.hpp> 00013 00014 #include <saga/saga/adaptors/bulk_strategy_base.hpp> 00015 00016 #if defined(BOOST_MSVC) 00017 #pragma warning(push) 00018 #pragma warning(disable: 4251 4231 4275 4660) 00019 #endif 00020 00021 namespace saga 00022 { 00023 namespace adaptors 00024 { 00025 class bulk_strategy_simple_sort : public bulk_strategy_base 00026 { 00027 private: 00028 int bond_apply(sorted_tc_type & analyser_res); 00029 00030 TR1::shared_ptr <saga::impl::v1_0::cpi> my_bulk_adaptor; 00031 00032 protected: 00033 public: 00034 00038 bulk_strategy_simple_sort(void); 00039 00043 ~bulk_strategy_simple_sort(void){} 00044 00056 virtual void apply(sorted_tc_type& analyser_res); 00057 }; 00058 } 00059 } 00060 00061 #endif // BULK_STRATEGY_SIMPLE_SORT_HPP