STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::dist_spec_impl::mapping_base< GID, Index, ContainerGID, ContainerCID > Struct Template Reference

Base class of mapping functions used in view-based distribution specifications. The distribution_spec_view holds its mapping function using this base class. More...

Public Member Functions

 mapping_base (std::shared_ptr< mapping_base > const &other)
 
virtual Index operator() (GID) const
 
virtual void update (std::vector< std::tuple< std::pair< ContainerGID, ContainerGID >, ContainerCID, location_type >> const &, size_t)
 Method required of all mapping functions. The method is called by the update_distribution method of containers.
 

Public Types

typedef GID gid_type
 
typedef Index index_type
 

Detailed Description

template<typename GID, typename Index, typename ContainerGID, typename ContainerCID>
struct stapl::dist_spec_impl::mapping_base< GID, Index, ContainerGID, ContainerCID >

Base class of mapping functions used in view-based distribution specifications. The distribution_spec_view holds its mapping function using this base class.


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