Commit c8c6d739 authored by Dominik Charousset's avatar Dominik Charousset

Add `broker_pointer` typedef to `typed_actor`

parent e6b539fb
......@@ -39,6 +39,13 @@ struct invalid_actor_addr_t;
template <class... Sigs>
class typed_event_based_actor;
namespace io {
template <class... Sigs>
class typed_broker;
} // namespace io
/// Identifies a strongly typed actor.
/// @tparam Sigs Signature of this actor as `replies_to<...>::with<...>`
/// parameter pack.
......@@ -75,6 +82,12 @@ public:
/// Identifies the base class for this kind of actor.
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(typed_actor&&) = default;
typed_actor(const typed_actor&) = default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment