Identifies a statically typed actor.
More...
#include <typed_actor.hpp>
Inherits comparable< typed_actor< Sigs...> >, comparable< typed_actor< Sigs...>, actor_addr >, comparable< typed_actor< Sigs...>, invalid_actor_t >, and comparable< typed_actor< Sigs...>, invalid_actor_addr_t >.
|
|
| 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 (TypedActor *ptr) |
| |
|
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) |
| |
|
actor_addr | address () const noexcept |
| | Queries the address of the stored actor.
|
| |
|
| operator bool () const noexcept |
| | Returns *this != invalid_actor.
|
| |
|
bool | operator! () const noexcept |
| | Returns *this == invalid_actor.
|
| |
|
bool | is_remote () const noexcept |
| | Returns whether this is an handle to a remote actor.
|
| |
|
actor_id | id () const noexcept |
| | Returns the ID of this actor.
|
| |
|
void | swap (actor &other) noexcept |
| | Exchange content of *this and other.
|
| |
|
|
static std::set< std::string > | message_types () |
| | Returns the interface definition for this actor handle.
|
| |
|
|
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.
template<class... Sigs>
template<class T >
The documentation for this class was generated from the following file:
- libcaf_core/caf/typed_actor.hpp