Identifies a statically typed actor.
More...
#include <typed_actor.hpp>
Inherits comparable< typed_actor< Sigs...> >, comparable< typed_actor< Sigs...>, actor_addr >, and comparable< typed_actor< Sigs...>, invalid_actor_addr_t >.
|
|
template<class... Es> |
| using | extend = typed_actor< Sigs..., Es...> |
| | Creates a new typed_actor type by extending this one with Es....
|
| |
| using | behavior_type = typed_behavior< Sigs...> |
| | Identifies the behavior type actors of this kind use for their behavior stack. More...
|
| |
|
using | pointer = typed_event_based_actor< Sigs...> * |
| | Identifies pointers to instances of this kind of actor.
|
| |
|
using | base = typed_event_based_actor< Sigs...> |
| | Identifies the base class for this kind of actor.
|
| |
|
using | broker_pointer = io::experimental::typed_broker< Sigs...> * |
| | Identifies pointers to brokers implementing this interface.
|
| |
|
using | broker_base = io::experimental::typed_broker< Sigs...> |
| | Identifies the base class of brokers implementing this interface.
|
| |
|
using | signatures = detail::type_list< Sigs...> |
| | Stores the template parameter pack.
|
| |
|
|
| typed_actor (typed_actor &&)=default |
| |
|
| typed_actor (const typed_actor &)=default |
| |
|
typed_actor & | operator= (typed_actor &&)=default |
| |
|
typed_actor & | operator= (const typed_actor &)=default |
| |
|
template<class TypedActor , class Enable = typename std::enable_if< detail::tlf_is_subset(signatures{}, typename TypedActor::signatures{}) >::type> |
| | typed_actor (const TypedActor &other) |
| |
|
template<class TypedActor , class Enable = typename std::enable_if< detail::tlf_is_subset(signatures{}, typename TypedActor::signatures{}) >::type> |
| typed_actor & | operator= (const TypedActor &other) |
| |
|
template<class Impl , class Enable = typename std::enable_if< detail::tlf_is_subset(signatures{}, typename Impl::signatures{}) >::type> |
| | typed_actor (intrusive_ptr< Impl > other) |
| |
|
abstract_actor * | operator-> () const |
| |
|
abstract_actor & | operator* () const |
| |
|
actor_addr | address () const |
| | Queries the address of the stored actor.
|
| |
|
intptr_t | compare (const actor_addr &rhs) const |
| |
|
intptr_t | compare (const typed_actor &other) const |
| |
|
intptr_t | compare (const invalid_actor_addr_t &) const |
| |
|
| operator bool () const |
| |
|
bool | operator! () const |
| |
|
|
static std::set< std::string > | message_types () |
| |
|
|
class | local_actor |
| |
|
template<class... > |
| class | typed_actor |
| |
|
template<class T , typename U > |
| T | actor_cast (const U &) |
| | Converts actor handle what to a different actor handle of type T.
|
| |
template<class... Sigs>
class caf::typed_actor< Sigs >
Identifies a statically typed actor.
- Template Parameters
-
| Sigs | Signature of this actor as replies_to<...>::with<...> parameter pack. |
- Examples:
- dining_philosophers.cpp.
Identifies the behavior type actors of this kind use for their behavior stack.
The documentation for this class was generated from the following file:
- libcaf_core/caf/typed_actor.hpp