ReplacingRefreshDeferrerAccumulator

template<class T>
class ReplacingRefreshDeferrerAccumulator : public RefreshDeferrerAccumulator

Accumulator which simply replaces the current value by an incoming new one.

This accumulator takes the ownership of all params passed to it and deletes them automatically if not needed anymore!

Template Parameters:

T – The type of the param to store

Public Functions

inline explicit ReplacingRefreshDeferrerAccumulator(bool replaceIfNull = true)
Parameters:

Determines – whether, if nullptr is passed, the current value should be replaced or kept.

inline ~ReplacingRefreshDeferrerAccumulator() override