qb
2.0.0.0
C++17 Actor Framework
|
Helper template providing type aliases for integrating qb-io asynchronous components. More...
#include <async.h>
Classes | |
struct | tcp |
Provides type aliases for TCP-based asynchronous components. More... | |
struct | udp |
Provides type aliases for UDP-based asynchronous components. More... |
Public Types | |
template<typename _Protocol> | |
using | input = async::input<_Derived> |
template<typename _Protocol> | |
using | output = async::output<_Derived> |
template<typename _Protocol> | |
using | io = async::io<_Derived> |
using | timeout = async::with_timeout<_Derived> |
using | file = async::file<_Derived> |
Helper template providing type aliases for integrating qb-io asynchronous components.
This CRTP helper simplifies the declaration of actors or classes that use qb-io's asynchronous features (like TCP clients/servers, UDP endpoints, file watchers) by providing convenient nested type aliases for the underlying asynchronous base classes and transports.
_Derived | The class that will inherit from one of the use helper's nested types. |