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
c8c6d739
Commit
c8c6d739
authored
Jun 12, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `broker_pointer` typedef to `typed_actor`
parent
e6b539fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
libcaf_core/caf/typed_actor.hpp
libcaf_core/caf/typed_actor.hpp
+13
-0
No files found.
libcaf_core/caf/typed_actor.hpp
View file @
c8c6d739
...
@@ -39,6 +39,13 @@ struct invalid_actor_addr_t;
...
@@ -39,6 +39,13 @@ struct invalid_actor_addr_t;
template
<
class
...
Sigs
>
template
<
class
...
Sigs
>
class
typed_event_based_actor
;
class
typed_event_based_actor
;
namespace
io
{
template
<
class
...
Sigs
>
class
typed_broker
;
}
// namespace io
/// Identifies a strongly typed actor.
/// Identifies a strongly typed actor.
/// @tparam Sigs Signature of this actor as `replies_to<...>::with<...>`
/// @tparam Sigs Signature of this actor as `replies_to<...>::with<...>`
/// parameter pack.
/// parameter pack.
...
@@ -75,6 +82,12 @@ public:
...
@@ -75,6 +82,12 @@ public:
/// Identifies the base class for this kind of actor.
/// Identifies the base class for this kind of actor.
using
base
=
typed_event_based_actor
<
Sigs
...
>
;
using
base
=
typed_event_based_actor
<
Sigs
...
>
;
/// Identifies pointers to brokers implementing this interface.
using
broker_pointer
=
io
::
typed_broker
<
Sigs
...
>*
;
/// Identifies the base class of brokers implementing this interface.
using
broker_base
=
io
::
typed_broker
<
Sigs
...
>
;
typed_actor
()
=
default
;
typed_actor
()
=
default
;
typed_actor
(
typed_actor
&&
)
=
default
;
typed_actor
(
typed_actor
&&
)
=
default
;
typed_actor
(
const
typed_actor
&
)
=
default
;
typed_actor
(
const
typed_actor
&
)
=
default
;
...
...
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