Property map that caches values placed in it but does not broadcast values to remote processors. More...
#include <caching_property_map.hpp>
Public Types | |
typedef property_traits < PropertyMap >::key_type | key_type |
typedef property_traits < PropertyMap >::value_type | value_type |
typedef property_traits < PropertyMap >::reference | reference |
typedef property_traits < PropertyMap >::category | category |
Public Member Functions | |
caching_property_map (const PropertyMap &property_map) | |
PropertyMap & | base () |
const PropertyMap & | base () const |
template<typename Reduce > | |
void | set_reduce (const Reduce &reduce) |
void | reset () |
Property map that caches values placed in it but does not broadcast values to remote processors.
This class template is meant as an adaptor for distributed_property_map that suppresses communication in the event of a remote put
operation by mapping it to a local put
operation.
typedef property_traits<PropertyMap>::category boost::parallel::caching_property_map< PropertyMap >::category |
typedef property_traits<PropertyMap>::key_type boost::parallel::caching_property_map< PropertyMap >::key_type |
typedef property_traits<PropertyMap>::reference boost::parallel::caching_property_map< PropertyMap >::reference |
typedef property_traits<PropertyMap>::value_type boost::parallel::caching_property_map< PropertyMap >::value_type |
|
inlineexplicit |
|
inline |
Referenced by boost::parallel::cache(), boost::parallel::get(), boost::parallel::local_put(), and boost::parallel::put().
|
inline |
|
inline |
|
inline |