C++ Actor Framework 0.18
|
Identifies an unbound sequence of messages. More...
#include <stream_source_driver.hpp>
Public Types | |
using | downstream_manager_type = DownstreamManager |
Type of the downstream manager, i.e., the type returned by stream_manager::out() . | |
using | output_type = typename downstream_manager_type::output_type |
Element type of the output stream. | |
using | stream_type = stream< output_type > |
Type of the output stream. | |
using | source_type = stream_source< downstream_manager_type > |
Implemented stream_source interface. | |
using | source_ptr_type = intrusive_ptr< source_type > |
Smart pointer to the interface type. | |
Public Member Functions | |
virtual void | finalize (const error &) |
Cleans up any state. | |
virtual void | pull (downstream< output_type > &dst, size_t num)=0 |
Generates more elements for dst . | |
virtual bool | done () const noexcept=0 |
Returns true if the source is done sending, otherwise false . | |
Identifies an unbound sequence of messages.
|
pure virtualnoexcept |
Returns true
if the source is done sending, otherwise false
.
Implemented in caf::detail::stream_source_driver_impl< DownstreamManager, Pull, Done, Finalize >.
|
virtual |
Cleans up any state.
Reimplemented in caf::detail::stream_source_driver_impl< DownstreamManager, Pull, Done, Finalize >.
|
pure virtual |
Generates more elements for dst
.
Implemented in caf::detail::stream_source_driver_impl< DownstreamManager, Pull, Done, Finalize >.