CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::BasicAggregateSubscriber< TSubscriber > Class Template Reference

Basic aggregate subscriber. More...

Public Member Functions

 BasicAggregateSubscriber (std::vector< std::unique_ptr< TSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 

Protected Member Functions

template<typename TAction >
void forEach (TAction action) const
 

Private Attributes

std::vector< std::unique_ptr< TSubscriber > > m_subscribers
 

Detailed Description

template<typename TSubscriber>
class catapult::subscribers::BasicAggregateSubscriber< TSubscriber >

Basic aggregate subscriber.

Constructor & Destructor Documentation

◆ BasicAggregateSubscriber()

template<typename TSubscriber>
catapult::subscribers::BasicAggregateSubscriber< TSubscriber >::BasicAggregateSubscriber ( std::vector< std::unique_ptr< TSubscriber >> &&  subscribers)
inlineexplicit

Creates an aggregate subscriber around subscribers.

Member Function Documentation

◆ forEach()

template<typename TSubscriber>
template<typename TAction >
void catapult::subscribers::BasicAggregateSubscriber< TSubscriber >::forEach ( TAction  action) const
inlineprotected

Member Data Documentation

◆ m_subscribers

template<typename TSubscriber>
std::vector<std::unique_ptr<TSubscriber> > catapult::subscribers::BasicAggregateSubscriber< TSubscriber >::m_subscribers
private

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