|  | Iguana 1.0.0
    Implementation Guardian of Analysis Algorithms | 
#include <ConcurrentParam.h>
a parameter that is not thread safe; used when iguana::GlobalConcurrencyModel is "single"
Definition at line 70 of file ConcurrentParam.h.
| Public Member Functions | |
| std::size_t | GetSize () const override | 
| bool | HasKey (concurrent_key_t const key) const override | 
| T const | Load (concurrent_key_t const key) const override | 
| access a stored value | |
| void | Save (T const &value, concurrent_key_t const key) override | 
| modify a value | |
| Public Member Functions inherited from iguana::ConcurrentParam< T > | |
| ConcurrentParam (std::string const &model) | |
| bool | IsEmpty () const | 
| bool | NeedsHashing () const | 
| whether or not hashing is needed to use this parameter | |
| Additional Inherited Members | |
| Protected Attributes inherited from iguana::ConcurrentParam< T > | |
| bool | m_empty {true} | 
| whether this ConcurrentParam has something saved | |
| std::mutex | m_mutex | 
| mutex for this ConcurrentParam | |
| bool | m_needs_hashing | 
| whether this ConcurrentParam needs hashing for calling ::Load or ::Save | |

| 
 | overridevirtual | 
Implements iguana::ConcurrentParam< T >.
| 
 | overridevirtual | 
| 
 | overridevirtual | 
access a stored value
| key | the access key | 
Implements iguana::ConcurrentParam< T >.
| 
 | overridevirtual |