C++ Actor Framework 0.19
Loading...
Searching...
No Matches
Public Member Functions | List of all members
caf::group_module Class Referenceabstract

Interface for user-defined multicast implementations. More...

#include <group_module.hpp>

Inheritance diagram for caf::group_module:
caf::ref_counted caf::detail::atomic_ref_counted caf::detail::local_group_module

Public Member Functions

 group_module (actor_system &sys, std::string mname)
 
 group_module (const group_module &)=delete
 
group_moduleoperator= (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_systemsystem () 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_countedoperator= (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_
 

Detailed Description

Interface for user-defined multicast implementations.

Member Function Documentation

◆ get()

virtual expected< group > caf::group_module::get ( const std::string &  group_name)
pure virtual

Returns a pointer to the group associated with the name group_name.

@threadsafe

Implemented in caf::detail::local_group_module.

◆ stop()

virtual void caf::group_module::stop ( )
pure virtual

Stops all groups from this module.

Implemented in caf::detail::local_group_module.


The documentation for this class was generated from the following files: