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

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::extensions
 

Functions

template<typename TFunc >
void catapult::extensions::SetOnce (TFunc &dest, const TFunc &source)
 Sets dest to source if and only if dest is unset. More...
 
template<typename TFunc >
const TFunc & catapult::extensions::Require (const TFunc &func)
 Returns func if and only if it is set. More...
 
template<typename TConsumer >
TConsumer catapult::extensions::AggregateConsumers (const std::vector< TConsumer > &consumers)
 Aggregates multiple consumers into a single consumer. More...