TIMPI
Public Member Functions | Private Attributes | List of all members
TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T > Struct Template Reference

#include <post_wait_unpack_buffer.h>

Inheritance diagram for TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >:
[legend]

Public Member Functions

 PostWaitUnpackBuffer (const Container &buffer, Context *context, OutputIter out)
 
virtual void run () override
 

Private Attributes

const Container & _buf
 
Context * _context
 
OutputIter _out
 

Detailed Description

template<typename Container, typename Context, typename OutputIter, typename T>
struct TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >

Definition at line 32 of file post_wait_unpack_buffer.h.

Constructor & Destructor Documentation

◆ PostWaitUnpackBuffer()

template<typename Container , typename Context , typename OutputIter , typename T >
TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::PostWaitUnpackBuffer ( const Container &  buffer,
Context *  context,
OutputIter  out 
)
inline

Definition at line 33 of file post_wait_unpack_buffer.h.

33  :
34  _buf(buffer), _context(context), _out(out) {}

Member Function Documentation

◆ run()

template<typename Container , typename Context , typename OutputIter , typename T >
virtual void TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::run ( )
inlineoverridevirtual

Implements TIMPI::PostWaitWork.

Definition at line 36 of file post_wait_unpack_buffer.h.

References TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_buf, TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_context, TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_out, and TIMPI::unpack_range().

36  {
37 
38  unpack_range(_buf, _context, _out, (T*)nullptr);
39  }
OutputIter unpack_range(const std::vector< buffertype > &buffer, Context *context, OutputIter out_iter, const T *)
Helper function for range unpacking.
Definition: packing.h:1103

Member Data Documentation

◆ _buf

template<typename Container , typename Context , typename OutputIter , typename T >
const Container& TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_buf
private

◆ _context

template<typename Container , typename Context , typename OutputIter , typename T >
Context* TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_context
private

◆ _out

template<typename Container , typename Context , typename OutputIter , typename T >
OutputIter TIMPI::PostWaitUnpackBuffer< Container, Context, OutputIter, T >::_out
private

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