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
bdcaba66
Commit
bdcaba66
authored
Feb 24, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add inbound_paths getter
parent
1664eb97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
libcaf_core/caf/stream_manager.hpp
libcaf_core/caf/stream_manager.hpp
+10
-2
No files found.
libcaf_core/caf/stream_manager.hpp
View file @
bdcaba66
...
@@ -36,6 +36,10 @@ namespace caf {
...
@@ -36,6 +36,10 @@ namespace caf {
/// @relates stream_msg
/// @relates stream_msg
class
stream_manager
:
public
ref_counted
{
class
stream_manager
:
public
ref_counted
{
public:
public:
// -- member types -----------------------------------------------------------
using
inbound_paths_list
=
std
::
vector
<
inbound_path
*>
;
stream_manager
(
local_actor
*
selfptr
,
stream_manager
(
local_actor
*
selfptr
,
stream_priority
prio
=
stream_priority
::
normal
);
stream_priority
prio
=
stream_priority
::
normal
);
...
@@ -158,8 +162,12 @@ public:
...
@@ -158,8 +162,12 @@ public:
continuous_
=
x
;
continuous_
=
x
;
}
}
// -- inline functions -------------------------------------------------------
/// Returns the list of inbound paths.
inline
const
inbound_paths_list
&
inbound_paths
()
const
{
return
inbound_paths_
;
}
/// Returns the parent actor.
inline
local_actor
*
self
()
{
inline
local_actor
*
self
()
{
return
self_
;
return
self_
;
}
}
...
@@ -197,7 +205,7 @@ protected:
...
@@ -197,7 +205,7 @@ protected:
local_actor
*
self_
;
local_actor
*
self_
;
/// Stores non-owning pointers to all input paths.
/// Stores non-owning pointers to all input paths.
std
::
vector
<
inbound_path
*>
inbound_paths_
;
inbound_paths_list
inbound_paths_
;
/// Keeps track of pending handshakes.
/// Keeps track of pending handshakes.
long
pending_handshakes_
;
long
pending_handshakes_
;
...
...
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