Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
0229c9d6
Commit
0229c9d6
authored
Apr 27, 2017
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow overriding of stream source/stage functions
parent
b48a9f43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
libcaf_core/caf/stream_source.hpp
libcaf_core/caf/stream_source.hpp
+3
-3
libcaf_core/caf/stream_stage.hpp
libcaf_core/caf/stream_stage.hpp
+4
-4
No files found.
libcaf_core/caf/stream_source.hpp
View file @
0229c9d6
...
...
@@ -37,11 +37,11 @@ public:
~
stream_source
()
override
;
bool
done
()
const
final
;
bool
done
()
const
override
;
error
downstream_demand
(
strong_actor_ptr
&
hdl
,
size_t
value
)
final
;
error
downstream_demand
(
strong_actor_ptr
&
hdl
,
size_t
value
)
override
;
void
abort
(
strong_actor_ptr
&
cause
,
const
error
&
reason
)
final
;
void
abort
(
strong_actor_ptr
&
cause
,
const
error
&
reason
)
override
;
inline
abstract_downstream
&
out
()
{
return
*
out_ptr_
;
...
...
libcaf_core/caf/stream_stage.hpp
View file @
0229c9d6
...
...
@@ -39,13 +39,13 @@ public:
// -- overrides --------------------------------------------------------------
bool
done
()
const
final
;
bool
done
()
const
override
;
void
abort
(
strong_actor_ptr
&
,
const
error
&
)
final
;
void
abort
(
strong_actor_ptr
&
,
const
error
&
)
override
;
error
downstream_demand
(
strong_actor_ptr
&
,
size_t
)
final
;
error
downstream_demand
(
strong_actor_ptr
&
,
size_t
)
override
;
error
upstream_batch
(
strong_actor_ptr
&
,
size_t
,
message
&
)
final
;
error
upstream_batch
(
strong_actor_ptr
&
,
size_t
,
message
&
)
override
;
void
last_upstream_closed
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment