Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::parallel::caching_property_map< PropertyMap > Class Template Reference

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 ()
 

Detailed Description

template<typename PropertyMap>
class boost::parallel::caching_property_map< PropertyMap >

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.

Todo:
Find a better name for caching_property_map

Member Typedef Documentation

template<typename PropertyMap>
typedef property_traits<PropertyMap>::category boost::parallel::caching_property_map< PropertyMap >::category
template<typename PropertyMap>
typedef property_traits<PropertyMap>::key_type boost::parallel::caching_property_map< PropertyMap >::key_type
template<typename PropertyMap>
typedef property_traits<PropertyMap>::reference boost::parallel::caching_property_map< PropertyMap >::reference
template<typename PropertyMap>
typedef property_traits<PropertyMap>::value_type boost::parallel::caching_property_map< PropertyMap >::value_type

Constructor & Destructor Documentation

template<typename PropertyMap>
boost::parallel::caching_property_map< PropertyMap >::caching_property_map ( const PropertyMap &  property_map)
inlineexplicit

Member Function Documentation

template<typename PropertyMap>
PropertyMap& boost::parallel::caching_property_map< PropertyMap >::base ( )
inline
template<typename PropertyMap>
const PropertyMap& boost::parallel::caching_property_map< PropertyMap >::base ( ) const
inline
template<typename PropertyMap>
void boost::parallel::caching_property_map< PropertyMap >::reset ( void  )
inline
template<typename PropertyMap>
template<typename Reduce >
void boost::parallel::caching_property_map< PropertyMap >::set_reduce ( const Reduce &  reduce)
inline

The documentation for this class was generated from the following file: