Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnionNode< ValueType >::UnionChild Struct Reference

Detailed Description

template<typename ValueType>
struct thrill::api::UnionNode< ValueType >::UnionChild

Definition at line 64 of file union.hpp.

+ Collaboration diagram for UnionNode< ValueType >::UnionChild:

#include <union.hpp>

Public Member Functions

bool AllInputsDone () const
 check if all inputs were pushed to the child More...

Public Attributes

Callback callback
 callback to invoke (currently for each item) More...
 reference to child node More...
size_t parent_index
std::vector< size_t > pushed_inputs
 vector of inputs which were delivered to this child. More...
ChildStatus status
 status of the child. More...

Member Function Documentation

bool AllInputsDone ( ) const

check if all inputs were pushed to the child

Definition at line 79 of file union.hpp.

References UnionNode< ValueType >::UnionChild::pushed_inputs.

Member Data Documentation

Callback callback

callback to invoke (currently for each item)

Definition at line 68 of file union.hpp.

DIABase* node

reference to child node

Definition at line 66 of file union.hpp.

size_t parent_index

index this node has among the parents of the child (passed to callbacks), e.g. for ZipNode which has multiple parents and their order is important.

Definition at line 72 of file union.hpp.

std::vector<size_t> pushed_inputs

vector of inputs which were delivered to this child.

Definition at line 76 of file union.hpp.

Referenced by UnionNode< ValueType >::UnionChild::AllInputsDone().

ChildStatus status

status of the child.

Definition at line 74 of file union.hpp.

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