qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
Core Actor System

Fundamental components implementing the Actor Model. More...

Collaboration diagram for Core Actor System:

Topics

 Actor Components
 Defines actors, their identification, and lifecycle management.
 Core Event System
 Base event types and core system events for actors.
 Engine & Scheduling
 Manages actor execution, virtual cores, and system lifecycle.
 Callback System
 Support for periodic callbacks within actors.
 Core Communication Channels
 Primitives for direct actor-to-actor communication channels.

Files

file  Actor.h
 Actor base class and core actor model implementation.
file  ActorId.h
 Actor and core identification for the QB Actor Framework.
file  CoreSet.h
 Core set management for the QB Actor Framework.
file  Event.h
 Event system for the QB Actor Framework.
file  ICallback.h
 Callback interface for the QB Actor Framework.
file  Main.h
 Main control for the QB Actor Framework.
file  Pipe.h
 Actor communication channel for the QB Actor Framework.
file  VirtualCore.h
 Defines the VirtualCore class, representing a worker thread in the QB Actor Framework.
file  coreset.h
 Convenience header for the QB CoreSet component.

Classes

class  qb::CoreIdBitSet::iterator
 Iterator for traversing set bits in a CoreIdBitSet. More...
class  qb::CoreSet
 Manages a set of core identifiers. More...

Typedefs

using qb::CoreId = uint16_t
 Type definition for core identifiers.
using qb::ServiceId = uint16_t
 Type definition for service identifiers.
using qb::TypeId = uint16_t
 Type definition for type identifiers.
using qb::EventId = TypeId
 Type definition for event identifiers.
using qb::CoreIdSet = CoreIdBitSet
 Efficient set implementation for storing CoreId values.
using qb::ActorIdList = std::vector<ActorId>
 List of actor identifiers.
using qb::ActorIdSet = std::unordered_set<ActorId>
 Set of unique actor identifiers.
using qb::core_id = CoreId
 Alias for CoreId.
using qb::service_id = ServiceId
 Alias for ServiceId.
using qb::actor_id = ActorId
 Alias for ActorId.
using qb::broadcast_id = BroadcastId
 Alias for BroadcastId.
using qb::actor_id_list = ActorIdList
 Alias for ActorIdList.
using qb::actor_is_set = ActorIdSet
 Alias for ActorIdSet.
using qb::core_id_set = CoreIdSet
 Alias for CoreIdSet.

Detailed Description

Fundamental components implementing the Actor Model.

This module includes the actor base class, event system, engine controller, virtual cores for scheduling, and actor communication primitives.

Typedef Documentation

◆ CoreId

using qb::CoreId = uint16_t

Type definition for core identifiers.

A 16-bit unsigned integer that uniquely identifies a core in the system

◆ ServiceId

using qb::ServiceId = uint16_t

Type definition for service identifiers.

A 16-bit unsigned integer that uniquely identifies a service within a core

◆ TypeId

using qb::TypeId = uint16_t

Type definition for type identifiers.

A 16-bit unsigned integer that uniquely identifies types in the type system

◆ EventId

Type definition for event identifiers.

Equivalent to TypeId, used for identifying event types

◆ CoreIdSet

Efficient set implementation for storing CoreId values.

Uses the CoreIdBitSet implementation for memory-efficient and high-performance storage and manipulation of core identifier sets.

◆ ActorIdList

using qb::ActorIdList = std::vector<ActorId>

List of actor identifiers.

A vector containing ActorId objects for storing and manipulating collections of actor identifiers

◆ ActorIdSet

using qb::ActorIdSet = std::unordered_set<ActorId>

Set of unique actor identifiers.

An unordered set containing unique ActorId objects with fast lookup capabilities

◆ core_id

Alias for CoreId.

Provided for naming consistency with other lowercase aliases

◆ service_id

Alias for ServiceId.

Provided for naming consistency with other lowercase aliases

◆ actor_id

Alias for ActorId.

Provided for naming consistency with other lowercase aliases

◆ broadcast_id

Alias for BroadcastId.

Provided for naming consistency with other lowercase aliases

◆ actor_id_list

Alias for ActorIdList.

Provided for naming consistency with other lowercase aliases

◆ actor_is_set

Alias for ActorIdSet.

Provided for naming consistency with other lowercase aliases

◆ core_id_set

Alias for CoreIdSet.

Provided for naming consistency with other lowercase aliases