STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Static Public Member Functions | Public Types
stapl::runtime::all_locs_construct_request< Callback, Function, LocallyManagedOnly > Class Template Referencefinal

Request to construct an object on all locally managed locations. More...

Public Member Functions

template<typename C , typename F >
 all_locs_construct_request (C &&c, gang_md &g, F &&f) noexcept
 
bool operator() (location_md &l, message_shared_ptr &) final
 
constexpr size_type size (void) const noexcept
 
size_type & size (void) noexcept
 

Static Public Member Functions

template<typename C , typename F >
static std::size_t expected_size (C &&c, F &&f) noexcept
 

Public Types

using size_type = std::size_t
 

Detailed Description

template<typename Callback, typename Function, bool LocallyManagedOnly>
class stapl::runtime::all_locs_construct_request< Callback, Function, LocallyManagedOnly >

Request to construct an object on all locally managed locations.

Template Parameters
CallbackCallback to pass a pointer to the constructed object.
FunctionFunction that creates a new object.
LocallyManagedOnlyIf true, then this request executes only on the locally managed locations.

This request always runs on the same process as the gang it references, therefore it is correct to have a reference to the gang_md object.


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