qb
2.0.0.0
C++17 Actor Framework
|
Specialized ActorId for broadcasting messages to all actors on a core. More...
#include <ActorId.h>
Public Member Functions | |
BroadcastId (uint32_t const core_id) noexcept | |
Constructor for BroadcastId. | |
Public Member Functions inherited from qb::ActorId | |
ActorId () noexcept | |
operator uint32_t () const noexcept | |
Conversion operator to uint32_t. | |
ServiceId | sid () const noexcept |
Get the service identifier component of this ActorId. | |
CoreId | index () const noexcept |
Get the core identifier component of this ActorId. | |
bool | is_broadcast () const noexcept |
Check if this ActorId represents a broadcast identifier. | |
bool | is_valid () const noexcept |
Check if this ActorId is valid (not NotFound) |
Additional Inherited Members | |
Static Public Attributes inherited from qb::ActorId | |
static constexpr uint32_t | NotFound = 0 |
static constexpr ServiceId | BroadcastSid = (std::numeric_limits<ServiceId>::max)() |
Protected Member Functions inherited from qb::ActorId | |
ActorId (ServiceId id, CoreId index) noexcept |
Specialized ActorId for broadcasting messages to all actors on a core.
BroadcastId is used to send messages to all actors on a specific core. It uses the special BroadcastSid value as the service ID to indicate that the message should be delivered to all actors on the specified core.