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
00be7107
Commit
00be7107
authored
Apr 16, 2017
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
d3b6a5d4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
132 deletions
+0
-132
libcaf_core/CMakeLists.txt
libcaf_core/CMakeLists.txt
+0
-1
libcaf_core/caf/all.hpp
libcaf_core/caf/all.hpp
+0
-2
libcaf_core/caf/continue_helper.hpp
libcaf_core/caf/continue_helper.hpp
+0
-44
libcaf_core/caf/detail/invoke_result_visitor.hpp
libcaf_core/caf/detail/invoke_result_visitor.hpp
+0
-1
libcaf_core/caf/fwd.hpp
libcaf_core/caf/fwd.hpp
+0
-1
libcaf_core/caf/response_handle.hpp
libcaf_core/caf/response_handle.hpp
+0
-1
libcaf_core/caf/typed_behavior.hpp
libcaf_core/caf/typed_behavior.hpp
+0
-1
libcaf_core/caf/typed_continue_helper.hpp
libcaf_core/caf/typed_continue_helper.hpp
+0
-52
libcaf_core/src/continue_helper.cpp
libcaf_core/src/continue_helper.cpp
+0
-29
No files found.
libcaf_core/CMakeLists.txt
View file @
00be7107
...
@@ -40,7 +40,6 @@ set (LIBCAF_CORE_SRCS
...
@@ -40,7 +40,6 @@ set (LIBCAF_CORE_SRCS
src/broadcast.cpp
src/broadcast.cpp
src/concatenated_tuple.cpp
src/concatenated_tuple.cpp
src/config_option.cpp
src/config_option.cpp
src/continue_helper.cpp
src/decorated_tuple.cpp
src/decorated_tuple.cpp
src/default_attachable.cpp
src/default_attachable.cpp
src/deserializer.cpp
src/deserializer.cpp
...
...
libcaf_core/caf/all.hpp
View file @
00be7107
...
@@ -74,8 +74,6 @@
...
@@ -74,8 +74,6 @@
#include "caf/typed_behavior.hpp"
#include "caf/typed_behavior.hpp"
#include "caf/proxy_registry.hpp"
#include "caf/proxy_registry.hpp"
#include "caf/behavior_policy.hpp"
#include "caf/behavior_policy.hpp"
#include "caf/continue_helper.hpp"
#include "caf/mailbox_element.hpp"
#include "caf/message_builder.hpp"
#include "caf/message_builder.hpp"
#include "caf/message_handler.hpp"
#include "caf/message_handler.hpp"
#include "caf/response_handle.hpp"
#include "caf/response_handle.hpp"
...
...
libcaf_core/caf/continue_helper.hpp
deleted
100644 → 0
View file @
d3b6a5d4
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
* | |___ / ___ \| _| Framework *
* \____/_/ \_|_| *
* *
* Copyright (C) 2011 - 2017 *
* Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* *
* Distributed under the terms and conditions of the BSD 3-Clause License or *
* (at your option) under the terms and conditions of the Boost Software *
* License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. *
* *
* If you did not receive a copy of the license files, see *
* http://opensource.org/licenses/BSD-3-Clause and *
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef CAF_CONTINUE_HELPER_HPP
#define CAF_CONTINUE_HELPER_HPP
#include "caf/message_id.hpp"
namespace
caf
{
/// Helper class to enable users to add continuations
/// when dealing with synchronous sends.
class
continue_helper
{
public:
explicit
continue_helper
(
message_id
mid
);
/// Returns the ID of the expected response message.
message_id
get_message_id
()
const
{
return
mid_
;
}
private:
message_id
mid_
;
};
}
// namespace caf
#endif // CAF_CONTINUE_HELPER_HPP
libcaf_core/caf/detail/invoke_result_visitor.hpp
View file @
00be7107
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include "caf/expected.hpp"
#include "caf/expected.hpp"
#include "caf/optional.hpp"
#include "caf/optional.hpp"
#include "caf/make_message.hpp"
#include "caf/make_message.hpp"
#include "caf/typed_continue_helper.hpp"
#include "caf/detail/int_list.hpp"
#include "caf/detail/int_list.hpp"
#include "caf/detail/apply_args.hpp"
#include "caf/detail/apply_args.hpp"
...
...
libcaf_core/caf/fwd.hpp
View file @
00be7107
...
@@ -93,7 +93,6 @@ class proxy_registry;
...
@@ -93,7 +93,6 @@ class proxy_registry;
class
stream_handler
;
class
stream_handler
;
class
upstream_policy
;
class
upstream_policy
;
class
actor_companion
;
class
actor_companion
;
class
continue_helper
;
class
downstream_path
;
class
downstream_path
;
class
mailbox_element
;
class
mailbox_element
;
class
message_handler
;
class
message_handler
;
...
...
libcaf_core/caf/response_handle.hpp
View file @
00be7107
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
#include "caf/catch_all.hpp"
#include "caf/catch_all.hpp"
#include "caf/message_id.hpp"
#include "caf/message_id.hpp"
#include "caf/typed_behavior.hpp"
#include "caf/typed_behavior.hpp"
#include "caf/continue_helper.hpp"
#include "caf/system_messages.hpp"
#include "caf/system_messages.hpp"
#include "caf/detail/type_list.hpp"
#include "caf/detail/type_list.hpp"
...
...
libcaf_core/caf/typed_behavior.hpp
View file @
00be7107
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "caf/message_handler.hpp"
#include "caf/message_handler.hpp"
#include "caf/system_messages.hpp"
#include "caf/system_messages.hpp"
#include "caf/interface_mismatch.hpp"
#include "caf/interface_mismatch.hpp"
#include "caf/typed_continue_helper.hpp"
#include "caf/detail/typed_actor_util.hpp"
#include "caf/detail/typed_actor_util.hpp"
...
...
libcaf_core/caf/typed_continue_helper.hpp
deleted
100644 → 0
View file @
d3b6a5d4
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
* | |___ / ___ \| _| Framework *
* \____/_/ \_|_| *
* *
* Copyright (C) 2011 - 2017 *
* Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* *
* Distributed under the terms and conditions of the BSD 3-Clause License or *
* (at your option) under the terms and conditions of the Boost Software *
* License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. *
* *
* If you did not receive a copy of the license files, see *
* http://opensource.org/licenses/BSD-3-Clause and *
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#ifndef CAF_TYPED_CONTINUE_HELPER_HPP
#define CAF_TYPED_CONTINUE_HELPER_HPP
#include "caf/continue_helper.hpp"
namespace
caf
{
template
<
class
OutputList
>
class
typed_continue_helper
{
public:
typed_continue_helper
(
message_id
mid
)
:
ch_
(
mid
)
{
// nop
}
typed_continue_helper
(
continue_helper
ch
)
:
ch_
(
std
::
move
(
ch
))
{
// nop
}
message_id
get_message_id
()
const
{
return
ch_
.
get_message_id
();
}
continue_helper
&
unbox
()
{
return
ch_
;
}
private:
continue_helper
ch_
;
};
}
// namespace caf
#endif // CAF_TYPED_CONTINUE_HELPER_HPP
libcaf_core/src/continue_helper.cpp
deleted
100644 → 0
View file @
d3b6a5d4
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
* | |___ / ___ \| _| Framework *
* \____/_/ \_|_| *
* *
* Copyright (C) 2011 - 2017 *
* Dominik Charousset <dominik.charousset (at) haw-hamburg.de> *
* *
* Distributed under the terms and conditions of the BSD 3-Clause License or *
* (at your option) under the terms and conditions of the Boost Software *
* License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. *
* *
* If you did not receive a copy of the license files, see *
* http://opensource.org/licenses/BSD-3-Clause and *
* http://www.boost.org/LICENSE_1_0.txt. *
******************************************************************************/
#include "caf/continue_helper.hpp"
#include "caf/event_based_actor.hpp"
namespace
caf
{
continue_helper
::
continue_helper
(
message_id
mid
)
:
mid_
(
mid
)
{
// nop
}
}
// namespace caf
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