ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
Loading...
Searching...
No Matches
b2bits::delegate_detail::ForEach< Callbacks > Struct Template Reference

Recursively assign handler to all callbacks in hierarchy. More...

Detailed Description

template<typename Callbacks>
struct b2bits::delegate_detail::ForEach< Callbacks >

Recursively assign handler to all callbacks in hierarchy.

Iterates through the linear class hierarchy and calls Invoker::assign for each callback. This sets up all the function pointers for signatures that the handler supports.

Template Parameters
CallbacksType of the callbacks hierarchy

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

Static Public Member Functions

template<class Handler>
static void assign (Callbacks &callbacks)
 Assign handler to callbacks (recursive case).

Member Function Documentation

◆ assign()

template<typename Callbacks>
template<class Handler>
void b2bits::delegate_detail::ForEach< Callbacks >::assign ( Callbacks & callbacks)
inlinestatic

Assign handler to callbacks (recursive case).

Assigns to the current callback and recursively to the parent.

Template Parameters
HandlerType of the handler object
Parameters
callbacksCallbacks hierarchy instance

References assign(), and b2bits::delegate_detail::Invoker::assign().

Referenced by assign().


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