Iguana 0.0.0
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
iguana::ConcurrentParamFactory Class Reference

#include <ConcurrentParam.h>

Detailed Description

factory to create the appropriate ConcurrentParam-derived class instance for the current GlobalConcurrencyModel

Definition at line 120 of file ConcurrentParam.h.

Static Public Member Functions

template<typename T >
static std::unique_ptr< ConcurrentParam< T > > Create ()
 create a new ConcurrentParam-derived class instance
 

Member Function Documentation

◆ Create()

template<typename T >
static std::unique_ptr< ConcurrentParam< T > > iguana::ConcurrentParamFactory::Create ( )
inlinestatic

create a new ConcurrentParam-derived class instance

Warning
if GlobalConcurrencyModel is not set, the model "memoize" will be chosen, since it is thread safe and does not assume anything about the user's implementation
Returns
a pointer to the new instance

Definition at line 130 of file ConcurrentParam.h.


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