STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::detail::directory_request< Directory, Functor, IntrusiveHook > Class Template Reference

Derived class of directory_request_base which holds function object associated with request and also defines the pointer to member method of the directory which will be used to service this request. More...

Public Member Functions

template<typename F >
 directory_request (F &&f)
 
 directory_request (directory_request const &)=delete
 
directory_requestoperator= (directory_request const &)=delete
 
void send_message_local (p_object &directory_ref, key_type const &key)
 Apply functor (held as member of derived class which implements this method) directly to avoid RMI overhead. More...
 
void send_message_rmi (key_type const &key, const location_type loc, rmi_handle::reference const &handle)
 

Public Types

typedef Directory::key_type key_type
 

Detailed Description

template<typename Directory, typename Functor, typename IntrusiveHook = empty_class>
class stapl::detail::directory_request< Directory, Functor, IntrusiveHook >

Derived class of directory_request_base which holds function object associated with request and also defines the pointer to member method of the directory which will be used to service this request.

Template Parameters
DirectoryDirectory type employing instantiations of this request template. Used to compute Key for base and obtain pointer to member function.
FunctorFunction object directory is asked to invoke on a location (i.e., the parameter passed to directory::invoke_where invocation).
IntrusiveHookHook for intrusive container.
See also
directory_request_base

Member Function Documentation

◆ send_message_local()

template<typename Directory , typename Functor , typename IntrusiveHook = empty_class>
void stapl::detail::directory_request< Directory, Functor, IntrusiveHook >::send_message_local ( p_object directory_ref,
key_type const &  key 
)
virtual

Apply functor (held as member of derived class which implements this method) directly to avoid RMI overhead.

Parameters
directory_refReference to the p_object base of the directory associated with this request. Passed to the underlying functor as an argument (optional use via bind()).
keyKey value which will be passed as parameter to functor invocation

Implements stapl::detail::directory_request_base< Directory::key_type, IntrusiveHook >.

◆ send_message_rmi()

template<typename Directory , typename Functor , typename IntrusiveHook = empty_class>
void stapl::detail::directory_request< Directory, Functor, IntrusiveHook >::send_message_rmi ( key_type const &  key,
const location_type  loc,
rmi_handle::reference const &  handle 
)
virtual

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