Resilient
Public Member Functions | List of all members
resilient::retry::ReferenceState< RetryState > Class Template Reference

Factory which returns references to the same state. More...

#include <referencestate.hpp>

Public Member Functions

 ReferenceState (RetryState &state)
 Construct a new ReferenceState. More...
 
template<typename Failure >
RetryState & getRetryState (retriedtask_failure< Failure >)
 
void returnRetryState (RetryState &)
 

Detailed Description

template<typename RetryState>
class resilient::retry::ReferenceState< RetryState >

Factory which returns references to the same state.

Note
Implements the RetryStateFactory concept.
Template Parameters
RetryStateThe state to copy

Constructor & Destructor Documentation

template<typename RetryState >
resilient::retry::ReferenceState< RetryState >::ReferenceState ( RetryState &  state)
inline

Construct a new ReferenceState.

Parameters
stateThe state that will be referenced

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