qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::FillEvent< _Args > Struct Template Reference

Event template for events that carry and "fill" data. More...

#include <Event.h>

Inheritance diagram for qb::FillEvent< _Args >:
Collaboration diagram for qb::FillEvent< _Args >:

Public Types

using base_t = WithData<_Args...>
Public Types inherited from qb::Event
using id_handler_type = ActorId
using id_type = const char *

Public Member Functions

 FillEvent (_Args &&...args)
Public Member Functions inherited from qb::WithData< _Args... >
 WithData (_Args &&...args)
Public Member Functions inherited from qb::Event
bool is_alive () const noexcept
 Check if the event is still alive and can be processed.
id_type getID () const noexcept
 Get the event's type ID for event routing and handling.
uint8_t getQOS () const noexcept
 Get the event's quality of service level.
id_handler_type getDestination () const noexcept
 Get the destination actor ID.
id_handler_type getSource () const noexcept
 Get the source actor ID.
std::size_t getSize () const noexcept
 Get the size of the event in bytes.

Additional Inherited Members

Static Public Member Functions inherited from qb::Event
template<typename T>
static constexpr id_type type_to_id ()
 Get the type identifier at runtime.
Public Attributes inherited from qb::WithData< _Args... >
std::tuple< _Args... > data

Detailed Description

template<typename... _Args>
struct qb::FillEvent< _Args >

Event template for events that carry and "fill" data.

Template Parameters
_ArgsTypes of arguments for the data tuple.