CatapultServer  v0.5.0.1 (Elephant)
HandlerTypes.h File Reference
Include dependency graph for HandlerTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::handlers
 

Typedefs

template<typename TEntity >
using catapult::handlers::RangeHandler = consumer< model::AnnotatedEntityRange< TEntity > && >
 A handler for processing an annotated entity range. More...
 
using catapult::handlers::BlockRangeHandler = RangeHandler< model::Block >
 Prototype for a function that processes a range of blocks. More...
 
using catapult::handlers::TransactionRangeHandler = RangeHandler< model::Transaction >
 Prototype for a function that processes a range of transactions. More...
 
template<typename TIdentifier , typename TEntity >
using catapult::handlers::SharedPointerProducerFactory = std::function< supplier< std::shared_ptr< const TEntity > >(const model::EntityRange< TIdentifier > &)>
 Accepts a range and returns a producer that produces specified shared pointer elements. More...
 
template<typename TIdentifier , typename TEntity >
using catapult::handlers::RawPointerProducerFactory = std::function< supplier< const TEntity * >(const model::EntityRange< TIdentifier > &)>
 Accepts a range and returns a producer that produces specified raw pointer elements. More...