libcppa
Version 0.1
|
#include <group.hpp>
Classes | |
class | module |
Module interface. More... | |
Public Member Functions | |
const std::string & | identifier () const |
const std::string & | module_name () const |
virtual subscription | subscribe (const channel_ptr &who)=0 |
Static Public Member Functions | |
static intrusive_ptr< group > | get (const std::string &module_name, const std::string &group_identifier) |
static void | add_module (module *) |
A multicast group.
static void cppa::group::add_module | ( | module * | ) | [static] |
Add a new group module to the libcppa group management. .
static intrusive_ptr<group> cppa::group::get | ( | const std::string & | module_name, |
const std::string & | group_identifier | ||
) | [static] |
Get a pointer to the group associated with group_identifier
from the module module_name
. .
const std::string& cppa::group::identifier | ( | ) | const |
A string representation of the group identifier.
const std::string& cppa::group::module_name | ( | ) | const |
The name of the module.
virtual subscription cppa::group::subscribe | ( | const channel_ptr & | who | ) | [pure virtual] |
Subscribe who
to this group.
who
if the lifetime of who
ends.