CatapultServer  v0.5.0.1 (Elephant)
catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber > Class Template Reference

Aggregate state change subscriber. More...

Inheritance diagram for catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >:
Collaboration diagram for catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >:

Public Member Functions

void notifyScoreChange (const model::ChainScore &chainScore) override
 Indicates chain score was changed to chainScore. More...
 
void notifyStateChange (const StateChangeInfo &stateChangeInfo) override
 Indicates state was changed with change information in stateChangeInfo. More...
 
- Public Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TStateChangeSubscriber >
 BasicAggregateSubscriber (std::vector< std::unique_ptr< TStateChangeSubscriber >> &&subscribers)
 Creates an aggregate subscriber around subscribers. More...
 
- Public Member Functions inherited from catapult::subscribers::StateChangeSubscriber
virtual ~StateChangeSubscriber ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::subscribers::BasicAggregateSubscriber< TStateChangeSubscriber >
void forEach (TAction action) const
 

Detailed Description

template<typename TStateChangeSubscriber = StateChangeSubscriber>
class catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >

Aggregate state change subscriber.

Member Function Documentation

◆ notifyScoreChange()

template<typename TStateChangeSubscriber = StateChangeSubscriber>
void catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >::notifyScoreChange ( const model::ChainScore chainScore)
inlineoverridevirtual

Indicates chain score was changed to chainScore.

Implements catapult::subscribers::StateChangeSubscriber.

Here is the call graph for this function:

◆ notifyStateChange()

template<typename TStateChangeSubscriber = StateChangeSubscriber>
void catapult::subscribers::AggregateStateChangeSubscriber< TStateChangeSubscriber >::notifyStateChange ( const StateChangeInfo stateChangeInfo)
inlineoverridevirtual

Indicates state was changed with change information in stateChangeInfo.

Implements catapult::subscribers::StateChangeSubscriber.

Here is the call graph for this function:

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