SAGA Adaptor CPI v.1.0
|
#include <bulk_strategy_base.hpp>
Public Member Functions | |
bulk_strategy_base (void) | |
virtual | ~bulk_strategy_base (void) |
virtual void | apply (sorted_tc_type &analyser_res_) |
virtual void | complete_wait (void) |
Protected Types | |
typedef saga::impl::bulk_analyser::sorted_tc_type | sorted_tc_type |
Protected Member Functions | |
void | default_process_func_name (std::string const &func_name, std::string &cpi_name_, std::string &op_name_) |
Protected Attributes | |
boost::futures::simple_future < int > | thread_ |
common base class for bulk strategy execution.
Definition at line 44 of file bulk_strategy_base.hpp.
typedef saga::impl::bulk_analyser::sorted_tc_type saga::adaptors::bulk_strategy_base::sorted_tc_type [protected] |
Definition at line 56 of file bulk_strategy_base.hpp.
saga::adaptors::bulk_strategy_base::bulk_strategy_base | ( | void | ) |
constructor
Definition at line 41 of file bulk_strategy_base.cpp.
saga::adaptors::bulk_strategy_base::~bulk_strategy_base | ( | void | ) | [virtual] |
destructor
Definition at line 46 of file bulk_strategy_base.cpp.
void saga::adaptors::bulk_strategy_base::default_process_func_name | ( | std::string const & | func_name, |
std::string & | cpi_name_, | ||
std::string & | op_name_ | ||
) | [protected] |
retrieves the cpi name and the function name from a given function name.
Definition at line 62 of file bulk_strategy_base.cpp.
void saga::adaptors::bulk_strategy_base::apply | ( | sorted_tc_type & | analyser_res_ | ) | [virtual] |
virtual function to apply the implemented execution strategy to a given set of tasks.
Reimplemented in saga::adaptors::bulk_strategy_simple_sort, and saga::adaptors::bulk_strategy_try_exec.
Definition at line 50 of file bulk_strategy_base.cpp.
References saga::NotImplemented.
void saga::adaptors::bulk_strategy_base::complete_wait | ( | void | ) | [virtual] |
Definition at line 56 of file bulk_strategy_base.cpp.
References thread_.
boost::futures::simple_future<int> saga::adaptors::bulk_strategy_base::thread_ [protected] |
Definition at line 58 of file bulk_strategy_base.hpp.
Referenced by complete_wait().