|
qb
2.0.0.0
C++17 Actor Framework
|
Unique identifier for actors. More...
#include <ActorId.h>

Public Member Functions | |
| 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) | |
Static Public Attributes | |
| static constexpr uint32_t | NotFound = 0 |
| static constexpr ServiceId | BroadcastSid = (std::numeric_limits<ServiceId>::max)() |
Protected Member Functions | |
| ActorId (ServiceId id, CoreId index) noexcept | |
Unique identifier for actors.
ActorId combines a service/actor identifier with a core identifier to form a unique identifier for an actor within the actor system. It provides methods for creating, comparing, and validating actor IDs.
|
noexcept |
ActorId() == ActorId::NotFound
|
nodiscardnoexcept |
Conversion operator to uint32_t.
|
nodiscardnoexcept |
|
nodiscardnoexcept |
Get the core identifier component of this ActorId.
|
nodiscardnoexcept |