/******************************************************************************* * thrill/api/source_node.hpp * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2016 Timo Bingmann * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ******************************************************************************/ #pragma once #ifndef THRILL_API_SOURCE_NODE_HEADER #define THRILL_API_SOURCE_NODE_HEADER #include namespace thrill { namespace api { //! \ingroup api_layer //! \{ template class SourceNode : public DIANode { public: using Super = DIANode; SourceNode(Context& ctx, const char* label) : Super(ctx, label, { /* parent_ids */ }, { /* parents */ }) { } //! SourceNodes generally do not Execute, they only PushData. void Execute() override { } }; //! \} } // namespace api } // namespace thrill #endif // !THRILL_API_SOURCE_NODE_HEADER /******************************************************************************/