C++ Actor Framework 0.19
|
Interface for user-defined multicast implementations. More...
#include <group_module.hpp>
Public Member Functions | |
group_module (actor_system &sys, std::string mname) | |
group_module (const group_module &)=delete | |
group_module & | operator= (const group_module &)=delete |
virtual void | stop ()=0 |
Stops all groups from this module. | |
virtual expected< group > | get (const std::string &group_name)=0 |
Returns a pointer to the group associated with the name group_name . | |
actor_system & | system () const noexcept |
Returns the hosting actor system. | |
const std::string & | name () const noexcept |
Returns the name of this module implementation. | |
Public Member Functions inherited from caf::detail::atomic_ref_counted | |
atomic_ref_counted (const atomic_ref_counted &) | |
atomic_ref_counted & | operator= (const atomic_ref_counted &) |
void | ref () const noexcept |
Increases reference count by one. | |
void | deref () const noexcept |
Decreases reference count by one and calls request_deletion when it drops to zero. | |
bool | unique () const noexcept |
Queries whether there is exactly one reference. | |
size_t | get_reference_count () const noexcept |
Queries the current reference count for this object. | |
Additional Inherited Members | |
Public Types inherited from caf::ref_counted | |
using | super = detail::atomic_ref_counted |
Protected Attributes inherited from caf::detail::atomic_ref_counted | |
std::atomic< size_t > | rc_ |
Related Symbols inherited from caf::ref_counted | |
template<class T , class... Ts> | |
intrusive_cow_ptr< T > | make_copy_on_write (Ts &&... xs) |
Constructs an object of type T in an intrusive_cow_ptr . | |
template<class T , class... Ts> | |
intrusive_ptr< T > | make_counted (Ts &&... xs) |
Constructs an object of type T in an intrusive_ptr . | |
Interface for user-defined multicast implementations.
|
pure virtual |
Returns a pointer to the group associated with the name group_name
.
@threadsafe
Implemented in caf::detail::local_group_module.
|
pure virtual |
Stops all groups from this module.
Implemented in caf::detail::local_group_module.