ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::delegate_detail::LCH< T, Args > Struct Template Reference

Linear class hierarchy node (recursive case). More...

Detailed Description

template<class T, class... Args>
struct b2bits::delegate_detail::LCH< T, Args >

Linear class hierarchy node (recursive case).

Creates a linear inheritance chain from multiple callback types. Each node inherits from its callback type T and recursively from the remaining types. This allows a single object to expose multiple callback interfaces.

The hierarchy uses using-declarations to expose all overloaded operator() and assign() methods from the inheritance chain.

Template Parameters
TCurrent callback type in the hierarchy
ArgsRemaining callback types

#include <core/src/impl/Delegate.h>

Inheritance diagram for b2bits::delegate_detail::LCH< T, Args >:

Public Types

using self = T
 Current callback type.
using parent = LCH<Args...>
 Parent in the hierarchy.
using args_type = typename T::args_type
 Argument pack for this callback.
using return_type = typename T::return_type
 Return type for this callback.

Member Typedef Documentation

◆ args_type

template<class T, class... Args>
using b2bits::delegate_detail::LCH< T, Args >::args_type = typename T::args_type

Argument pack for this callback.

◆ parent

template<class T, class... Args>
using b2bits::delegate_detail::LCH< T, Args >::parent = LCH<Args...>

Parent in the hierarchy.

◆ return_type

template<class T, class... Args>
using b2bits::delegate_detail::LCH< T, Args >::return_type = typename T::return_type

Return type for this callback.

◆ self

template<class T, class... Args>
using b2bits::delegate_detail::LCH< T, Args >::self = T

Current callback type.


The documentation for this struct was generated from the following file: