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
34a4705c
Commit
34a4705c
authored
Feb 27, 2022
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add convenience function to the test actor clock
parent
09c88f59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
libcaf_core/caf/detail/test_actor_clock.hpp
libcaf_core/caf/detail/test_actor_clock.hpp
+7
-0
No files found.
libcaf_core/caf/detail/test_actor_clock.hpp
View file @
34a4705c
...
@@ -49,6 +49,13 @@ public:
...
@@ -49,6 +49,13 @@ public:
/// @returns The number of triggered timeouts.
/// @returns The number of triggered timeouts.
size_t
advance_time
(
duration_type
x
);
size_t
advance_time
(
duration_type
x
);
// -- properties -------------------------------------------------------------
/// @pre has_pending_timeout()
time_point
next_timeout
()
const
{
return
actions
.
begin
()
->
first
;
}
// -- member variables -------------------------------------------------------
// -- member variables -------------------------------------------------------
time_point
current_time
;
time_point
current_time
;
...
...
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