CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace handlers {
28 template<
typename TEntity>
38 template<
typename TIdentifier,
typename TEntity>
42 template<
typename TIdentifier,
typename TEntity>
consumer< model::AnnotatedEntityRange< TEntity > && > RangeHandler
A handler for processing an annotated entity range.
Definition: HandlerTypes.h:29
std::function< supplier< std::shared_ptr< const TEntity > >(const model::EntityRange< TIdentifier > &)> SharedPointerProducerFactory
Accepts a range and returns a producer that produces specified shared pointer elements.
Definition: HandlerTypes.h:39
Represents a range of entities.
Definition: EntityRange.h:31
RangeHandler< model::Block > BlockRangeHandler
Prototype for a function that processes a range of blocks.
Definition: HandlerTypes.h:32
RangeHandler< model::Transaction > TransactionRangeHandler
Prototype for a function that processes a range of transactions.
Definition: HandlerTypes.h:35
std::function< supplier< const TEntity * >(const model::EntityRange< TIdentifier > &)> RawPointerProducerFactory
Accepts a range and returns a producer that produces specified raw pointer elements.
Definition: HandlerTypes.h:43
Definition: AddressExtractionExtension.cpp:28
std::function< void(TArgs...)> consumer
A consumer function.
Definition: functions.h:35