Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StreamData::Writers Class Reference

Detailed Description

An extra class derived from std::vector<> for delivery of the BlockWriters of a Stream.

The purpose is to enforce a custom way to close stream writers cyclically such that PE k first sends it's Close-packet to k+1, k+2, etc.

Definition at line 59 of file stream_data.hpp.

Inherits vector< T >.

#include <stream_data.hpp>

Public Member Functions

 Writers (size_t my_worker_rank=0)
 
 Writers (const Writers &)=default
 copyable: default copy-constructor More...
 
 Writers (Writers &&)=default
 move-constructor: default More...
 
 ~Writers ()
 custom destructor to close writers is a cyclic fashion More...
 
void Close ()
 custom destructor to close writers is a cyclic fashion More...
 
Writersoperator= (const Writers &)=default
 copyable: default assignment operator More...
 
Writersoperator= (Writers &&)=default
 move-assignment operator: default More...
 

Private Attributes

size_t my_worker_rank_
 rank of this worker More...
 

Constructor & Destructor Documentation

Writers ( size_t  my_worker_rank = 0)

Definition at line 88 of file stream_data.cpp.

Writers ( const Writers )
default

copyable: default copy-constructor

Writers ( Writers &&  )
default

move-constructor: default

~Writers ( )

custom destructor to close writers is a cyclic fashion

Definition at line 100 of file stream_data.cpp.

References StreamData::Close().

Member Function Documentation

Writers& operator= ( const Writers )
default

copyable: default assignment operator

Writers& operator= ( Writers &&  )
default

move-assignment operator: default

Member Data Documentation

size_t my_worker_rank_
private

rank of this worker

Definition at line 81 of file stream_data.hpp.


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