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
4cc28e04
Commit
4cc28e04
authored
Jul 29, 2023
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing export declarations
parent
9af2a67d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
libcaf_core/caf/abstract_mailbox.hpp
libcaf_core/caf/abstract_mailbox.hpp
+2
-1
libcaf_core/caf/detail/default_mailbox.hpp
libcaf_core/caf/detail/default_mailbox.hpp
+5
-1
No files found.
libcaf_core/caf/abstract_mailbox.hpp
View file @
4cc28e04
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
#pragma once
#pragma once
#include "caf/detail/core_export.hpp"
#include "caf/fwd.hpp"
#include "caf/fwd.hpp"
#include "caf/intrusive/inbox_result.hpp"
#include "caf/intrusive/inbox_result.hpp"
#include "caf/mailbox_element.hpp"
#include "caf/mailbox_element.hpp"
...
@@ -11,7 +12,7 @@
...
@@ -11,7 +12,7 @@
namespace
caf
{
namespace
caf
{
/// The base class for all mailbox implementations.
/// The base class for all mailbox implementations.
class
abstract_mailbox
{
class
CAF_CORE_EXPORT
abstract_mailbox
{
public:
public:
virtual
~
abstract_mailbox
();
virtual
~
abstract_mailbox
();
...
...
libcaf_core/caf/detail/default_mailbox.hpp
View file @
4cc28e04
...
@@ -5,12 +5,16 @@
...
@@ -5,12 +5,16 @@
#pragma once
#pragma once
#include "caf/abstract_mailbox.hpp"
#include "caf/abstract_mailbox.hpp"
#include "caf/detail/core_export.hpp"
#include "caf/intrusive/lifo_inbox.hpp"
#include "caf/intrusive/lifo_inbox.hpp"
#include "caf/intrusive/linked_list.hpp"
#include "caf/intrusive/linked_list.hpp"
namespace
caf
::
detail
{
namespace
caf
::
detail
{
class
default_mailbox
:
public
abstract_mailbox
{
/// Our default mailbox implementation. Uses a LIFO inbox for storing incoming
/// messages and combines it with two FIFO caches for storing urgent and normal
/// messages.
class
CAF_CORE_EXPORT
default_mailbox
:
public
abstract_mailbox
{
public:
public:
struct
policy
{
struct
policy
{
using
mapped_type
=
mailbox_element
;
using
mapped_type
=
mailbox_element
;
...
...
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